Skip to main content
Version: 1.x

@microsoft/fast-foundation > TreeView

TreeView class

A Tree view Custom HTML Element. Implements the ARIA TreeView.

  • The default slot for tree items
Signature:
export declare class TreeView extends FoundationElement 

Properties

PropertyModifiersTypeDescription
currentSelectedHTMLElement | TreeItem | nullThe currently selected tree item
renderCollapsedNodesboolean/** When true, the control will be appear expanded by user interaction.

Methods

MethodModifiersDescription
connectedCallback()