chrisbateman / impetus

Agnostic utility for adding momentum to anything. It's like iScroll, except not for scrolling. Supports mouse and touch events.
chrisbateman.github.io/impetus
MIT License
487 stars 70 forks source link

destroy method stops any stray animation #31

Open rhysburnie opened 7 years ago

rhysburnie commented 7 years ago

destroy method stops any stray animation loop that can remain on element removal in some situations.