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.
Syntax
var pending = Animation.pending;
Value
true
if the animation is pending, false
otherwise.
Specifications
Specification | Status | Comment |
---|---|---|
Web Animations The definition of 'pending' in that specification. |
Working Draft |
Browser compatibility
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
.
See also
Animation
for other methods and properties you can use to control web page animation.- Web Animations API