TreeItem
Tag name: <vscode-tree-item>
Represents an item in a Tree component.
Properties
active
| Name | active |
|---|---|
| Attribute | active |
| Type |
|
| Default |
|
branchreflects
| Name | branch |
|---|---|
| Attribute | branch |
| Type |
|
| Default |
|
hasActiveItem
| Name | hasActiveItem |
|---|---|
| Attribute | hasActiveItem |
| Type |
|
| Default |
|
hasSelectedItem
| Name | hasSelectedItem |
|---|---|
| Attribute | hasSelectedItem |
| Type |
|
| Default |
|
levelreflects
| Name | level |
|---|---|
| Attribute | level |
| Type |
|
| Default |
|
openreflects
| Name | open |
|---|---|
| Attribute | open |
| Type |
|
| Default |
|
path
| Name | path |
|---|---|
| Type |
|
selectedreflects
| Name | selected |
|---|---|
| Attribute | selected |
| Type |
|
versionreadonly
| Name | version |
|---|---|
| Type |
|
| Description | VSCode Elements version |
Methods
warn(message: string)
| Name | warn |
|---|
Slots
default/unnamed
| Description | Main content |
|---|
actions
| Description | Container for action buttons. |
|---|
decoration
| Description | Container for small decorative elements aligned to the right edge of the item. |
|---|
description
| Description | Description of the item. Displayed with a smaller font size and a less prominent color. |
|---|
icon-branch
| Description | Custom icon for a closed branch item. |
|---|
icon-branch-opened
| Description | Custom icon for an opened branch item. |
|---|
icon-leaf
| Description | Custom icon for a leaf item. |
|---|