Class type Goog.Ui.activityMonitor
class type activityMonitor = object..end
Inherits
method disposeInternal : unit Js.meth
method getIdleTime : float Js.opt -> float Js.t Js.meth
Returns the amount of time the user has been idle.
Returns The amount of time in ms that the user has been idle.
method getLastEventTime : float Js.t Js.meth
Returns the time of the last event
Returns last event time.
method getLastEventType : Js.js_string Js.t Js.meth
Returns the type of the last user event.
Returns event type.
method resetTimer : unit Js.meth
Updates the last event time to be the present time, useful for non-DOM events that should update idle time.
