Skip to content

Nevraeka/option-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published