ahmadpriatama/bootstrap-tagsinput
Composer 安装命令:
composer require ahmadpriatama/bootstrap-tagsinput
包简介
Use Composer "replace" to fake out installing bower-asset dependencies that aren't really needed
README 文档
README
Bootstrap Tags Input is a jQuery plugin providing a Twitter Bootstrap user interface for managing tags.
Current stable version: v0.8.0
Usage
Examples can be found here.
Features
- Objects as tags
- True multi value
- Typeahead
- Designed for Bootstrap 2.3.2 and 3
Objects as tags
Not just support for using strings! This means you can use different values
for a tag's label and value. Each tag also holds a reference to the object
by which it was created, so by calling tagsinput('items') an
array of the original items is returned.
True multi value support
Other implementations just concatenate the values to a comma separated string.
This results in val() returning just this string, and when
submitting the form, only one big, concatenated value is sent in the request.
Bootstrap Tags Input provides true multivalue support. Just use a
<select multiple /> as your input element, and
val() will return an array of the tag values. When submitting the
form, an array of values will be sent with the request.
Typeahead support
Integrates with Twitter Bootstraps' 2.3.2 typeahead, or use custom typeahead when using Bootstrap 3.
Development
Install dependencies:
npm install grunt install
Test:
grunt test
Build:
grunt build
Current Library Versions:
- Bootstrap: 3.3.5
- jQuery: 2.1.4
- Typeahead: 0.11.1
Libraries for testing go in the /lib directory.
History
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5
- 0.4
- 0.3.13
- #5: Trigger events on original input/select
- Loads of fixes merged with help of @janvt, @rlidwka and @kuraga: thanks for helping me out!
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
License
This project is licensed under MIT.
ahmadpriatama/bootstrap-tagsinput 适用场景与选型建议
ahmadpriatama/bootstrap-tagsinput 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 646 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ahmadpriatama/bootstrap-tagsinput 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ahmadpriatama/bootstrap-tagsinput 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 646
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-12