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 继承了以下所有属性和方法:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!