File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,19 @@ function getParentItem(childItem: VscodeTreeItem) {
4242 return childItem . parentElement ;
4343}
4444
45+ /**
46+ * Represents an item in a Tree component.
47+ *
48+ * @tag vscode-tree
49+ *
50+ * @slot - Main content
51+ * @slot icon-branch - Custom icon for a closed branch item.
52+ * @slot icon-branch-opened - Custom icon for an opened branch item.
53+ * @slot icon-leaf - Custom icon for a leaf item.
54+ * @slot description - Description of the item. Displayed with a smaller font size and a less prominent color.
55+ * @slot actions - Container for action buttons.
56+ * @slot decoration - Container for small decorative elements aligned to the right edge of the item.
57+ */
4558@customElement ( 'vscode-tree-item' )
4659export class VscodeTreeItem extends VscElement {
4760 static override styles = styles ;
You can’t perform that action at this time.
0 commit comments