pause( )


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.

Method Declaration
Copy
function pause(): TimeLine;
Request
This method does not take any parameters
Returns
Return Type:TimeLine
JavaScript
import wixAnimationsFrontend from "wix-animations-frontend"; let timeline = wixAnimationsFrontend.timeline(); // ... timeline.pause();
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?