Child component of Dropdown

API reference

Properties

PropertyAttributeDescriptionTypeDefault
groupTitlegroup-title

When specified, displays a group title.

string
selectionModeselection-mode

Specifies the selection mode of the component, where:

"multiple" allows any number of selections,

"single" allows only one selection, and

"none" does not allow any selections.

Extract<"none" | "single" | "multiple", SelectionMode>"single"

Slots

NameDescription
default (unnamed)

A slot for adding calcite-dropdown-items.

Styles

NameDescription
--calcite-dropdown-group-border-color

Specifies the component's border color.

--calcite-dropdown-group-title-text-color

Specifies the component's groupTitle color.

Methods

NameDescriptionSignature
componentOnReady

Creates a promise that resolves once the component is fully loaded.

componentOnReady(): Promise<this>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.