uran1980/yii2-chosen-select
最新稳定版本:0.0.1
Composer 安装命令:
composer require uran1980/yii2-chosen-select
包简介
An Yii2 chosen select extension based on Chosen jQuery plugin.
README 文档
README
An Yii2 chosen select extension based on Chosen jQuery plugin.
What is Chosen?
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly.
Installation
Composer
The preferred way to install this extension is through Composer.
Either run
php composer.phar require uran1980/yii2-chosen-select "dev-master"
or add
"uran1980/yii2-chosen-select": "dev-master"
to the require section of your composer.json
Usage
To activate this widget add this line to you view or layout:
<?php echo uran1980\yii\widgets\chosen\ChosenSelect::widget(); ?>
or add as dependensy in you AssetBundle.php:
namespace frontend\assets; class YourAppAsset extends \yii\web\AssetBundle { ... public $depends = [ 'uran1980\yii\widgets\chosen\ChosenSelectAsset', ... ]; }
Author
Ivan Yakovlev, e-mail: uran1980@gmail.com
统计信息
- 总下载量: 18.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-08