Search.../

loop

Sets or gets whether the Lottie animation plays in a loop.

Type:

booleanRead & Write, default value is true

Was this helpful?

Get whether the lottie animation plays in a loop

Copy Code
1let checkIfLooping = $w('#myLottie').loop; // false
Set the lottie animation to play in a loop

Copy Code
1$w('#myLottie').loop = false;