【文件属性】:
文件名称:jquery.lazy_content:用于延迟加载任何内容的 jquery 插件
文件大小:35KB
文件格式:ZIP
更新时间:2021-06-12 16:52:16
HTML
jQuery.LazyContent
任何内容的延迟加载变得容易
任何内容
包括src/jquery.lazy_content.js
$ ( ".elements" ) . lazyContent ( {
threshold : 0 , // The amount of pixels to load earlier
load : function ( element ) { // Callback for loaded element
// Do some magic
}
} ) ;
销毁插件
$ ( ".elements" ) . lazyContent ( "destroy" ) ;
只有图像
包括src/jquery.lazy_content.js和src/jquery.lazy_content_img.js
$ ( "img.lazy" ) . la
【文件预览】:
jquery.lazy_content-master
----src()
--------jquery.lazy_content.js(3KB)
--------jquery.lazy_content_img.js(803B)
----README.md(694B)
----sample()
--------images()
--------jquery.js(82KB)
--------anyContent()
--------style.css(1KB)
----.gitignore(10B)