Const
The base URL of each asset type, as set by setBaseURL: prepended to the src of every asset of that type, unless the src is a data URI. A type with no entry here is loaded from its src as written. Read it here, change it through setBaseURL.
src
setBaseURL
loader.setBaseURL("image", "data/img/");loader.baseURL.image; // "data/img/" Copy
loader.setBaseURL("image", "data/img/");loader.baseURL.image; // "data/img/"
The base URL of each asset type, as set by setBaseURL: prepended to the
srcof every asset of that type, unless thesrcis a data URI. A type with no entry here is loaded from itssrcas written. Read it here, change it throughsetBaseURL.