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

Add restart example to the docs. #21

Closed
caike opened this issue Aug 26, 2016 · 1 comment
Closed

Add restart example to the docs. #21

caike opened this issue Aug 26, 2016 · 1 comment
Assignees
Labels

Comments

@caike
Copy link
Owner

caike commented Aug 26, 2016

Add example showing how to restart the timer from the onComplete function and with a new value for timeout. Mention the .attr() method will not work and we must use the .data() method instead. See #20

@caike caike self-assigned this Aug 26, 2016
@caike caike added the docs label Aug 26, 2016
@caike
Copy link
Owner Author

caike commented Aug 31, 2016

Turns out it doesn't actually work as reported in #20 . There's a lot of small gotchas and since this is an edge case, I'll close it for now. The "hack" version I posted on #20 is still valid, though. If more people report the need for this feature then I'll revisit a public API.

@caike caike closed this as completed Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant