[ type ] ListItem

Description:

Item object used in ComboBox, List, and Tree components.

Type: Object

Properties:

Name Type Description

[text]

string

Item text. (Required for a new list item).

[id]

string | number

Value that can be used by software logic to identify this item.

[value]

string | number

Additional value to be stored in the item for later use.

[icon]

string | null

Absolute/relative path to icon image, base64 encoded image string, or null to remove icon.

[color]

string

Item text color as a 6-character hex string (e.g. #665500).

[background]

string

Item background color as a 6-character hex string (e.g. #665500).

[tooltip]

string

Tooltip text shown when hovering the item (only in List and Tree components).

[font]

Font

Font formatted object.

Also See: