den67rus/yii2-abig-image
Composer 安装命令:
composer require den67rus/yii2-abig-image
包简介
This is widget wrapper of ABigImage https://github.com/makryl/ABigImage for Yii2.
README 文档
README
This is widget wrapper of ABigImage jQuery Plug-in https://github.com/makryl/ABigImage for Yii2.
##Installation The preferred way to install this extension is through composer.
Either run
$ php composer.phar require den67rus/yii2-abig-image "~1.0.0"
or add
"den67rus/yii2-abig-image": "~1.0.0"
to the require section of your composer.json file.
##How use
Added following code to your view:
... use den67rus\jqueryABigImage\ABigImage; ABigImage::widget([ 'selector' => '.itemPhotos', 'options' => [ 'duration' => 200, 'slideWidth ' => 0, 'zoomMax ' => 0, ], ]); ...
##Options of widget
| Name | Description |
|---|---|
| $selector | jQuery selector |
| $options | ABigImage options: http://aeqdev.com/tools/js/abigimage/ |
##License
yii2-abig-image is released under the Apache 2.0 License.
统计信息
- 总下载量: 115
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache
- 更新时间: 2017-09-17