AnimationEffect
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.
AnimationEffect
はウェブアニメーション API のインターフェイスで、アニメーション効果を表すインターフェイスです。
AnimationEffect
は抽象インターフェイスなので、直接インスタンス化することはできません。しかし、 KeyframeEffect
のような具体的なインターフェイスはこれを継承しており、これらのインターフェイスのインスタンスは Animation
オブジェクトに渡して再生することができますし、 CSS アニメーションやトランジションでも使うことができます。
インスタンスメソッド
AnimationEffect.getTiming()
-
アニメーションのすべてのタイミング値を含む、アニメーションに関連付けられたオブジェクトを返します。
AnimationEffect.getComputedTiming()
-
この
AnimationEffect
のタイミングプロパティの計算値を返します。 AnimationEffect.updateTiming()
-
この
AnimationEffect
のタイミングプロパティの指定値を更新します。
仕様書
Specification |
---|
Web Animations # the-animationeffect-interface |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AnimationEffect | ||||||||||||
getComputedTiming | ||||||||||||
getTiming | ||||||||||||
updateTiming |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Uses a non-standard name.
- Has more compatibility info.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.