quark-imagine
v0.2.0
Published
imagine for quark
Downloads
3
Readme
quark-imagine 0.2.0
Install
npm install quark-imagine
bower install quark-imagine
Use
// Load one image
$('.myimage').load(function() {
// loaded!
});
// Handle errors
$('.myimage').load(function() {
// loaded!
}, function() {
// boom!
});
// Load several images
$$('.images').load(function() {
// Please note that the callback won't be triggered
// when ALL images are loaded but for EACH loaded image.
// To run your callback only when all images have been loaded
// use imagine directly.
});
License
Published under the MIT license.