Skip to content

Allows the caching of images in JavaScript with callbacks when one image completely load, and when a whole array of images completely loads.

Notifications You must be signed in to change notification settings

zoltan-dulac/imageCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This JavaScript library is intended to make image caching as simple as possible.  The syntax is:

var s=["images/1.jpg", "images/2.jpg", "images/3.jpg"]; // or any array of image URLs
imageCache.pushArray(s, loadImageEvent, loadAllEvent);

loadImageEvent is a callback that fires everytime an image is loaded.
loadAllEvents is a callback that fires when all images are loaded.

More info can be found at http://www.useragentman.com/blog/?p=4329

About

Allows the caching of images in JavaScript with callbacks when one image completely load, and when a whole array of images completely loads.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published