SkillAgentSearch skills...

ImageCache

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

Install / Use

/learn @zoltan-dulac/ImageCache
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Related Skills

View on GitHub
GitHub Stars40
CategoryDevelopment
Updated3y ago
Forks3

Languages

JavaScript

Security Score

60/100

Audited on Sep 12, 2022

No findings