I'm using backbone.js event functions and I'm trying to reset the time circles to it's initial state and value , in case a certain function is called (basically by a button).
I can use the time circles functions [.start(), .stop() & .restart()] but none of those gives me the initial state (which is data-timer="60" seconds and "start" : false).
I've tried doing .restart() and right after .stop() but for some reason it shows the circle's time is 0.
I also tried .destroy() & .rebuild() but that didn't work either.
From what I've read in various forums, I understand what I'm trying to do is possible... but I couldn't succeed pulling it off. Maybe you could help? I'd appreciate it.
Hey again,
I'm using backbone.js event functions and I'm trying to reset the time circles to it's initial state and value , in case a certain function is called (basically by a button). I can use the time circles functions [.start(), .stop() & .restart()] but none of those gives me the initial state (which is data-timer="60" seconds and "start" : false). I've tried doing .restart() and right after .stop() but for some reason it shows the circle's time is 0. I also tried .destroy() & .rebuild() but that didn't work either.
From what I've read in various forums, I understand what I'm trying to do is possible... but I couldn't succeed pulling it off. Maybe you could help? I'd appreciate it.
Thank you.