OptionalasyncOptionalbaseA URL used to resolve paths given to the loader. Example: 'http://labs.phaser.io/assets/'.
Optionalcross'anonymous', 'use-credentials', or undefined. If you're not making cross-origin requests, leave this as undefined. See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes.
OptionalimageOptional load type for image, XHR is default, or HTMLImageElement for a lightweight way.
OptionallocalAn optional array of schemes that the Loader considers as being 'local' files. Defaults to: [ 'file://', 'capacitor://' ] if not specified.
OptionalmaxThe maximum number of resources the loader will start loading at once.
OptionalmaxThe number of times to retry the file load if it fails.
OptionalpasswordOptional password for all XHR requests.
OptionalpathA URL path used to resolve relative paths given to the loader. Example: 'images/sprites/'.
OptionalresponseThe response type of the XHR request, e.g. blob, text, etc.
OptionaltimeoutOptional XHR timeout value, in ms.
OptionaluserOptional username for all XHR requests.
OptionalwithOptional XHR withCredentials value.
Should the XHR request use async or not?