Represents an item in a dropdown list.
- Slots
-
prefix— Renders content before the item's main content. -
default— Renders the item's main content. -
suffix— Renders content after the item's main content.
- CSS Parts
prefix— The prefix wrapper of the igc-dropdown-item.content— The main content wrapper of the igc-dropdown-item.suffix— The suffix wrapper of the igc-dropdown-item.
Properties
Section titled "Properties"active
Section titled "active"Whether the item is active.
active: boolean disabled
Section titled "disabled"Whether the item is disabled.
disabled: boolean selected
Section titled "selected"Whether the item is selected.
selected: boolean value
Section titled "value"The current value of the item. If not specified, the element's text content is used.
value: string