当且仅当图片出现在可视区域内,才会自动加载;将真正的图片地址设置到data-src中,在js中通过ImageLazyload.init()启动并初始化组件,页面上的图片就会自动按需加载了
-
Notifications
You must be signed in to change notification settings - Fork 17
zxlie/image-lazyload
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|