@vcl/token-input

0.6.3 • Public • Published

VCL token-input

Multiple item input based on tokens.

Features

Combines the an input (via vclInput), token and a plain HTML input to a multi-item-select input control. The control supports wrapping of tokens into multiple lines.

Usage

basic example

To make the vclInput container appear to be focused, the vclFocused modifier has to be applied if the nested input is focused.

Tokens wrap if they don't fit on one line making the input element higher.

wrapping example

Classes

  • vclTokenInput

Modifiers

Variables

Demo

example.html on GH-pages.

Package Sidebar

Install

npm i @vcl/token-input

Weekly Downloads

6

Version

0.6.3

License

MIT

Unpacked Size

152 kB

Total Files

11

Last publish

Collaborators

  • marcode95
  • vanthome
  • dani723
  • vilsol
  • jurgis-upenieks