name | type | arguments | Default | description |
---|---|---|---|---|
type | string |
The file type string (image, json, etc) for sorting within the Loader. |
||
key | string |
Unique cache key (unique within its file type) |
||
url | string | <optional> |
The URL of the file, not including baseURL. |
|
path | string | <optional> |
The path of the file, not including the baseURL. |
|
extension | string | <optional> |
The default extension this file uses. |
|
responseType | XMLHttpRequestResponseType | <optional> |
The responseType to be used by the XHR request. |
|
xhrSettings | false | Phaser.Types.Loader.XHRSettingsObject | <optional> | false |
Custom XHR Settings specific to this file and merged with the Loader defaults. |
config | any | <optional> |
A config object that can be used by file types to store transitional data. |