Search...
stop( )
Stops the playback.
Description
The stop()
function stops the current playback and
moves to the beginning of the animation.
Syntax
function stop(): void
stop Parameters
This function does not take any parameters.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
Stop playback
Copy Code
1$w('#myLottie').stop();