CSS
animation-play-state: value;
JS
object.style.animationPlayState = "value";
Values
<'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.
Initial
paused
running
JS
Internal
External