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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

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