| Author: | rednez |
|---|---|
| Official Page: | Go to website |
| Publish Date: | June 15, 2018 |
| License: | MIT |
Description:
A service for Angular 6 to detect and control of user’s idle.
Logic:
- The library is waiting for a user’s inactive for x minutes.
- If inactive are detected then onTimerStart() is fired and returning a countdown for x minutes.
- If a user did not stop the timer by stopTimer() then time is up after x minutes and onTimeout() is fire.
Installation:
# NPM $ npm install angular-user-idle --save