element Property

Summary

The loaded image element, when Run is successful.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoader.prototype, 'element', 
	get: function() 
) 
element: HTMLElement; // read-only 

Property Value

The loaded result of the ImageLoader request.

Remarks

Once the image request within Run completes successfully, the loaded image will be made available at Element and the Done and Always events will be fired.

Depending on the ImageLoaderUrlMode, Element may be an HTMLImageElement, other HTML, or other XML (SVG). For regular image loading with ImageLoaderUrlMode.ImageUrl, Element will be WorkingImageElement.

This property is cleared when Dispose is called.

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