User’s Idle Service For Angular 6+

Author: rednez
Publish Date:
Official Page: Go to website
Views Total: 298
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

Preview:

User's Idle Service For Angular 6+-min

Tags:

Leave a Reply