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 |
- Overrides:
- Source: