How do I stop:Utils.interval 1, -> timeStart = timeStart + 1 timer.html = timeStart + "s"I'm trying to animate a timer with record button that should stop after a second CLICK
...or if you have a better way.... let me know
Hey Noam, you can clear the interval set by Utils.interval. For example, to clear it on click:
Utils.interval is based on setInterval(), which returns an interval ID, which can be cleared with clearInterval(). :)
Thanks. Been playing with it. exactly what I was looking for.