• Loads the slime bundle with all plugins needed for running the tsParticles Slim package. This function must be called to make tsParticles Slim 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/slim 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>