Skip to content

Commit 13b41da

Browse files
committed
fix custom ellements json
1 parent 144b8b5 commit 13b41da

File tree

1 file changed

+47
-34
lines changed

1 file changed

+47
-34
lines changed

custom-elements.json

Lines changed: 47 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,53 @@
22
"schemaVersion": "1.0.0",
33
"readme": "README.md",
44
"modules": [
5-
{
6-
"kind": "javascript-module",
7-
"path": "dist/tab/TabWebcomponent.js",
8-
"declarations": [
9-
{
10-
"kind": "class",
11-
"description": "A Tab Control",
12-
"name": "TabWebcomponent",
13-
"events": [
14-
{
15-
"name": "selected-index-changed",
16-
"description": "Is raised when the selected index changes",
17-
"type": {
18-
"title": "String"
5+
{
6+
"kind": "javascript-module",
7+
"path": "dist/tab/TabWebcomponent.js",
8+
"declarations": [
9+
{
10+
"kind": "class",
11+
"description": "A Tab Control",
12+
"name": "TabWebcomponent",
13+
"members": [
14+
{
15+
"kind": "field",
16+
"name": "selectedIndex",
17+
"type": "number"
18+
}
19+
],
20+
"attributes": [
21+
{
22+
"name": "selected-index",
23+
"fieldName": "selectedIndex"
24+
}
25+
],
26+
"events": [
27+
{
28+
"name": "selected-index-changed",
29+
"description": "Is raised when the selected index changes",
30+
"type": {
31+
"title": "String"
32+
}
33+
}
34+
],
35+
"superclass": {
36+
"name": "BaseCustomWebComponentConstructorAppend"
37+
},
38+
"tagName": "node-projects-tab",
39+
"customElement": true
1940
}
20-
}
2141
],
22-
"superclass": {
23-
"name": "BaseCustomWebComponentConstructorAppend"
24-
},
25-
"tagName": "node-projects-tab",
26-
"customElement": true
27-
}
28-
],
29-
"exports": [
30-
{
31-
"kind": "custom-element-definition",
32-
"name": "node-projects-tab",
33-
"declaration": {
34-
"name": "TabWebcomponent",
35-
"module": "dist/tab/TabWebcomponent.js"
36-
}
37-
}
38-
]
39-
}
42+
"exports": [
43+
{
44+
"kind": "custom-element-definition",
45+
"name": "node-projects-tab",
46+
"declaration": {
47+
"name": "TabWebcomponent",
48+
"module": "dist/tab/TabWebcomponent.js"
49+
}
50+
}
51+
]
52+
}
4053
]
41-
}
54+
}

0 commit comments

Comments
 (0)