0.0.1 • Published 7 years ago
preimg v0.0.1
preimg
A JavaScript Library for preload images.
Install
Using npm
npm install preimg
Example
Preload some images
var arr = ['/imgs/comment.png', '/imgs/blue.png'];
preimg(arr).done(function(imgs) {
// imgs is Array, typeof HTML DOM Image
});
0.0.1
7 years ago