Socket
Book a DemoInstallSign in
Socket

quark-imagine

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quark-imagine

imagine for quark

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

image

FAQs

Package last updated on 04 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts