search

goog.ui.IdleTimer

Provided By
Extends
All Implemented Interfaces

Event target that will give notification of state changes between active and idle. This class is designed to require few resources while the user is active.

new IdleTimer( idleThreshold, opt_activityMonitor )

Parameters
idleThresholdnumber

Amount of time in ms at which we consider the user has gone idle.

opt_activityMonitor(goog.ui.ActivityMonitor|null)=

The activity monitor keeping track of user interaction. Defaults to a default-constructed activity monitor. If a default activity monitor is used then this class will dispose of it. If an activity monitor is passed in then the caller remains responsible for disposing of it.

Instance Methods

Instance Properties

Enumerations