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 |