HTML DOM Animatie Evenement
❮ DOM-evenementen ❮ Gebeurtenisobjecten
Het AnimatieEvent-object
Gebeurtenissen die optreden wanneer een CSS-animatie wordt uitgevoerd, behoren tot het AnimationEvent Object.
AnimationEvent-eigenschappen en -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 |
Overerfde eigenschappen en methoden
Het AnimationEvent erft alle eigenschappen en methoden van:
Evenementtypes
Deze gebeurtenistypen horen bij het 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 |
❮ DOM-evenementen ❮ Gebeurtenisobjecten