angularjs - How to write global event(touch/click) handler in angular application? -


if angular application not touched(mobile browser) or clicked particular seconds, should through alert.
can on this?

best way, if use angular js, use ng-idle.

source demoes , git repo: http://hackedbychinese.github.io/ng-idle/


Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -