lottie_animation_methods | R Documentation |
These functions provide methods for modifying the playback options of existing 'Lottie' animations.
lottie_setSpeed
: Set the speed of the animation.
lottie_setDirection
: Set the direction of the animation.
lottie_setLoop
: Set whether the animation should loop.
lottie_goToAndStop
: Move to a specific frame or time and stop.
lottie_goToAndPlay
: Move to a specific frame or time and play.
lottie_playSegments
: Play specific segments of the animation.
lottie_setSubframe
: Set whether to use subframes when rendering the animation.
lottie_destroy
: Destroy the specified animation instance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.