Constructor with specified label and optional id (no sub-items)
Constructor with specified label, list of sub-items, and optional id
An optional, custom defined, identifier to associate with each item.
UTF-8 encoded label for the item.
Potential list of sub-items (for multi-level) for this item.
Get the zero-based level of the item in the multi-level list.
The parent list item this item belongs to, if any.
Get whether the item is selected.
Set the selected state of this item
Generated using TypeDoc
Structure containing information about each item in a drop-down list.