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.

Whether the item is active. The active item has the visual focus during keyboard navigation.

active: boolean

Whether the item is disabled.

disabled: boolean

Whether the item is selected. A change also sets active to the same value.

selected: boolean

The value of the item. Falls back to the text content of the element.

value: string