done Event

Summary

Occurs when the image has loaded successfully.

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

Remarks

When Done fires, the Element property will have the loaded element. IsHTMLImageElement will be true if the Element is an HTML Image Element, versus other HTML or XML (SVG). Width and Height will also be set appropriately.

Done will not execute if Dispose or Abort is called on ImageLoader prior to the completion of the request.

See the Fail and Always events for more information.

Event Data

ParameterTypeDescription
sendervarThe source of the event.

Requirements

Target Platforms

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

Leadtools Assembly