ahmadpriatama/yii2-bootstrap-tags-input
Composer 安装命令:
composer require ahmadpriatama/yii2-bootstrap-tags-input
包简介
Bootstrap tags input for Yii2 framework
README 文档
README
A simple widget tags input, renders a Bootstrap Tags Input.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require pudinglabs/yii2-bootstrap-tags-input "*"
or add
"pudinglabs/yii2-bootstrap-tags-input" : "*"
Usage
// with an ActiveForm <?= $form->field($model, 'your_attr')->widget(TagsinputWidget::classname(), [ 'options' => [], 'clientOptions' => [], 'clientEvents' => [] ]); ?> // as a widget <?= TagsinputWidget::widget([ 'model' => $model, 'attribute' => 'your_attr', 'options' => [], 'clientOptions' => [], 'clientEvents' => [] ]); ?>
License
MIT
Free Software, Hell Yeah!
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-12