animation-play-state: value;
object.style.animationPlayState = "value";
<'animation-play-state'> = <single-animation-play-state>#
<single-animation-play-state> = running | paused
running
The animation proceeds as normal.
paused
The animation is paused. It restarts from where it left off.