aki/yii2-image-slider
Composer 安装命令:
composer require aki/yii2-image-slider
包简介
Image Slider for yii2
关键字:
README 文档
README
Image Slider for yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require aki/yii2-image-slider "*"
or add
"aki/yii2-image-slider": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \aki\imageslider\ImageSlider::widget([ 'baseUrl' => Yii::getAlias('@web/images'), 'nextPerv' => false, 'indicators' => false, 'height' => '170px', 'classes' => 'img-rounded', 'images' => [ [ 'active' => true, 'src' => 'image/a.jpg', 'title' => 'image', ], [ 'src' => 'image/b.jpg', 'title' => 'image', ] ], ]); ?>
统计信息
- 总下载量: 1.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2016-08-26