faryshta/yii2-jquery-tagsinput
最新稳定版本:1.0.0
Composer 安装命令:
composer require faryshta/yii2-jquery-tagsinput
包简介
Yii2 widget for Jquery TagsInput plugin
关键字:
README 文档
README
Yii2 widgets for jQuery Tags Input (tag list) jquery plugin
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist "faryshta/yii2-jquery-tagsinput:*"
or add
"faryshta/yii2-jquery-tagsinput": "*"
to the require section of your composer.json file.
Usage
use faryshta\widgets\JqueryTagsInput; // with ActiveForm echo $form->field($model, 'attribute')->widget(JqueryTagsInput::className(), [ // extra configuration ]); // without ActiveForm and with model. echo JqueryTagsInput::widget([ 'model' => $model, 'attribute' => 'attribute', // extra configuration ]);
Documentation
This library doesn't define anything new, the widgets classes are very similar to the class \yii\bootstrap\Widget which can be used as documentation for the widget classes.
The JS options can be passed using the $clientOptions property and the events
can be declared using the $clientEvents property. The documentation on all the
options and events supported by tagsInput can be found here.
License
The BSD License (BSD). Please see License File for more information.
统计信息
- 总下载量: 37.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-01-01