Releases: tuenti/activity-detector
Releases · tuenti/activity-detector
Review mouseover behavior
Main change:
From this release, the activityDetector does not transition form 'idle' to 'active' on 'mouseover' event.
To make this configurable, the new version includes a new config param:
ignoredEventsWhenIdle: list of events to ignore in idle state. By default:['mousemove']
This is a blacklist of event which don't make the activityDetector transition back to 'active' from 'idle'.
Other changes:
Event listeners aren't executed in different tasks (with setTimeout(listener, 0) anymore). Now all the listeners are executed synchronously.
Added umd build
Now you can use activity-detectory without npm.
Just import or download the script from:
https://npmcdn.com/activity-detector/dist/activity-detector.min.js
First release
v1.0.0 remove old node versions from travis ci