quark-imagine

0.2.0 • Public • Published

quark-imagine 0.2.0

Imagine module for quark.

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.

Readme

Keywords

Package Sidebar

Install

npm i quark-imagine

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • pyrsmk