The container instances
The engine version
Adds a listener to the specified event
The event to listen to
The listener of the specified event
Checks if a plugin version matches the engine version
Dispatches an event that will be listened from listeners
The event to dispatch
Optionalargs: CustomEventArgsThe event parameters
init method, used by imports
Loads the provided options to create a Container object.
The particles container params ILoadParams object
A Promise with the Container object created
Reloads all existing tsParticles loaded instances
should refresh the dom after reloading
Removes a listener from the specified event
The event to stop listening to
The listener of the specified event
Engine class for creating the singleton on globalThis. It's a singleton class for initializing Container instances, and for Plugins class responsible for every external feature