-
Notifications
You must be signed in to change notification settings - Fork 121
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
Tearing down the javascript #40
Comments
For anyone looking for this in future, here's how you can do it. // Clear FlipDown's internal interval
clearInterval(flipdown.countdown);
// Remove all generated elements inside the FlipDown container
document.getElementById("flipdown").replaceChildren(); After doing this, you can construct a new instance of FlipDown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, what's the best way to tear down a flipdown instance? I don't see a function that does so.
The text was updated successfully, but these errors were encountered: