onError callback each time a resource loading is failed, the loader will fire the specified function giving the actual asset as argument.
undefined Copy
undefined
loader
// set a callback for error notificationme.loader.onError = this.loaderError.bind(this); Copy
// set a callback for error notificationme.loader.onError = this.loaderError.bind(this);
onError callback
each time a resource loading is failed, the loader will fire the specified function giving the actual asset as argument.