0

If angular application is not touched(mobile browser) or clicked for particular seconds, it should through a alert.
Can anyone help on this?

Ranjith
  • 125
  • 1
  • 7
  • Take a look at this SO question; http://stackoverflow.com/questions/9564602/how-to-know-browser-idle-time – Guinn Aug 25 '15 at 10:26

1 Answers1

1

Best way, if You use Angular js, is to use Ng-Idle.

Source with demoes and git repo: http://hackedbychinese.github.io/ng-idle/

dev_in_progress
  • 2,484
  • 2
  • 21
  • 32