Interface TreeExpansionService

The tree expandable service.

interface TreeExpansionService {
    onExpansionChanged: Event<Readonly<ExpandableTreeNode>>;
    collapseAll(node): Promise<boolean>;
    collapseNode(node): Promise<boolean>;
    dispose(): void;
    expandNode(node): Promise<undefined | Readonly<ExpandableTreeNode>>;
    toggleNodeExpansion(node): Promise<void>;
}

Hierarchy (view full)

Implemented by

Properties

onExpansionChanged: Event<Readonly<ExpandableTreeNode>>

Emit when the node is expanded or collapsed.

Methods