tsParticles - v4.0.0-beta.12
    Preparing search index...

    Loader params for options local object

    interface ILoadParams {
        element?: HTMLElement | OffscreenCanvas;
        id?: string;
        index?: number;
        options?: SingleOrMultiple<RecursivePartial<IOptions>>;
        url?: SingleOrMultiple<string>;
    }
    Index

    Properties

    The source element for loading.

    • HTMLElement: used to resolve/create the DOM canvas that will be transferred to OffscreenCanvas for rendering.
    • OffscreenCanvas: used directly as render target.
    id?: string

    The id assigned to the container

    index?: number

    The index of the chosen element of the options array, if an array is given. If not specified, a random index will be used

    The options object or the options array to laod

    url?: SingleOrMultiple<string>

    The url or the url array used to get options