UNPKG

@logo-elements/tag-input

Version:

Input control for a collection of tags

48 lines (34 loc) 994 B
# @logo-elements/tag-input Input control for a collection of tags [![npm version](https://badgen.net/npm/v/@logo-elements/tag-input)](https://www.npmjs.com/package/@logo-elements/tag-input) ## Usage ### Installation ``` npm install --save @logo-elements/tag-input ``` ### In an html file ```html <html> <head> <script type="module" src="@logo-elements/tag-input/logo-elements-tag-input.js"></script> </head> <body> <logo-elements-tag-input></logo-elements-tag-input> </body> </html> ``` ### In a Polymer 3 element ```js import {PolymerElement, html} from '@polymer/polymer'; import '@logo-elements/tag-input/logo-elements-tag-input'; class SampleElement extends PolymerElement { static get template() { return html` <logo-elements-tag-input></logo-elements-tag-input> `; } } customElements.define('sample-element', SampleElement); ``` ### For more detailed information, please visit: [Logo Elements Documentation ↗](http://elements.logo.com.tr)