With Idle, you can monitor whether a user is active or inactive in your application.
This is achieved by tracking keyboard and mouse events within the window. You can set a specified inactivity time, after which the userinactive
style is applied to the BODY
element. Additionally, an optional event can be sent to the server-side component.
Try the add-on demo at idle-demo.fly.dev
In the demo you can see CSS color changes applied immediately and text changed on server-side listeners.
The issues for this add-on are tracked on github.com issues page. All bug reports and feature requests are appreciated.
Contributions are welcome, but there are no guarantees that they are accepted as such. Process for contributing is the following:
Add-on is distributed under Apache License 2.0. For license terms, see LICENSE.