ImageLoader Class Members

Summary

The following tables list the members exposed by ImageLoader.

Public Constructors

Name Description
ImageLoader Initializes a new ImageLoader.

Public Methods

Name Description
abort Aborts the current ImageLoader, guaranteeing that callbacks for Done, Fail, or Alwayswill not be run.
dispose Clears the ImageLoader instance.
run Runs the ImageLoader.

Public Properties

Name Description
ajaxOptions An ImageLoaderAjaxOptions object to use when loading an image via AJAX.
canRun Indicates whether the ImageLoader instance can be run.
element The loaded element when Run is successful.
error An error describing the reason for the image load failure from Run.
height The height of the successfully loaded Element.
imagesHolder The HTML Element to use for temporary image loading, when necessary.
isAborted Indicates that this image loader has been aborted.
isHTMLImageElement Gets a boolean indicating if Element exists and is an HTML Image Element, specifically.
isWorking A boolean indicating whether the ImageLoader is trying to load an image.
tag A reference object to distinguish ImageLoader instances.
url The URL to load for the image.
urlMode Represents the type of loading that will occur when Run is called.
width The width of the successfully loaded Element.

Public Events

Name Description
always Occurs after either the Done or Fail event handlers have fired.
done Occurs when the image has loaded successfully.
fail Occurs when the image has failed to load.
preRun Occurs when the Run method is called, sending out ImageLoaderPreRunEventArgs.
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize