Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting the TimeCircle back to initial state with start: "false" #120

Open
PelegBN opened this issue Jul 21, 2016 · 0 comments
Open

setting the TimeCircle back to initial state with start: "false" #120

PelegBN opened this issue Jul 21, 2016 · 0 comments

Comments

@PelegBN
Copy link

PelegBN commented Jul 21, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant