Blazorise Lottie Animation API

Explore the Blazorise Lottie Animation API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Lottie Animation documentation.

API

Parameters

ParameterDefaultType
CurrentFrame0double

Current playback frame
DirectionForwardLottieAnimationDirection

Animation playback direction
Possible values:ForwardBackward
LooptrueLoopConfiguration

Whether or not the animation should loop, or a number of times the animation should loop.
Path—string

Relative or absolute path to the animation object
Pausedfalsebool

Whether or not the animation is paused
RendererSvgLottieAnimationRenderer

Renderer to use
Possible values:SvgCanvasHtml
Speed1.0double

Animation playback speed

Events

EventType
CompletedEventCallback

Called when the animation completes
CurrentFrameChangedEventCallback<double>

Called when the current frame changes Warning: This event is triggered extremely frequently. Subscribing to this event can cause a significant increase in the amount of messages sent over the websocket if using Blazor Server.
LoadedEventCallback<LottieAnimationLoadedEventArgs>

Notifies when the PDF document finishes loading.
LoopCompletedEventCallback

Called when a loop completes
On this page