TreeView
interfaceImport
import { TreeView } from '@modular/sdk';Members10
- containeroptional
'anywhere' | 'left' | 'right' | 'bottom'- iconoptional
stringThe view's nav icon — shown on its activity-bar / panel entry. A design system icon name (the icon's export name), e.g. `'IconSparkle2Outline24'`, `'IconStarOutline24'`, or a codicon like `'CodiconAccount'`. Rendered monochrome, tinted to the active foreground — distinct from the mod's full-color `metadata.icon`. Omit and the view falls back to a placeholder.
- id
string- inlineActionsoptional
readonly TreeInlineAction<TElement, TContextValue>[]- kind
'tree'- provider
TreeDataProvider<TElement, TContextValue>- title
string- whenoptional
Condition<string>- onDidChangeTreeData
(listener: (change: TreeDataChange<TElement>) => void) => Disposable- onSelectoptional
(element: TElement, ctx: TreeContext<TElement>) => void | Promise<void>