IDropdownListItem
Type interface
Sources
IDropdownListItem is an interface: it describes a shape of data and is not imported on its own.
Properties
checkedType
undefined|false|trueChecks the radio button or checkbox at the start.
classNameType
undefined|stringExtra CSS class of the item.
disabledType
undefined|false|trueShows the item as disabled, so it can't be picked.
formType
"radio"|"checkbox"Adds a radio button or a checkbox to the item. Toggling it dispatches
changed.iconType
SVGElementIcon shown before the label.
idType
stringID of the item.
"separator"draws a separator line instead.labelType
stringText of the item.
optionsType
IDropdownListItem[]subLabelType
undefined|stringSecond line of text, also used as the item's tooltip.
valueType
undefined|stringValue of the radio button or checkbox.