Web Component: j-IdleTime
j-IdleTime
This component emits event ON('idletime', function(is) {})
when the website is in idle. It reacts on mouse, keyboard, touch events or focusing of window. And the component sets Boolean
according to the path with the current idle state.
- jComponent
v19|v20
Configuration:
count
{Number}
in seconds, default:300
5 minutes)
Events:
ON('idletime', function(is))
is emitted if the document is idle (is=true
) / active (is=false
)ON('reload', function() {})
is emitted if the document is transformed from invisible to visible state withinconfig.count
interval
Author
- Peter Širka petersirka@gmail.com
- License
Created
11. february 2021
Updated
18. june 2024
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com