0.0.3 • Published 3 years ago

@logo-elements/combobox v0.0.3

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
3 years ago

Combobox Web Component

A combo box is a commonly used graphical user interface widget (or control). Traditionally, it is a combination of a drop-down list or list box and a single-line editable textbox, allowing the user to either type a value directly or select a value from the list.

Click here for demo

Installation

All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Combobox Web Component:

$ npm set registry https://registry.npmjs.org/
$ npm install @logo-elements/combobox -s

Just add it to your html file.

<script src="logo-combobox.js"></script>

A Combobox displays a text box combined with a ListBox, which enables the user to select items from the list or enter a value for filtering this list then can select an item.

<logo-combobox filter="onFiltered($event)" select="onSelect($event)" hover="1" items="displayedItems" path="'a.b'">
  // If you wish to add custom items, also you can use property in Javascript
  // Or leave blank for the default view.
</logo-combobox>

For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview