OptionalidOrOptions: string | RecursivePartial<IFireworkOptions>
OptionalsourceOptions: RecursivePartial<IFireworkOptions>
the animation configuration if an id is provided
the loaded instance
Creates a fireworks animation on the given canvas
Optionalcanvas: HTMLCanvasElement | null
The canvas
Optionaloptions: RecursivePartial<IFireworkOptions>
The options to handle
A promise
Initializes the fireworks plugins without creating an animation
the id used for displaying the animation, or the animation configuration if an id is not necessary