lazy loading
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
README.md
jquery.expose.js

README.md

Usage

$('img').addClass('loading').onExpose(function(){	
	var $img = $(this),
		src = $img.attr('expose-src');
	$img.removeClass('loading').attr('src', src);
});