OptionalidOrOptions: string | RecursivePartial<IParticlesOptions>
The id or options for the animation
OptionalsourceOptions: RecursivePartial<IParticlesOptions>
The animation options when providing an id
The particles instance
Creates a particles animation on the given canvas
Optionalcanvas: HTMLCanvasElement | null
The canvas
Optionaloptions: RecursivePartial<IParticlesOptions>
The options to handle
A promise
Initializes the particles plugins without creating an animation
Creates a particles animation