Search.../

play( )

Begins or resumes playback.

Description

The play() function plays the current Lottie animation.

Syntax

function play(): void

play Parameters

This function does not take any parameters.

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

Begin or resume playback

Copy Code
1$w('#myLottie').play();