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.

active: boolean

Whether the item is disabled.

disabled: boolean

Whether the item is selected.

selected: boolean

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

value: string