Pauses a timeline.
Pauses a running timeline.
Note that when a timeline is created it is paused by default at the beginning of the timeline.
function pause(): TimeLine;
import wixAnimationsFrontend from "wix-animations-frontend";
let timeline = wixAnimationsFrontend.timeline();
// ...
timeline.pause();
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.