Cache#getURL()

getURL(url) → {object}

Get a cached object by the URL.
This only returns a value if you set Cache.autoResolveURL to true before starting the preload of any assets.
Be aware that every call to this function makes a DOM src query, so use carefully and double-check for implications in your target browsers/devices.

Parameters
Name Type Description
url string

The url for the object loaded to get from the cache.

Returns
object -

The cached object.

Source code: loader/Cache.js (Line 1584)
doc_phaser
2017-02-14 10:40:22
Comments
Leave a Comment

Please login to continue.