HTML-DOM- Animationsereignis
❮ DOM-Ereignisse ❮ Ereignisobjekte
Das AnimationEvent-Objekt
Ereignisse, die auftreten, wenn eine CSS-Animation ausgeführt wird, gehören zum AnimationEvent-Objekt.
AnimationEvent-Eigenschaften und -Methoden
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 |
Vererbte Eigenschaften und Methoden
Das AnimationEvent erbt alle Eigenschaften und Methoden von:
Ereignistypen
Diese Ereignistypen gehören zum AnimationEvent-Objekt:
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 |
❮ DOM-Ereignisse ❮ Ereignisobjekte