- path
Either a URL or local file path (see Note).
- name
A character string specifying the name to give to the animation.
- loop
Logical indicating whether the animation should loop.
- autoplay
Logical indicating whether the animation should autoplay.
- renderer
The renderer to use for the animation, either "svg", "canvas", or "html".
- width
The width of the animation container. This is validated using validateCssUnit.
- height
The height of the animation container. This is validated using validateCssUnit.
- ...
Additional animation options, including:
speed
A numeric specifying the desired animation speed.
direction
Either 1 for forward playback or -1 for reverse playback.
setSubFrame
A logical value specifying whether a 'Lottie' animation should loop (TRUE) or not (FALSE).
playSegments
A numeric vector or list of numeric vectors indicating the segment(s) to be played.
forceFlag
Logical value indicating whether to force the animation to play the specified segments immediately (TRUE) or wait until the current animation completes (FALSE).