-1

I use angular ng-idle, (core and keepalive) and I want to detect when user is active.
I search but cannot find any documentation that tell me when each ng-idle event occurs.
I can see examples of how to catch user inactivity,
But I want to catch the exact opposite - the times that the user performs actions, and then reset my timers.

How can I do it using ng-idle?
Which event can I use?

Thank you.

banana
  • 1,186
  • 4
  • 14
  • 26

1 Answers1

0

Finally I did some debugging and found the answer myself:
The onInterrupt event occurs in every user activity,
So this is the right event.

banana
  • 1,186
  • 4
  • 14
  • 26