API reference
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| groupTitle | group-title | Specifies and displays a group title. | string | |
| selectionMode | selection-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. | "multiple" | "none" | "single" | "single" |
Slots
| Name | Description |
|---|---|
| default (unnamed) | A slot for adding calcite-dropdown-items. |
Styles
| Name | Description |
|---|---|
| --calcite-dropdown-group-border-color | Specifies the calcite-dropdown's border color. |
| --calcite-dropdown-group-title-text-color | Specifies the component's groupTitle color. |
Methods
| Name | Description | Signature |
|---|---|---|
| componentOnReady | Create a promise that resolves once component is fully loaded. | componentOnReady(): Promise<void> |