API: Primitives
TreeConfig
Interface reference for TreeConfig.
Overview
- Kind: Interface
- Source: packages/primitives/src/tree/tree.types.ts:24
Declaration
interface TreeConfig
Properties
| Name | Type | Description |
|---|---|---|
multiSelect |
boolean |
Whether multiple nodes can be selected. Default: false |
toggleOnClick |
boolean |
Whether clicking a parent toggles expansion. Default: true |
expandAll |
boolean |
Whether to expand all nodes by default. Default: false With lazy loading this only expands nodes whose children are already loaded โ it never triggers loadChildren (expanding everything must not download everything). |