Last updated
Was this helpful?
Last updated
Was this helpful?
Function
onIdle
triggers when user is idle
Optional
Function
onActive
triggers when user is active
Optional
Function
onHide
triggers when window is hidden
Optional
Function
onShow
triggers when window is shown
Optional
String
events
string of events that will reset idle time (default : 'mousemove keydown mousedown touchstart')
Optional
Number
idle
idle time in ms before activating trigger, default: 60000
Optional
Boolean
keepTracking
set to false if we only want to track the first time (true by default)
Optional
Boolean
startAtIdle
if you want to start at idle, set to true
Optional
Boolean
recurIdleCall
use setInterval versus timeout, by default uses setTimeout
Optional