API reference
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| disabled | disabled | When | boolean | false |
| expanded | expanded | When | boolean | false |
| iconFlipRtl | icon-flip-rtl | When | FlipContext | |
| iconStart | icon-start | Specifies an icon to display at the start of the component. | IconName | |
| label | label | Specifies an accessible label for the component. | string | |
| selected | selected | When | boolean | false |
Slots
| Name | Description |
|---|---|
| default (unnamed) | A slot for adding text. |
| children | A slot for adding nested |
| actions-end | A slot for adding actions to the end of the component. It is recommended to use two or fewer actions. |
Styles
| Name | Description |
|---|---|
| --calcite-tree-text-color | Specifies the component's text color. |
| --calcite-tree-text-color-selected | When 'selected', specifies the component's text color. |
| --calcite-tree-selected-icon-color | Specifies the component's selection icon color. |
Methods
| Name | Description | Signature |
|---|---|---|
| componentOnReady | Creates a promise that resolves once the component is fully loaded. | componentOnReady(): Promise<this> |