Loader params for options local object

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


element?: HTMLElement

The container HTML element, could be a canvas or any other element that will contain the canvas

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