Play on show
For a quick way to play your animation when it appears on screen.
play-on-show
Add the dotLottie player to the page
Argument | Type | Description |
---|---|---|
threshold | number[] | Visibility threshold needed to start playing the animation. For example [0.25] will start playing the animation when a quarter of the animation container is visible. |
Last updated