fail Event

Summary

Occurs when the image has failed to load.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoader.prototype,'fail',  
	get: function(), 
	set: function(value) 
) 
fail: LeadEvent; 

Remarks

When Fail fires, the image request has failed. Error should have information about why the image request failed.

Fail will not execute if Dispose or Abort is called on ImageLoader prior to the completion of the request, but Fail and Always will execute if the image request is canceled from PreRun or PreSend.

Event Data

ParameterTypeDescription
sendervarThe source of the event.

Requirements

Target Platforms

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly