API reference
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
disabled | disabled | When true , interaction is prevented and the component is displayed with lower opacity. | boolean | false |
expanded | expanded | When true , the component is expanded. | boolean | false |
iconFlipRtl | icon-flip-rtl | When true , the icon will be flipped when the element direction is right-to-left ("rtl" ). | "both" | "end" | "start" | |
iconStart | icon-start | Specifies an icon to display at the start of the component. | string | |
label | label | Accessible name for the component. | string | |
selected | selected | When true , the component is selected. | boolean | false |
Slots
Name | Description |
---|---|
default (unnamed) | A slot for adding text. |
children | A slot for adding nested calcite-tree elements. |
actions-end | A slot for adding actions to the end of the component. It is recommended to use two or fewer actions. |
Methods
Name | Description | Signature |
---|---|---|
componentOnReady | Create a promise that resolves once component is fully loaded. | componentOnReady(): Promise<void> |