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 |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | No | ? | 59
|
No | No | No |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | No | No | ? | 59
|
No | No | No |
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