我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ?591 No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ?591 No No No

1. Prior to version 59, the pending status was reported by a "pending" value returned from Animation.playState.

See also

文档标签和贡献者

此页面的贡献者: fscholz, birtles, jpmedley
最后编辑者: fscholz,