Error processing SSI file
LEADTOOLS JavaScript (Leadtools)

ImagesHolder Property

Show in webframe
The HTML Element to use for temporary image loading, when necessary.
Syntax
get_imagesHolder();
set_imagesHolder(value);
Object.defineProperty('imagesHolder');

Property Value

TypeDescription
ElementThe HTML Element to use for temporary image loading. Default value is null.
Remarks

When loading an SVG-as-IMG (meaning and SVG as an HTML Image Element), the width and height of the image may not be immediately available. In this case, the loaded image is appended to the DOM as a child of ImagesHolder. When Done is fired, Width and Height will be available as always. One ImagesHolder can be used for many ImageLoader instances.

When all Done event callbacks have been run, the Element may be removed from the ImagesHolder if it still exists there. This should be of no concern to the application, as the Element is removed from the ImagesHolder automatically when it is appended somewhere else.

It is recommended to use an ImagesHolder element has styles applied making it invisible to the page:


                 .my-app-images-holder {
                    visibility: hidden;
                 }
              
Example
See ImageLoader for an example.
See Also

Reference

ImageLoader Object
ImageLoader Members

Error processing SSI file