logo

/Select Box|v1.0.0

Typedef

itemData:

object

selectBox.jsline 146

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