Skip to content

Commit ec24424

Browse files
committed
custom-elements-manifest analyize
1 parent d5a0594 commit ec24424

File tree

4 files changed

+91
-12
lines changed

4 files changed

+91
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ README so describe how this elements works here.
3030
You can event add examples on the element is used with Markdown.
3131
3232
```
33-
<custom-element></custom-element>
33+
<typing-test></typing-test>
3434
```
3535
3636
## Browser support

custom-elements.json

Lines changed: 82 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,89 @@
44
"modules": [
55
{
66
"kind": "javascript-module",
7-
"path": "src/custom-element.ts",
7+
"path": "src/typing-test-element.ts",
88
"declarations": [
99
{
1010
"kind": "class",
11-
"description": "An example Custom Element. This documentation ends up in the\nREADME so describe how this elements works here.\n\nYou can event add examples on the element is used with Markdown.\n\n```\n<custom-element></custom-element>\n```",
12-
"name": "CustomElementElement",
11+
"description": "An example Custom Element. This documentation ends up in the\nREADME so describe how this elements works here.\n\nYou can event add examples on the element is used with Markdown.\n\n```\n<typing-test></typing-test>\n```",
12+
"name": "TypingTestElement",
13+
"members": [
14+
{
15+
"kind": "field",
16+
"name": "#renderRoot",
17+
"privacy": "private"
18+
},
19+
{
20+
"kind": "field",
21+
"name": "#started",
22+
"privacy": "private",
23+
"type": {
24+
"text": "boolean"
25+
},
26+
"default": "false"
27+
},
28+
{
29+
"kind": "field",
30+
"name": "#position",
31+
"privacy": "private",
32+
"type": {
33+
"text": "number"
34+
},
35+
"default": "0"
36+
},
37+
{
38+
"kind": "field",
39+
"name": "#feedback",
40+
"privacy": "private",
41+
"type": {
42+
"text": "HTMLElement"
43+
}
44+
},
45+
{
46+
"kind": "field",
47+
"name": "started"
48+
},
49+
{
50+
"kind": "method",
51+
"name": "start"
52+
},
53+
{
54+
"kind": "method",
55+
"name": "stop"
56+
},
57+
{
58+
"kind": "method",
59+
"name": "#continue"
60+
},
61+
{
62+
"kind": "method",
63+
"name": "#error",
64+
"parameters": [
65+
{
66+
"name": "character",
67+
"type": {
68+
"text": "string"
69+
}
70+
}
71+
]
72+
},
73+
{
74+
"kind": "method",
75+
"name": "handleEvent",
76+
"parameters": [
77+
{
78+
"name": "event",
79+
"type": {
80+
"text": "KeyboardEvent"
81+
}
82+
}
83+
]
84+
}
85+
],
1386
"superclass": {
1487
"name": "HTMLElement"
1588
},
16-
"tagName": "custom-element",
89+
"tagName": "typing-test",
1790
"customElement": true
1891
}
1992
],
@@ -22,16 +95,16 @@
2295
"kind": "js",
2396
"name": "default",
2497
"declaration": {
25-
"name": "CustomElementElement",
26-
"module": "src/custom-element.ts"
98+
"name": "TypingTestElement",
99+
"module": "src/typing-test-element.ts"
27100
}
28101
},
29102
{
30103
"kind": "custom-element-definition",
31-
"name": "custom-element",
104+
"name": "typing-test",
32105
"declaration": {
33-
"name": "CustomElementElement",
34-
"module": "src/custom-element.ts"
106+
"name": "TypingTestElement",
107+
"module": "src/typing-test-element.ts"
35108
}
36109
}
37110
]

vscode.css-custom-data.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": 1.1,
3+
"properties": [],
4+
"pseudoElements": []
5+
}

vscode.html-custom-data.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2+
"version": 1.1,
23
"tags": [
34
{
4-
"name": "custom-element",
5-
"description": "An example Custom Element. This documentation ends up in the\nREADME so describe how this elements works here.\n\nYou can event add examples on the element is used with Markdown.\n\n```\n<custom-element></custom-element>\n```",
5+
"name": "typing-test",
6+
"description": "An example Custom Element. This documentation ends up in the\nREADME so describe how this elements works here.\n\nYou can event add examples on the element is used with Markdown.\n\n```\n<typing-test></typing-test>\n```",
67
"attributes": []
78
}
89
]

0 commit comments

Comments
 (0)