Can the idleTime be set after initialisation?
Opened this issue · 3 comments
It would be great to be able to change the ideTime option that you can set initially in the options. In my case, I have users that want to be able to configure the idle time-out of modals. For this, the timeout setting is stored in localStorage, and I've got it fetching from there to set on the idleTime option, but I can't see a way of setting it after the initial app load. Only solution I could think of so far is to force a refresh, but I'm reluctant to do that as I believe it's bad practice in SPAs. Appreciate the help!
Seems like it is not going to be merged somewhere soon, it would be great if anyone has a solution for this and would be willing to share how they did it.
HI there 👋 ! I wish you all the best for 2022. Thanks for keeping the project alive.
I know it has been a long time and I should have take the time to merge these pull request earlier.
I wanted to first clean idle-js
dependency and then start working on idle-vue
.
The work on idle-js
has started and I plan to release the patch tomorrow.
For Idle-vue, there are actually many issues because:
- vue3 has been released
- dependencies are not up to date
- dev stack is not up to date
- bugs have to fixed :)
Ok, back to code, hopping to give you more info tomorrow
Thanks again