malekim / v-idle

A Vue.js plugin to detect idle/non-active users
https://malekim.github.io/v-idle/
MIT License
70 stars 8 forks source link

Add event for clearTimer #38

Closed deidyomega closed 7 months ago

deidyomega commented 7 months ago

We need to know when the timer was cleared (something happened).

The problem is, when the page is closed, the idle timer is destroyed, so when the page reopens, we dont know how long its been since they've been active. There are other use cases for this too.

https://github.com/malekim/v-idle/issues/31

deidyomega commented 7 months ago

Lastly, if you don't plan on updating this package, we use this at my company, and I'm happy to help with the outstanding issues if you'd like.