/yummy-tags

A Polymer custom HTML element for adding a tags input, similar to the Select2 jQuery plugin.

Primary LanguageHTML

Yummy Tags

A custom Polymer element for adding tags from a list of values.

Usage

Import it:

<link rel="import" href="yummy-tags.html">

Define your data:

<script>
	window.codeLangs = ['ActionScript', 'C', 'C#', 'C++', 'Clojure', '...'];
</script>

Use it:

<yummy-tags globalValues="codeLangs"></yummy-tags>

Features

  • Autocomplete
  • Behaves like an input field with support for backspace, arrow keys, enter, etc. Similar to jQuery Select2.