承接 faryshta/yii2-jquery-tagsinput 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

faryshta/yii2-jquery-tagsinput

最新稳定版本:1.0.0

Composer 安装命令:

composer require faryshta/yii2-jquery-tagsinput

包简介

Yii2 widget for Jquery TagsInput plugin

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-01-01