Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seanoshea/dojo-idle-listener

dojo implementation of an idle listener
https://github.com/seanoshea/dojo-idle-listener

Last synced: 22 days ago
JSON representation

dojo implementation of an idle listener

Awesome Lists containing this project

README

        

var idleListener = new IdleListener();
idleListener.start(30000);

dojo.subscribe("idle", function() {
// on idle event handler
});
dojo.subscribe("active", function() {
// on active event handler
});