• Loads the provided json with a GET request. The content will be used to create a Container object.

    Parameters

    • tagId: string

      the particles container element id

    • pathConfigJson: string

      the json path to use in the GET request

    • callback: ((container?) => void)

      called after the Container is loaded and it will be passed as a parameter

        • (container?): void
        • Parameters

          Returns void

    Returns void

    Deprecated

    this method is obsolete, please use the new tsParticles.load