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 dropdown item. -
content— The main content wrapper of the dropdown item. -
suffix— The suffix wrapper of the dropdown item.
Properties
Section titled "Properties"value
Section titled "value"The value of the item. Falls back to the text content of the element.
value: string