Animation: replaceState プロパティ

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.

Animation.replaceStateウェブアニメーション API の読み取り専用プロパティで、アニメーションが別なアニメーションで置き換えられた後で、ブラウザーによって削除されたかどうかを示します。

アニメーションの遷移先の状態を表す文字列。値は以下のいずれかです。

active

アニメーションが作成されたときの、アニメーションの置き換える状態の初期値です。

persisted

アニメーションに Animation.persist() が呼び出されており、明示的に維持されています。

removed

アニメーションはブラウザーによって自動的に除去されています。

仕様書

Specification
Web Animations
# dom-animation-replacestate

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
replaceState

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報