- Source: src/cache/events/index.js (Line 7)
Events
-
ADD
-
The Cache Add Event.
This event is dispatched by any Cache that extends the BaseCache each time a new object is added to it.
Parameters:
Name Type Description cache
Phaser.Cache.BaseCache The cache to which the object was added.
key
string The key of the object added to the cache.
object
* A reference to the object that was added to the cache.
- Since: 3.0.0
- Source: src/cache/events/ADD_EVENT.js (Line 7)
-
REMOVE
-
The Cache Remove Event.
This event is dispatched by any Cache that extends the BaseCache each time an object is removed from it.
Parameters:
Name Type Description cache
Phaser.Cache.BaseCache The cache from which the object was removed.
key
string The key of the object removed from the cache.
object
* A reference to the object that was removed from the cache.
- Since: 3.0.0
- Source: src/cache/events/REMOVE_EVENT.js (Line 7)