This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.
The read-only Animation.pending property of the Web Animations API indicates whether the animation is currently waiting for an asynchronous operation such as initiating playback or pausing a running animation.
true if the animation is pending, false otherwise.
| Specification |
|---|
| Web Animations> # dom-animation-pending> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
pending |
76 | 79 | 59Before version 59, the pending status was reported by a"pending" value returned from Animation.playState. |
63 | 13.1 | 76 | 59Before version 59, the pending status was reported by a"pending" value returned from Animation.playState. |
54 | 13.4 | 12.0 | 76 | 13.4 |
Animation for other methods and properties you can use to control web page animation.
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending