search

goog.ui.ActivityMonitor

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Once initialized with a document, the activity monitor can be queried for the current idle time.

new ActivityMonitor( opt_domHelper, opt_useBubble )

Parameters
opt_domHelper(goog.dom.DomHelper|Array<(goog.dom.DomHelper|null)>|null)=

DomHelper which contains the document(s) to listen to. If null, the default document is usedinstead.

opt_useBubbleboolean=

Whether to use the bubble phase to listen for events. By default listens on the capture phase so that it won't miss events that get stopPropagation/cancelBubble'd. However, this can cause problems in IE8 if the page loads multiple scripts that include the closure event handling code.

Instance Methods

Instance Properties

Static Properties

Enumerations