phaser - v4.0.0-rc.4
    Preparing search index...
    type ScriptFileConfig = {
        extension?: string;
        key: string;
        type?: string;
        url?: string;
        xhrSettings?: XHRSettingsObject;
    }
    Index

    Properties

    extension?: string

    The default file extension to use if no url is provided.

    key: string

    The key of the file. Must be unique within the Loader.

    type?: string

    The script type. Should be either 'script' for classic JavaScript, or 'module' if the file contains an exported module.

    url?: string

    The absolute or relative URL to load the file from.

    xhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for this file.