The AnimationEvent Object handles events that occur when a CSS animation runs.
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 |
The AnimationEvent inherits all the properties and methods from:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!