• Loads the full bundle with all plugins needed for running the tsParticles package. This function must be called to make tsParticles work. This function is not mandatory, the plugins can be loaded manually, or using other plugin bundles. If this function is not called, the tsparticles package/dependency can be safely removed. This function is called automatically using CDN bundle files.

    Parameters

    • engine: Engine

      the engine to use for loading all plugins

    • refresh: boolean = true

    Returns Promise<void>