• Initializes particles.js compatibility to the given engine

    Parameters

    • engine: Engine

      the engine that requires particles.js compatibility

    Returns {
        Particles: typeof Particles;
        pJSDom: Container[];
        particlesJS: IParticlesJS;
    }

    the particles.js compatibility object

    • Particles: typeof Particles

      Deprecated

      this method is obsolete, please use the new tsParticles.load The particles.js compatibility object

    • pJSDom: Container[]

      Deprecated

      this method is obsolete, please use the new tsParticles.dom The particles.js compatibility dom array

    • particlesJS: IParticlesJS

      Deprecated

      this method is obsolete, please use the new tsParticles.load The particles.js compatibility instance