wired-combo
Combobox control - similar to a native browser select element; with a hand-drawn, wireframe like, style.
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-combo to your project:
npm i wired-combo
Import wired-combo definition into your HTML page:
Or into your module script:
Use it in your web page:
Number One Number Two Number Three
Properties
disabled - disables the combo selector. Default value is false.
selected - Value of the selected wired-item.
Custom CSS Variables
--wired-combo-popup-bg Background color of the dropdown when combo selector is open.
--wired-item-selected-bg Background color of the selected item
Events
selected event fired when an item is selected by the user.