javascript - Check when an animation has ended in SVG -


i starting animation in svg , when ends want know can execute function. i've tried endevent="endanimate()" nothing happend. it's possible check when animation has ended , if so, can call function?

according documentation, animation elements have onend event can use.

animation event attribute

an animation event attribute event attribute specifies script run particular animation-related event. see animation event attributes. animation event attributes ‘onbegin’, ‘onend’, ‘onload’ , ‘onrepeat’.

so, if want attach animation element can use onend="endanimate()"


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -