Class: TreeItem

TreeItem(label, collapsibleState)

Base tree item class that all other tree items extend from. Provides common functionality for tree items in the view.

Constructor

new TreeItem(label, collapsibleState)

Creates a new TreeItem instance.

Parameters:
Name Type Description
label string

The display text for the tree item

collapsibleState vscode.TreeItemCollapsibleState

Whether and how the tree item can be expanded

Source:

Extends

  • vscode.TreeItem

Classes

TreeItem
TreeItem

TreeItem(label, collapsibleState)

Base tree item class that all other tree items extend from. Provides common functionality for tree items in the view.

Constructor

new TreeItem(label, collapsibleState)

Creates a new TreeItem instance.

Parameters:
Name Type Description
label string

The display text for the tree item

collapsibleState vscode.TreeItemCollapsibleState

Whether and how the tree item can be expanded

Source:

Extends

  • vscode.TreeItem

Classes

TreeItem
TreeItem