TransitionEventインターフェイス
TransitionEventインターフェイスは、CSSが変化することで発生するイベントに関するインターフェイスです。
Eventインターフェイスを継承していますので、EventインターフェイスのPropertyとMethod、Eventタイプが使えます。
TransitionEvent継承図
Properties
Example Syntax
var bubbles_value = TransitionEvent.bubbles;
Property | |
elapsedTime | CSSアニメーションが実行された秒数 |
propertyName | |
pseudoElement | |
TransitionEvent Types
TransitionEventタイプはエレメントに設定してwebページで起こるイベントを捉えます。
Example Syntax
object.onabort = function(){script_or_function};
TransitionEvent type | |
animationend | CSSアニメーションの実行が完了したら |
animationiteration | CSSアニメーションが繰り返し実行されたら |
animationstart | CSSアニメーションの実行が始まったら |