How to reset countup js?
lreiner opened this issue · comments
Hi I have a small issue. How can I reset count up js?
At the moment I just use html to use count up js and pass options to it. Like this:
<h1 id=“exampleID“ [countUp]="myEndVal" [options]="myOpts">0</h1>
But how can I reset it all to zero? StartVal, EndVal etc.?
Set myEndVal
to zero - that's it.
closing, but if this didn't answer your question, feel free to chime in