-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements.json
167 lines (167 loc) · 5.95 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
157
158
159
160
161
162
163
164
165
166
167
{
"schemaVersion": "1.0.0",
"readme": "./README.md",
"modules": [
{
"kind": "javascript-module",
"path": "index.js",
"declarations": [
{
"tagName": "fetch-for",
"name": "fetch-for",
"kind": "class",
"members": [
{
"kind": "field",
"name": "for",
"description": "Specifier for list of form associated or contentEditable peer elements that \nshould partake in forming the URL."
},
{
"kind": "field",
"name": "forRefs"
},
{
"kind": "field",
"name": "form",
"description": "Directed Scoped Specifier to a form element\nthat we should use to form the url and body from."
},
{
"kind": "field",
"name": "formData"
},
{
"kind": "field",
"name": "formRef"
},
{
"kind": "field",
"name": "formSpecifier"
},
{
"kind": "field",
"name": "href",
"description": "Url to invoke"
},
{
"kind": "field",
"name": "shadow",
"description": "If as=html, specify whether to (stream) the contents into an attached shadow DOM or not.\n Possible values:\n\n \n closed\n \n open\n \n\n "
},
{
"kind": "field",
"name": "targetSpecifier"
},
{
"kind": "field",
"name": "target",
"default": "",
"description": "Directed Scoped Specifier to the \nDOM element where the retrieved content should be applied."
},
{
"kind": "field",
"name": "when",
"default": "",
"description": "Directed Scoped Specifier to a \n(button) element, to delay submitting the fetch request until that button is clicked."
},
{
"kind": "field",
"name": "credentials",
"default": "omit",
"description": "Request credentials\n Possible values:\n\n \n include\n \n omit\n \n same-origin\n \n\n "
},
{
"kind": "field",
"name": "method",
"default": "GET",
"description": "The http verb to be used for the request\n Possible values:\n\n \n DELETE\n \n GET\n \n HEAD\n \n OPTIONS\n \n PATCH\n \n POST\n \n PUT\n \n TRACE\n \n\n "
},
{
"kind": "field",
"name": "as",
"default": "json",
"description": "Indicates whether to treat the response as HTML or JSON or Text\n Possible values:\n\n \n html\n \n json\n \n text\n \n\n "
},
{
"kind": "field",
"name": "noCache",
"default": false,
"description": "Do not cache results even if the url has been invoked before."
},
{
"kind": "field",
"name": "stream",
"default": false,
"description": "Stream the contents into the target element"
},
{
"kind": "field",
"name": "targetSelf",
"default": false
},
{
"kind": "field",
"name": "whenCount",
"default": 0
},
{
"kind": "field",
"name": "nextWhenCount",
"default": 1
}
],
"attributes": [
{
"name": "for",
"description": "Specifier for list of form associated or contentEditable peer elements that \nshould partake in forming the URL."
},
{
"name": "form",
"description": "Directed Scoped Specifier to a form element\nthat we should use to form the url and body from."
},
{
"name": "href",
"description": "Url to invoke"
},
{
"name": "target",
"description": "Directed Scoped Specifier to the \nDOM element where the retrieved content should be applied."
},
{
"name": "when",
"description": "Directed Scoped Specifier to a \n(button) element, to delay submitting the fetch request until that button is clicked."
},
{
"name": "credentials",
"description": "Request credentials"
},
{
"name": "method",
"description": "The http verb to be used for the request"
},
{
"name": "as",
"description": "Indicates whether to treat the response as HTML or JSON or Text"
},
{
"name": "no-cache",
"description": "Do not cache results even if the url has been invoked before."
},
{
"name": "stream",
"description": "Stream the contents into the target element"
},
{
"name": "target-self"
},
{
"name": "when-count"
},
{
"name": "next-when-count"
}
]
}
]
}
]
}