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.
Animation for other methods and properties you can use to control web page animation.