anvaka / panzoom

Universal pan and zoom library (DOM, SVG, Custom)

Home Page:https://anvaka.github.io/panzoom/demo/attach-via-script.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brake/destroy pan animation

xsshello opened this issue · comments

I need to be able to interrupt the animation of a dynamic throwing of an object, so as not to wait for it to reach the place/animation.

How can i do it?

Destroy via instance.moveTo(0, 0); might be a good idea :)