Class type Goog.​Ui.​idleTimer

class type idleTimer = object..end

Inherits


method disposeInternal : unit Js.meth
method getActivityMonitor : activityMonitor Js.t Js.meth

Returns the activity monitor keeping track of user interaction.

method getIdleThreshold : float Js.t Js.meth

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

method isIdle : bool Js.t Js.meth

Returns true if there has been no user action for at least the specified interval, and false otherwise Returns true if the user is idle, false otherwise.