Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.12 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.12 KB

a vanilla Web Component for lists of <option /> HTML elements typically for use in a <select /> HTML elements.

Purpose

TBD

Attributes

Name Type* Description
max-select number maximum number of options that can be selected
caret string position if a caret is needed

Events

Name Data
optionSelected
  • index the index of the selected option as a number
  • value the text value of the selected option as a string
optionDeselected
  • index the index of the deselected option as a number
  • value the text value of the deselected option as a string

CSS Custom Properties (variables)

TBD