jalle19/yii-lazy-image
Composer 安装命令:
composer require jalle19/yii-lazy-image
包简介
Lazy image loader for the Yii framework
README 文档
README
Lazy image loader for the Yii framework. It is implemented as a static class which leverages jQuery Unveil to load images lazily. The interface is the same as CHtml::image() so existing code can easily be adapted to use it.
Usage
Require the project in your composer.json, then use it like this:
echo \yiilazyimage\components\LazyImage::image($url, $alt, $htmlOptions);
License
This project is licensed under the MIT license
统计信息
- 总下载量: 2.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-03