This is the core class, create an instance to have a new working particles manager
the engine used by container
the id to identify this instance
OptionalsourceOptions: RecursivePartial<IOptions>the options to load
The options loaded by the container, it's a full Options object
ReadonlycanvasCanvas object, in charge of the canvas element and drawing functions
Check if the particles' container is destroyed, if so it's not recommended using it
The container fps limit, coming from options
The container hdr support flag
ReadonlyidThe container check if it's hidden on the web page
ReadonlyparticleReadonlyparticleReadonlyparticleReadonlyparticlesThe particles manager
ReadonlypluginsAll the plugins used by the container
ReadonlyretinaCheck if the particles container is started
Gets the animation status
true is playing, false is paused
The options that were initially passed to the container
the source options passed to the container
Destroys the current container, invalidating it
if true, removes the container from the engine
Draws a frame
Initializes the container
Pauses animations
Starts animations and resume from pause
Optionalforce: booleanRestarts the container, just a Container.stop/Container.start alias
the Promise of the start method
OptionalsourceOptions: RecursivePartial<IOptions>Starts the container, initializes what are needed to create animations and event handling
Stops the container, opposite to start. Clears some resources and stops events.
Updates the container options
true if the options were updated, false otherwise
The object loaded into an HTML element, it'll contain options loaded and all data to let everything working [[include:Container.md]]