mecha-cms/x.lazy
Composer 安装命令:
composer require mecha-cms/x.lazy
包简介
Native lazy loading for the web.
README 文档
README
Starting with Chrome 76, you’ll be
able to use the new loading attribute to lazy-load resources without the need to write custom lazy-loading code or use
a separate JavaScript library. Please note that only images that are below the device viewport by the calculated
distance load lazily. All images above the viewport, regardless of whether they’re immediately visible, load normally.
This extension helps you to automatically add the loading attribute with the value of lazy.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-05-30