AnimationEvent interface represents events providing information related to animations.
AnimationEventevent with the given parameters.
Also inherits properties from its parent
A string containing the value of the
animation-namethat generated the animation.
floatgiving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an
0.0unless there was a negative value for
animation-delay, in which case the event will be fired with
(-1 * delay).
A string, starting with
'::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string:
Inherits methods from its parent,
|CSS Animations Level 1 |
BCD tables only load in the browser
- Using CSS animations
- Animation-related CSS properties and at-rules: