svgdotjs / svg.js

The lightweight library for manipulating and animating SVG
https://svgjs.dev
Other
10.95k stars 1.07k forks source link

how to stop single animation? #1283

Closed echolove38 closed 1 year ago

echolove38 commented 1 year ago

I have two action, one loop fill and another loop position. how to stop the loop fill action, and restore the rect's original fill? and, is there any way to set different animate duration for each action ? https://codepen.io/echolove38/pen/jOxoQpK