new ImageLoader(GridID, ImageUrl, Width, Height, PreloadBackgroundHex, OnClick, Callback)
bower install smartimageloader --save
The ID of the HTML element you want to use
The image URL
The width of the image
The height of the image
The color to apply to the image box before the image is loaded
Fires when an image is clicked.
function OnImageClick(imageObject, imageId, event)
Fires when an image is finished being generated, returns ImageLoader object
function Callback(imageLoader)
div.imageholder > img.image
DIV that holds the image tag
When the image hasn't been loaded
When the image has been loaded
The image element
When the image hasn't been loaded
When the image has loaded
Open test/test.html in your browser