Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. Animation
  4. replaceState

Animation: replaceState property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2020.

The read-onlyAnimation.replaceState property of theWeb Animations API indicates whether the animation has beenremoved by the browser automatically after being replaced by another animation.

Value

A string that represents the replace state of the animation. The value can be one of:

active

The initial value of the animation's replace state when the animation is created.

persisted

The animation has been explicitly persisted by invokingAnimation.persist() on it.

removed

The animation has been removed by the browser automatically.

Specifications

Specification
Web Animations
# dom-animation-replacestate

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp