A jQuery plugin for a bulk image load event
cachePrefix
: Variable name used and assigned a random value to overcome IE's caching issues (default:'random'
)
Once all images in the selector (including both descendents and elements immediately selected) '.container'
are loaded, the callback is fired.
<div class="container">
<img src="cutecat1.jpg" />
<img src="cutecat2.jpg" />
<img src="cutecat3.jpg" />
</div>
$('.container').imageready(function () {
console.log('all images are loaded!');
});
This project uses smoosh for compiling, linting.