exmg / exm-token-input

Polymer paper style token input

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Published on webcomponents.org

exm-token-input

Paper style token input element. Please visit the API Documentation and demo page for more information.

  • Polymer paper style token input
  • Supports form element and validatable behaviour
  • Allow free input or list
  • Support Array/Function for option list

Usage

<exm-token-input label="Users" value="Ronna,Beatris" data='["Rubin","Gennie","Ronna","Jacquie","Norene","Beatris","Ginny","Tiesha","Leonore","Evonne"]'></exm-token-input>
<exm-token-input label="Users" value="2" data-value-path="user.id" data-label-path="user.name" data='[ { "user": {"id": "1", "name": "Rubin" } }, { "user": { "id": "2", "name": "Gennie" } }, {  "user": { "id": "3", "name": "Ronna" } }]'></exm-token-input>

Install

Install the component using bower

$ bower install --save exm-token-input

Development

First, make sure you have the Polymer CLI installed. Then run polymer server to launch the demo page.

$ polymer serve

About

Polymer paper style token input

License:MIT License


Languages

Language:HTML 100.0%