You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some trouble with the animate fill hack. When using the hack with scenario and data-duration, the finished class is also delayed, and I can't control this delay.
JS new Vivus( 'back2', { type: 'scenario' }, function (obj) { obj.el.classList.add('finished'); } );
Hi @nreck
Could you provide the SVG you're using for this animation? Maybe you have a hidden path somewhere, or your <path> might be a bit complex causing some extra invisible animation.
Thanks,
I'm having some trouble with the animate fill hack. When using the hack with scenario and data-duration, the finished class is also delayed, and I can't control this delay.
JS
new Vivus( 'back2', { type: 'scenario' }, function (obj) { obj.el.classList.add('finished'); } );
HTML/SVG
<path data-duration="50" data-start="100"></path>
See example here
The text was updated successfully, but these errors were encountered: