finish
Summary
Seeks the player to the end of the source content in the current direction by running the finish a player procedure for this object.
Method of apis/web animations/AnimationPlayerapis/web animations/AnimationPlayer
Syntax
AnimationPlayer.finish();
Return Value
No return value
Usage
Exceptions:
DOMException of type InvalidStateError Raised if the end time of this player’s source content is infinity and the player playback rate is > zero.