DOM

AnimationEffect インターフェイス

 編集:2022.10.24 by T.A.

[Edge]。→

Web Animations API のインターフェイス。KeyframeEffect などの現在および将来のアニメーション効果を定義します。

再生のために Animation オブジェクトに渡すことができ、および KeyframeEffect(CSS アニメーションとトランジションで使用されます)を。

インスタンス メソッド
AnimationEffect.getComputedTiming()
AnimationEffect の計算されたタイミング プロパティをオブジェクトで返します。
AnimationEffect.getTiming()
AnimationEffect のタイミング プロパティを含むオブジェクトを返します。
AnimationEffect.updateTiming()
AnimationEffect の指定されたタイミング プロパティを更新します。

テスト