HTML DOM AnimationEvent
❮ События ДОМ ❮ Объекты событий
Объект AnimationEvent
События, происходящие при запуске CSS-анимации, относятся к объекту AnimationEvent.
Свойства и методы 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 |
Унаследованные свойства и методы
AnimationEvent наследует все свойства и методы от:
Типы событий
Эти типы событий относятся к объекту 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 |
❮ События ДОМ ❮ Объекты событий