Événement d' animation HTML DOM
❮ Événements DOM ❮ Objets d'événement
L'objet AnimationEvent
Les événements qui se produisent lors de l'exécution d'une animation CSS appartiennent à l'objet AnimationEvent.
Propriétés et méthodes AnimationEvent
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 |
Propriétés et méthodes héritées
L'AnimationEvent hérite de toutes les propriétés et méthodes de :
Types d'événements
Ces types d'événements appartiennent à l'objet AnimationEvent :
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 |
❮ Événements DOM ❮ Objets d'événement