mdq/yii2-widget-ekkolightbox
Composer 安装命令:
composer require mdq/yii2-widget-ekkolightbox
包简介
http://ashleydw.github.io/lightbox/
README 文档
README
http://ashleydw.github.io/lightbox/
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require mdq/yii2-widget-ekkolightbox "*"
or add
"mdq/yii2-widget-ekkolightbox": "*"
to the require section of your composer.json file.
Require Bootstrap 4. You can use:
"bower-asset/bootstrap": "~4.0.0@alpha",
"yiisoft/yii2-bootstrap": "2.1.x-dev as 2.0.0",
Usage
Once the extension is installed, simply use it in your code by :
use mdq\ekkolightbox\LightBox; <?= Lightbox::widget([ 'text' => 'text or image thumb', 'url' => ['image or embed video link'], 'settings' => ['js pluggins settings'], 'options' => ['html tag properties'] ]); ?>
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-21