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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.