bootstrap-tagsinput

WebJar for bootstrap-tagsinput

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-bootstrap-tagsinput-bootstrap-tagsinput
Last Version

Last Version

0.8.0
Release Date

Release Date

Type

Type

jar
Description

Description

bootstrap-tagsinput
WebJar for bootstrap-tagsinput
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bootstrap-tagsinput/bootstrap-tagsinput

Download github-com-bootstrap-tagsinput-bootstrap-tagsinput

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-bootstrap-tagsinput-bootstrap-tagsinput/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-bootstrap-tagsinput-bootstrap-tagsinput</artifactId>
    <version>0.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-bootstrap-tagsinput-bootstrap-tagsinput/
implementation 'org.webjars.npm:github-com-bootstrap-tagsinput-bootstrap-tagsinput:0.8.0'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-bootstrap-tagsinput-bootstrap-tagsinput/
implementation ("org.webjars.npm:github-com-bootstrap-tagsinput-bootstrap-tagsinput:0.8.0")
'org.webjars.npm:github-com-bootstrap-tagsinput-bootstrap-tagsinput:jar:0.8.0'
<dependency org="org.webjars.npm" name="github-com-bootstrap-tagsinput-bootstrap-tagsinput" rev="0.8.0">
  <artifact name="github-com-bootstrap-tagsinput-bootstrap-tagsinput" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-bootstrap-tagsinput-bootstrap-tagsinput', version='0.8.0')
)
libraryDependencies += "org.webjars.npm" % "github-com-bootstrap-tagsinput-bootstrap-tagsinput" % "0.8.0"
[org.webjars.npm/github-com-bootstrap-tagsinput-bootstrap-tagsinput "0.8.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Bootstrap Tags Input Build Status

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

License

This project is licensed under MIT.

org.webjars.npm

Versions

Version
0.8.0