This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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.
var pending = Animation.pending;
true
if the animation is pending, false
otherwise.
Specification | Status | Comment |
---|---|---|
Web Animations The definition of 'pending' in that specification. | Working Draft |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | No support | 59 (59)[1] | No support | No support | No support |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | No support | No support | 59.0 (59)[1] | No support | No support | No support |
[1] Prior to version 59, the pending status was reported by a "pending"
value returned from Animation.playState
.
Animation
for other methods and properties you can use to control web page animation.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending