himiklab/yii2-colorbox-widget
最新稳定版本:1.0.3
Composer 安装命令:
composer require himiklab/yii2-colorbox-widget
包简介
Customizable lightbox widget for Yii2
README 文档
README
A customizable lightbox jQuery plugin for Yii2 based on Colorbox.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require "himiklab/yii2-colorbox-widget" "*"
or add
"himiklab/yii2-colorbox-widget" : "*"
to the require section of your application's composer.json file.
Usage
- In view:
use himiklab\colorbox\Colorbox; <?= Colorbox::widget([ 'targets' => [ '.colorbox' => [ 'maxWidth' => 800, 'maxHeight' => 600, ], ], 'coreStyle' => 2 ]) ?>
统计信息
- 总下载量: 89.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 16
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-07-14