You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, when it gets to the $timer.start() call, I get the following: "[vue-timers.start] Cannot find timer tal-cs-tier1-callsInbound". The console.log(this.timers)shows that the timer object exists. I have tired both object notation and array.
The text was updated successfully, but these errors were encountered:
Okay, it seems the issue is with the callback. I can only get it to work if the method has the same name as the timer. Is there any way around this.
My use case is: I pass in a collection of jobs, so I want to dynamically create a timer for each job, with its own name, and then use a common method as a callback. Is this possible?
I am trying to create a number of dynamic timers in the
mounted
lifecycle event of a component:But, when it gets to the
$timer.start()
call, I get the following: "[vue-timers.start] Cannot find timer tal-cs-tier1-callsInbound". Theconsole.log(this.timers)
shows that the timer object exists. I have tired both object notation and array.The text was updated successfully, but these errors were encountered: