soixantecircuits / idle-vue

Vue component wrapper for idle-js
MIT License
125 stars 40 forks source link

Error: 'idleVue_onIdle' of undefined #31

Closed piyushbeli closed 5 years ago

piyushbeli commented 5 years ago

I am using the latest version of the module.

This is how I am installing the module. I do not want to emit the event to all the component so I am omitting the eventHandler here. Vue.use(IdleVue, { store, idleTime: 1*60*60*1000 });

I would expect that idleVue_onIdle event will not be called. But, in the console for each component, I am getting this error. Please see the screenshot here. image

Just for the side note, I am able to watch the store property "isAppIdle" and it's working as expected. But, this console is making the things dirty.

Many thanks Piyush

gabrielstuff commented 5 years ago

Hello! A bit late. If you can share a codepen or a full example, it could be better to help solves the issue.

piyushbeli commented 5 years ago

@gabrielstuff , somehow this issue is not reproducible in our system at this time. It actually got fixed before many months. That might not be the module issue but our code issue but I do not remember what did we do to fix that.

Thanks for replying. I am closing this issue.