imagesLoaded

A small jQuery plugin that triggers a callback after all the child images in a parent element have been loaded. Because you can't do .load() on images.

$('#my-container').imagesLoaded( function( $images ) {
  // callback provides one argument, the jQuery object of child images
  console.log( $images.length + ' images have been loaded in ' + this )
});

See demo

Used in Masonry and Isotope.

Description
No description provided
Readme 954 KiB
Languages
JavaScript 71.2%
HTML 25.9%
CSS 2.9%