File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- <vscode-tree id =" basic-example" ></vscode-tree>
1
+ <vscode-tree id =" tree- basic-example" ></vscode-tree>
2
2
<script >
3
3
document.addEventListener("DOMContentLoaded", () => {
4
- const tree = document.querySelector("#basic-example");
4
+ const tree = document.querySelector("#tree- basic-example");
5
5
const icons = {
6
6
branch: "folder",
7
7
leaf: "file",
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ import DecorationsExample from "@components/examples/tree/DecorationsExample.ast
17
17
<BasicExample />
18
18
<Fragment slot = " html" >
19
19
``` html
20
- <vscode-tree id =" basic-example" ></vscode-tree >
20
+ <vscode-tree id =" tree- basic-example" ></vscode-tree >
21
21
```
22
22
</Fragment >
23
23
<Fragment slot = " js" >
24
24
``` javascript
25
- const tree = document .querySelector (' #basic-example' );
25
+ const tree = document .querySelector (' #tree- basic-example' );
26
26
const icons = {
27
27
branch: ' folder' ,
28
28
leaf: ' file' ,
You can’t perform that action at this time.
0 commit comments