philippfrenzel/yii2bsduallistbox
最新稳定版本:0.1.1
Composer 安装命令:
composer require philippfrenzel/yii2bsduallistbox
包简介
Yii2 Bootstrap Duallistbox Widget
README 文档
README
yii2 bootstrap-duallistbox wrapper of: https://github.com/istvan-ujjmeszaros/bootstrap-duallistbox
For plugin options, pls. check out the site from the plugin creator
Yii2 Extension by philipp@frenzel.net
Installation
Package is although registered at packagist.org - so you can just add one line of code, to let it run!
add the following line to your composer.json require section:
"philippfrenzel/yii2bsduallistbox":"*",
or run:
$ php composer.phar require philippfrenzel/yii2bsduallistbox "*"
And ensure, that you have the following plugin installed global:
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
Changelog
04-02-2017 Initial upload
Usage
Quickstart Looks like this:
use net\frenzel\yii2bsduallistbox\yii2bsduallistbox; ... <?php $options = [ 'multiple' => true, 'size' => 20, ]; // echo Html::listBox($name, $selection, $items, $options); echo yii2bsduallistbox::widget([ 'name' => $name, 'selection' => $selection, 'items' => $items, 'options' => $options, 'clientOptions' => [ 'moveOnSelect' => false, 'selectedListLabel' => 'Selected Items', 'nonSelectedListLabel' => 'Available Items', ], ]); ?>
统计信息
- 总下载量: 395
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-04