HTML DOM AnimationEvent
❮ Události DOM ❮ Objekty událostí
Objekt AnimationEvent
Události, ke kterým dojde při spuštění animace CSS, patří do objektu AnimationEvent.
Vlastnosti a metody 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 |
Dědičné vlastnosti a metody
AnimationEvent zdědí všechny vlastnosti a metody z:
Typy událostí
Tyto typy událostí patří do objektu 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 |
❮ Události DOM ❮ Objekty událostí