IDropdownListItem

Type interface

Inheritance

IDropdownListItem does not extend any other symbol.

IDropdownListItem is not extended by any other symbol.

Properties

checked
#

Type undefined | false | true

Checks the radio button or checkbox at the start.

className
#

Type undefined | string

Extra CSS class of the item.

disabled
#

Type undefined | false | true

Shows the item as disabled, so it can't be picked.

form
#

Type "radio" | "checkbox"

Adds a radio button or a checkbox to the item. Toggling it dispatches changed.

icon
#

Type SVGElement

Icon shown before the label.

id
#

Type string

ID of the item. "separator" draws a separator line instead.

label
#

Type string

Text of the item.

options
#

Type IDropdownListItem[]

subLabel
#

Type undefined | string

Second line of text, also used as the item's tooltip.

value
#

Type undefined | string

Value of the radio button or checkbox.