DotLottiePlugin
DotLottiePluginOptions
Run in parallel or not.
Methods
Sets the DotLottie context to the plugin.
Abstract method that is called by the DotLottie
class. This is where your plugin needs to implement its logic.
Creating a custom plugin
- Create your plugin class
- Implement your
onBuild(): Promise<void>
method - Don’t forget to add your plugin to your
DotLottie
instance