HTML DOM AnimationEvent
The AnimationEvent Object
Events that occur when a CSS animation runs, belongs to the AnimationEvent Object.
AnimationEvent Properties and Methods
Property/Method | Description |
---|---|
animationName | Returns the name of the animation |
elapsedTime | Returns the number of seconds an animation has been running |
pseudoElement | Returns the name of the pseudo-element of the animation |
Inherited Properties and Methods
The AnimationEvent inherits all the properties and methods from:
Event Types
These event types belongs to the AnimationEvent Object:
Event | Description |
---|---|
animationend | The event occurs when a CSS animation has completed |
animationiteration | The event occurs when a CSS animation is repeated |
animationstart | The event occurs when a CSS animation has started |