HTML DOM AnimationEvent
❮ DOM-geleenthede ❮ Gebeurtenisvoorwerpe
Die AnimationEvent Object
Gebeurtenisse wat plaasvind wanneer 'n CSS-animasie loop, behoort aan die AnimationEvent Object.
AnimationEvent-eienskappe en -metodes
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 |
Oorgeërfde eienskappe en metodes
Die AnimationEvent erf al die eienskappe en metodes van:
Gebeurtenis tipes
Hierdie gebeurtenistipes behoort aan die 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-geleenthede ❮ Gebeurtenisvoorwerpe