TreeConfig
Configuration options for the tree plugin
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
childrenField? | string | Field name containing child rows (default: ‘children’) |
autoDetect? | boolean | Auto-detect tree structure from data (default: true) |
defaultExpanded? | boolean | Whether nodes are expanded by default (default: false) |
indentWidth? | number | Indentation width per level in pixels (default: 20) |
showExpandIcons? | boolean | Show expand/collapse icons (default: true) |
animation? | ExpandCollapseAnimation | Animation style for expanding/collapsing tree nodes. - false: No animation - 'slide': Slide animation (default) - 'fade': Fade animation |
Property Details
Section titled “Property Details”animation
Section titled “animation”Default: 'slide'
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt