logo

/Select Box|v1.1.0

Typedef

itemData:

object

selectBox.jsline 145

Data of an item.
It is used for creating a SelectBox.

PROPERTIES
NameTypeDescription

label

string

label to be displayed

value

string

value of an item

disabled

[ boolean ] = false

whether an item should be disabled or not

selected

[ boolean ] = false

whether an item should be pre-selected or not

EXAMPLES
const itemData = {
  label: 'disabled item',
  value: '0',
  disabled: true,
  selected: false
};
Resizable