AnimationEvent animationName Property in JavaScript
AnimationEvent animationName Property in JavaScript
The animationName property is used to return name of animation when an animation event occurs. It is a read-only property and the actual value of the animation-name CSS property.
Syntax:-
Its syntax is:- event.animationName
Return:-
Its return is:- string containing name of the animation