目录

HTML DOM AnimationEvent

❮ DOM 事件 ❮ 事件对象


动画事件对象

AnimationEvent 对象处理 CSS 动画运行时发生的事件。

动画活动

Event Occurs When
animationend A CSS animation has completed
animationiteration A CSS animation is repeated
animationstart A CSS animation has started

动画事件属性

Property Returns
animationName The name of an animation
elapsedTime The number of seconds an animation has been running
pseudoElement The name of the pseudo-element of the animation

继承的属性和方法

AnimationEvent 继承了以下所有属性和方法:

事件对象


❮ DOM 事件 ❮ 事件对象