AssetDisplayObject

AssetDisplayObject

new AssetDisplayObject()

Constructs an AssetDisplayObject instance (Should not be instantiated directly, should be inherited)

Methods

bindAssetCallback(callback) → {this}

Registers events for a callback function which'll be triggered for both `error` and `load` events (i.e. node-style callback, `function(err, data) {}`)
Parameters:
Name Type Description
callback Function The function to be triggered upon `load` or `error`
Returns:
Type
this