Jquery图片加载插件 imagesloaded
- 授权协议: GPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://desandro.github.io/imagesloaded/
- 软件文档: http://desandro.github.io/imagesloaded/
软件介绍
imagesLoaded插件是在图片加载成功后才做一系列操作
官方例子:
imagesLoaded( document.querySelector('#container'), function( instance ) {
console.log('all images are loaded');
}); // selector string
imagesLoaded( '#container', function() {...}); // multiple elements
var posts = document.querySelectorAll('.post');
imagesLoaded( posts, function() {...});
