-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathbasic-example.html
More file actions
51 lines (50 loc) · 1.51 KB
/
basic-example.html
File metadata and controls
51 lines (50 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VSCode Elements</title>
<link
rel="stylesheet"
href="/node_modules/@vscode/codicons/dist/codicon.css"
id="vscode-codicon-stylesheet"
>
<script
type="module"
src="/node_modules/@vscode-elements/webview-playground/dist/index.js"
></script>
<script type="module" src="/dist/main.js"></script>
<script>
const logEvents = (selector, eventType) => {
document.querySelector(selector).addEventListener(eventType, (ev) => {
console.log(ev);
});
};
</script>
</head>
<body>
<h1>Basic example</h1>
<main>
<vscode-demo>
<vscode-breadcrumbs id="bc-1">
<vscode-breadcrumb-item>
<vscode-icon slot="icon" name="folder"></vscode-icon>
workspace
</vscode-breadcrumb-item>
<vscode-breadcrumb-item>
<vscode-icon slot="icon" name="folder"></vscode-icon>
src
</vscode-breadcrumb-item>
<vscode-breadcrumb-item>
<vscode-icon slot="icon" name="folder"></vscode-icon>
components
</vscode-breadcrumb-item>
<vscode-breadcrumb-item>
<vscode-icon slot="icon" name="file-code"></vscode-icon>
vscode-breadcrumbs.ts
</vscode-breadcrumb-item>
</vscode-breadcrumbs>
</vscode-demo>
</main>
</body>
</html>