-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathcustom-elements.json
156 lines (156 loc) · 5.71 KB
/
custom-elements.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"version": 2,
"tags": [
{
"name": "expansion-panel",
"description": "A custom element similar to the HTML5 `<details>` element.",
"jsDoc": "/**\n * A custom element similar to the HTML5 `<details>` element.\n *\n * @element expansion-panel\n *\n * @slot - Slot fot panel content\n * @slot header - Slot for panel header\n *\n * @attr {Boolean} focused - State attribute set when element has focus.\n * @attr {Boolean} focus-ring - State attribute set when focused from keyboard.\n *\n * @fires opened-changed - Event fired when expanding / collapsing\n */",
"attributes": [
{
"name": "focused",
"description": "State attribute set when element has focus.",
"type": "boolean"
},
{
"name": "focus-ring",
"description": "State attribute set when focused from keyboard.",
"type": "boolean"
},
{
"name": "opened",
"description": "When true, the panel content is expanded and visible",
"jsDoc": "/**\n * When true, the panel content is expanded and visible\n */",
"type": "boolean"
},
{
"name": "disabled",
"description": "Disabled panel can not be expanded or collapsed",
"jsDoc": "/**\n * Disabled panel can not be expanded or collapsed\n */",
"type": "boolean"
}
],
"properties": [
{
"name": "opened",
"description": "When true, the panel content is expanded and visible",
"jsDoc": "/**\n * When true, the panel content is expanded and visible\n */",
"type": "boolean"
},
{
"name": "disabled",
"description": "Disabled panel can not be expanded or collapsed",
"jsDoc": "/**\n * Disabled panel can not be expanded or collapsed\n */",
"type": "boolean"
}
],
"events": [
{
"name": "opened-changed",
"description": "Event fired when expanding / collapsing"
}
],
"slots": [
{
"name": "header",
"description": "Slot for panel header"
},
{
"name": "",
"description": "Slot fot panel content"
}
]
},
{
"name": "fancy-accordion",
"description": "A custom element wrapping several `<expansion-panel>` elements.",
"jsDoc": "/**\n * A custom element wrapping several `<expansion-panel>` elements.\n *\n * @element fancy-accordion\n *\n * @slot - Slot fot panel elements.\n *\n * @fires opened-changed - Event fired when expanding / collapsing\n */",
"attributes": [
{
"name": "opened",
"description": "The index of the currently opened panel.",
"jsDoc": "/**\n * The index of the currently opened panel.\n */",
"type": "number | undefined"
}
],
"properties": [
{
"name": "opened",
"description": "The index of the currently opened panel.",
"jsDoc": "/**\n * The index of the currently opened panel.\n */",
"type": "number | undefined"
}
],
"events": [
{
"name": "opened-changed",
"description": "Event fired when expanding / collapsing"
}
],
"slots": [
{
"name": "",
"description": "Slot fot panel elements."
}
]
},
{
"name": "progress-bar",
"description": "A custom element similar to the HTML5 `<progress>` element.",
"jsDoc": "/**\n * A custom element similar to the HTML5 `<progress>` element.\n *\n * @element progress-bar\n */",
"attributes": [
{
"name": "value",
"description": "Current progress value.",
"jsDoc": "/**\n * Current progress value.\n */",
"type": "number"
},
{
"name": "min",
"description": "Minimum bound of the progress bar.",
"jsDoc": "/**\n * Minimum bound of the progress bar.\n */",
"type": "number"
},
{
"name": "max",
"description": "Maximum bound of the progress bar.",
"jsDoc": "/**\n * Maximum bound of the progress bar.\n */",
"type": "number"
},
{
"name": "indeterminate",
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
"jsDoc": "/**\n * Indeterminate state of the progress bar.\n * This property takes precedence over other state properties (min, max, value).\n */",
"type": "boolean"
}
],
"properties": [
{
"name": "value",
"description": "Current progress value.",
"jsDoc": "/**\n * Current progress value.\n */",
"type": "number"
},
{
"name": "min",
"description": "Minimum bound of the progress bar.",
"jsDoc": "/**\n * Minimum bound of the progress bar.\n */",
"type": "number"
},
{
"name": "max",
"description": "Maximum bound of the progress bar.",
"jsDoc": "/**\n * Maximum bound of the progress bar.\n */",
"type": "number"
},
{
"name": "indeterminate",
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
"jsDoc": "/**\n * Indeterminate state of the progress bar.\n * This property takes precedence over other state properties (min, max, value).\n */",
"type": "boolean"
}
],
"events": [],
"slots": []
}
]
}