vivus
vivus copied to clipboard
Animate fill hack and data-duration
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>
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,