HTML DOM AnimationEvent
The AnimationEvent Object
The AnimationEvent Object handles events that occur when a CSS animation runs.
Animation Events
| Event | Occurs When |
|---|---|
| animationend | A CSS animation has completed |
| animationiteration | A CSS animation is repeated |
| animationstart | A CSS animation has started |
AnimationEvent Properties
| Property | Returns |
|---|---|
| animationName | The name of an animation |
| elapsedTime | The number of seconds an animation has been running |
| pseudoElement | The name of the pseudo-element of the animation |
Inherited Properties and Methods
The AnimationEvent inherits all the properties and methods from: