Skip to content

Tree

Tree structure data display. Supports expand/collapse and selection.

Basic Usage

loading

Selectable & Line

loading

API

PropDescriptionType
dataTree dataTreeData[]
showLineWhether to show connecting linesboolean
selectableWhether selectableboolean

TreeData structure: { id, label, children?, expanded? }.

Events: node-click, etc.

MIT License