Plays a timeline forwards.
Plays a timeline that is not at its end in the forward
direction and sets the hidden
property
of the animated elements to false
.
function play(): TimeLine;
import wixAnimationsFrontend from "wix-animations-frontend";
let timeline = wixAnimationsFrontend.timeline();
// ...
timeline.play();
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.