mono-jsx 0.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsx-runtime.mjs +19 -0
- package/jsx.mjs +65 -0
- package/package.json +27 -0
- package/types/aria.d.ts +329 -0
- package/types/css.d.ts +12199 -0
- package/types/html.d.ts +1189 -0
- package/types/jsx-runtime.d.ts +9 -0
- package/types/jsx.d.ts +51 -0
- package/types/mono.d.ts +99 -0
package/types/html.d.ts
ADDED
|
@@ -0,0 +1,1189 @@
|
|
|
1
|
+
/// <reference lib="dom" />
|
|
2
|
+
|
|
3
|
+
import * as Aria from "./aria.d.ts";
|
|
4
|
+
import * as Mono from "./mono.d.ts";
|
|
5
|
+
|
|
6
|
+
export namespace HTML {
|
|
7
|
+
type Class = string | boolean | undefined | null | Record<string, boolean>;
|
|
8
|
+
type Target = "_blank" | "_self" | "_parent" | "_top";
|
|
9
|
+
type CrossOrigin = "anonymous" | "use-credentials";
|
|
10
|
+
type ReferrerPolicy =
|
|
11
|
+
| "no-referrer"
|
|
12
|
+
| "no-referrer-when-downgrade"
|
|
13
|
+
| "origin"
|
|
14
|
+
| "origin-when-cross-origin"
|
|
15
|
+
| "same-origin"
|
|
16
|
+
| "strict-origin"
|
|
17
|
+
| "strict-origin-when-cross-origin"
|
|
18
|
+
| "unsafe-url";
|
|
19
|
+
type InputType =
|
|
20
|
+
| "button"
|
|
21
|
+
| "checkbox"
|
|
22
|
+
| "color"
|
|
23
|
+
| "date"
|
|
24
|
+
| "datetime-local"
|
|
25
|
+
| "email"
|
|
26
|
+
| "file"
|
|
27
|
+
| "hidden"
|
|
28
|
+
| "image"
|
|
29
|
+
| "month"
|
|
30
|
+
| "number"
|
|
31
|
+
| "password"
|
|
32
|
+
| "radio"
|
|
33
|
+
| "range"
|
|
34
|
+
| "reset"
|
|
35
|
+
| "search"
|
|
36
|
+
| "submit"
|
|
37
|
+
| "tel"
|
|
38
|
+
| "text"
|
|
39
|
+
| "time"
|
|
40
|
+
| "url"
|
|
41
|
+
| "week";
|
|
42
|
+
|
|
43
|
+
/** Global HTML attributes from https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes */
|
|
44
|
+
interface GlobalAttributes<T extends EventTarget> extends EventAttributes<T>, Aria.Attributes, Mono.Attributes {
|
|
45
|
+
/** Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS). */
|
|
46
|
+
id?: string;
|
|
47
|
+
/** A space-separated list of the classes of the element. Classes allow CSS and JavaScript to select and access specific elements via the [class selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName). */
|
|
48
|
+
class?: Class | Class[];
|
|
49
|
+
/** Contains [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style) element have mainly the purpose of allowing for quick styling, for example for testing purposes. */
|
|
50
|
+
style?: string | Mono.CSSProperties;
|
|
51
|
+
/** An enumerated attribute indicating that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown. */
|
|
52
|
+
hidden?: boolean | "hidden" | "until-found";
|
|
53
|
+
/** An enumerated attribute indicating whether the element can be dragged, using the Drag and Drop API. */
|
|
54
|
+
draggable?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:
|
|
57
|
+
* - `true` or the empty string, which indicates that the element must be editable;
|
|
58
|
+
* - `false`, which indicates that the element must not be editable.
|
|
59
|
+
*/
|
|
60
|
+
contentEditable?: boolean;
|
|
61
|
+
/** Indicates that an element is to be focused on page load, or as soon as the `<dialog>` it is part of is displayed. **/
|
|
62
|
+
autoFocus?: boolean;
|
|
63
|
+
/** Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one "language tag" (made of hyphen-separated "language subtags") in the format defined in [RFC 5646](https://datatracker.ietf.org/doc/html/rfc5646). */
|
|
64
|
+
lang?: string;
|
|
65
|
+
/** Roles define the semantic meaning of content, allowing screen readers and other tools to present and support interaction with an object in a way that is consistent with user expectations of that type of object. */
|
|
66
|
+
role?: Aria.Role;
|
|
67
|
+
/** Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout. */
|
|
68
|
+
accesskey?: string;
|
|
69
|
+
/**
|
|
70
|
+
* An enumerated attribute indicating the directionality of the element's text. It can have the following values:
|
|
71
|
+
* - `ltr`, which means left to right and is to be used for languages that are written from the left to the right (like English);
|
|
72
|
+
* - `rtl`, which means right to left and is to be used for languages that are written from the right to the left (like Arabic);
|
|
73
|
+
* - `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element.
|
|
74
|
+
*/
|
|
75
|
+
dir?: "auto" | "rtl" | "ltr";
|
|
76
|
+
/**
|
|
77
|
+
* An integer attribute indicating if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:
|
|
78
|
+
* - a negative value means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
|
|
79
|
+
* - `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
|
|
80
|
+
* - a positive value which means should be focusable and reachable via sequential keyboard navigation; its relative order is defined by the value of the attribute: the sequential follow the increasing number of the `tabindex`. If several elements share the same tabindex, their relative order follows their relative position in the document).
|
|
81
|
+
*/
|
|
82
|
+
tabIndex?: number;
|
|
83
|
+
/** Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. */
|
|
84
|
+
title?: string;
|
|
85
|
+
/**
|
|
86
|
+
* An enumerated attribute that is used to specify whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:
|
|
87
|
+
* - empty string or yes, which indicates that the element will be translated.
|
|
88
|
+
* - `no`, which indicates that the element will not be translated.
|
|
89
|
+
*/
|
|
90
|
+
translate?: "yes" | "no";
|
|
91
|
+
/** Used to designate an element as a popover element (see [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)). */
|
|
92
|
+
popover?: boolean;
|
|
93
|
+
/** A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](https://developer.mozilla.org/en-US/docs/Web/CSS/::part) pseudo-element. */
|
|
94
|
+
part?: string;
|
|
95
|
+
/** The `slot` global attribute assigns a slot in a [shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the `<slot>` element whose name attribute's value matches that slot attribute's value. */
|
|
96
|
+
solt?: string;
|
|
97
|
+
/** Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements) for more details). */
|
|
98
|
+
is?: string;
|
|
99
|
+
/** A boolean value that makes the browser disregard user input events for the element. Useful when click events are present. */
|
|
100
|
+
inert?: boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Mono head specific attributes
|
|
104
|
+
interface HeadAttributes {
|
|
105
|
+
description?: string;
|
|
106
|
+
favicon?: string;
|
|
107
|
+
keywords?: string | string[];
|
|
108
|
+
ogImage?: string;
|
|
109
|
+
themeColor?: string;
|
|
110
|
+
title?: string;
|
|
111
|
+
viewport?: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
interface AnchorAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
115
|
+
/** Contains [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style) element have mainly the purpose of allowing for quick styling, for example for testing purposes. */
|
|
116
|
+
style?:
|
|
117
|
+
| string
|
|
118
|
+
| Mono.CSSProperties & {
|
|
119
|
+
/** when nav link activated. (Mono specific) */
|
|
120
|
+
":nav-active"?: Mono.BaseCSSProperties;
|
|
121
|
+
};
|
|
122
|
+
download?: string | true;
|
|
123
|
+
href?: string;
|
|
124
|
+
hrefLang?: string;
|
|
125
|
+
media?: string;
|
|
126
|
+
ping?: string;
|
|
127
|
+
referrerPolicy?: ReferrerPolicy;
|
|
128
|
+
rel?: string;
|
|
129
|
+
target?: Target;
|
|
130
|
+
type?: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
interface ImgAttributes<T extends EventTarget> extends GlobalAttributes<T>, LoadableElementAttributes<T> {
|
|
134
|
+
// fit?: "contain" | "cover" | "fill" | "none" | "scale-down"; // Mono specific
|
|
135
|
+
// quality?: number | string; // Mono specific
|
|
136
|
+
alt?: string;
|
|
137
|
+
crossOrigin?: CrossOrigin;
|
|
138
|
+
decoding?: "async" | "auto" | "sync";
|
|
139
|
+
height?: number | string;
|
|
140
|
+
isMap?: boolean;
|
|
141
|
+
loading?: "eager" | "lazy";
|
|
142
|
+
referRerpolicy?: ReferrerPolicy;
|
|
143
|
+
sizes?: string;
|
|
144
|
+
src?: string;
|
|
145
|
+
srcSet?: string;
|
|
146
|
+
useMap?: string;
|
|
147
|
+
width?: number | string;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
interface FormAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
151
|
+
"accept-charset"?: string;
|
|
152
|
+
action: string | ((data: FormData) => any); // Mono specific
|
|
153
|
+
autoComplete?: "on" | "off";
|
|
154
|
+
encType?: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
|
|
155
|
+
method?: "GET" | "POST" | "dialog";
|
|
156
|
+
name?: string;
|
|
157
|
+
noValidate?: boolean;
|
|
158
|
+
target?: Target;
|
|
159
|
+
onSubmit?: EventHandler<Event, T>;
|
|
160
|
+
onSubmitCapture?: EventHandler<Event, T>;
|
|
161
|
+
onReset?: EventHandler<Event, T>;
|
|
162
|
+
onResetCapture?: EventHandler<Event, T>;
|
|
163
|
+
onFormData?: EventHandler<Event, T>;
|
|
164
|
+
onFormDataCapture?: EventHandler<Event, T>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
interface InputAttributes<T extends EventTarget> extends GlobalAttributes<T>, InputElementAttributes<T> {
|
|
168
|
+
accept?: string;
|
|
169
|
+
alt?: string;
|
|
170
|
+
autoComplete?: string;
|
|
171
|
+
capture?: boolean | "user" | "environment";
|
|
172
|
+
checked?: boolean;
|
|
173
|
+
$checked?: boolean; // Mono specific
|
|
174
|
+
disabled?: boolean;
|
|
175
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
176
|
+
form?: string;
|
|
177
|
+
formAction?: FormAttributes<T>["action"];
|
|
178
|
+
formEncType?: FormAttributes<T>["encType"];
|
|
179
|
+
formMethod?: FormAttributes<T>["method"];
|
|
180
|
+
formNoValidate?: boolean;
|
|
181
|
+
formTarget?: Target;
|
|
182
|
+
height?: number | string;
|
|
183
|
+
list?: string;
|
|
184
|
+
max?: number | string;
|
|
185
|
+
maxLength?: number;
|
|
186
|
+
min?: number | string;
|
|
187
|
+
minLength?: number;
|
|
188
|
+
multiple?: boolean;
|
|
189
|
+
name?: string;
|
|
190
|
+
pattern?: string;
|
|
191
|
+
placeholder?: string;
|
|
192
|
+
readOnly?: boolean;
|
|
193
|
+
required?: boolean;
|
|
194
|
+
size?: number;
|
|
195
|
+
src?: string;
|
|
196
|
+
step?: number | string;
|
|
197
|
+
type?: InputType;
|
|
198
|
+
value?: string | ReadonlyArray<string> | number;
|
|
199
|
+
$value?: string | ReadonlyArray<string> | number; // Mono specific
|
|
200
|
+
width?: number | string;
|
|
201
|
+
// when the `type` is "search"
|
|
202
|
+
onSearch?: EventHandler<Event, T>;
|
|
203
|
+
onSearchCapture?: EventHandler<Event, T>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
interface OptionAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
207
|
+
disabled?: boolean;
|
|
208
|
+
label?: string;
|
|
209
|
+
selected?: boolean;
|
|
210
|
+
value?: string | number;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface SelectAttributes<T extends EventTarget> extends GlobalAttributes<T>, InputElementAttributes<T> {
|
|
214
|
+
autoComplete?: string;
|
|
215
|
+
disabled?: boolean;
|
|
216
|
+
form?: string;
|
|
217
|
+
multiple?: boolean;
|
|
218
|
+
name?: string;
|
|
219
|
+
required?: boolean;
|
|
220
|
+
size?: number;
|
|
221
|
+
value?: string | ReadonlyArray<string> | number;
|
|
222
|
+
$value?: string | ReadonlyArray<string> | number; // Mono specific
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
interface TextareaAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
226
|
+
autoComplete?: string;
|
|
227
|
+
cols?: number;
|
|
228
|
+
dirName?: string;
|
|
229
|
+
disabled?: boolean;
|
|
230
|
+
form?: string;
|
|
231
|
+
maxLength?: number;
|
|
232
|
+
minLength?: number;
|
|
233
|
+
name?: string;
|
|
234
|
+
placeholder?: string;
|
|
235
|
+
readOnly?: boolean;
|
|
236
|
+
required?: boolean;
|
|
237
|
+
rows?: number;
|
|
238
|
+
value?: string;
|
|
239
|
+
$value?: string; // Mono specific
|
|
240
|
+
wrap?: string;
|
|
241
|
+
onChange?: EventHandler<Event, T>;
|
|
242
|
+
onChangeCapture?: EventHandler<Event, T>;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
interface ButtonAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
246
|
+
disabled?: boolean;
|
|
247
|
+
form?: string;
|
|
248
|
+
formAction?: FormAttributes<T>["action"];
|
|
249
|
+
formEncType?: FormAttributes<T>["encType"];
|
|
250
|
+
formMethod?: FormAttributes<T>["method"];
|
|
251
|
+
formNoValidate?: boolean;
|
|
252
|
+
formTarget?: string;
|
|
253
|
+
name?: string;
|
|
254
|
+
type?: "submit" | "reset" | "button";
|
|
255
|
+
value?: string;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
interface DialogAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
259
|
+
open?: boolean;
|
|
260
|
+
onClose?: EventHandler<Event, T>;
|
|
261
|
+
onCancel?: EventHandler<Event, T>;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
interface AreaAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
265
|
+
alt?: string;
|
|
266
|
+
coords?: string;
|
|
267
|
+
download?: any;
|
|
268
|
+
href?: string;
|
|
269
|
+
hrefLang?: string;
|
|
270
|
+
media?: string;
|
|
271
|
+
referrerPolicy?: ReferrerPolicy;
|
|
272
|
+
shape?: string;
|
|
273
|
+
target?: string;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
interface BaseAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
277
|
+
href?: string;
|
|
278
|
+
target?: string;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
interface BlockquoteAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
282
|
+
cite?: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
interface CanvasAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
286
|
+
height?: number | string;
|
|
287
|
+
width?: number | string;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
interface ColAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
291
|
+
span?: number;
|
|
292
|
+
width?: number | string;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
interface ColgroupAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
296
|
+
span?: number;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
interface DataAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
300
|
+
value?: string | ReadonlyArray<string> | number;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
interface DetailsAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
304
|
+
open?: boolean;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
interface DelAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
308
|
+
cite?: string;
|
|
309
|
+
dateTime?: string;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
interface EmbedAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
313
|
+
height?: number | string;
|
|
314
|
+
src?: string;
|
|
315
|
+
type?: string;
|
|
316
|
+
width?: number | string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
interface FieldsetAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
320
|
+
disabled?: boolean;
|
|
321
|
+
form?: string;
|
|
322
|
+
name?: string;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
interface IframeAttributes<T extends EventTarget> extends GlobalAttributes<T>, LoadableElementAttributes<T> {
|
|
326
|
+
allow?: string;
|
|
327
|
+
allowFullScreen?: boolean;
|
|
328
|
+
allowTransparency?: boolean;
|
|
329
|
+
height?: number | string;
|
|
330
|
+
loading?: "eager" | "lazy";
|
|
331
|
+
name?: string;
|
|
332
|
+
referrerPolicy?: ReferrerPolicy;
|
|
333
|
+
sandbox?: string;
|
|
334
|
+
seamless?: boolean;
|
|
335
|
+
src?: string;
|
|
336
|
+
srcDoc?: string;
|
|
337
|
+
width?: number | string;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
interface InsAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
341
|
+
cite?: string;
|
|
342
|
+
dateTime?: string;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
interface KeygenAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
346
|
+
challenge?: string;
|
|
347
|
+
disabled?: boolean;
|
|
348
|
+
form?: string;
|
|
349
|
+
keyType?: string;
|
|
350
|
+
keyParams?: string;
|
|
351
|
+
name?: string;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
interface LabelAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
355
|
+
form?: string;
|
|
356
|
+
for?: string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
interface LiAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
360
|
+
value?: string | ReadonlyArray<string> | number;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
interface LinkAttributes<T extends EventTarget> extends GlobalAttributes<T>, LoadableElementAttributes<T> {
|
|
364
|
+
as?: string;
|
|
365
|
+
crossOrigin?: CrossOrigin;
|
|
366
|
+
fetchPriority?: "high" | "low" | "auto";
|
|
367
|
+
href?: string;
|
|
368
|
+
hrefLang?: string;
|
|
369
|
+
integrity?: string;
|
|
370
|
+
media?: string;
|
|
371
|
+
imageSrcSet?: string;
|
|
372
|
+
imageSizes?: string;
|
|
373
|
+
referrerPolicy?: ReferrerPolicy;
|
|
374
|
+
sizes?: string;
|
|
375
|
+
type?: string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
interface MapAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
379
|
+
name?: string;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
interface MenuAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
383
|
+
type?: string;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
interface AudioAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
387
|
+
autoPlay?: boolean;
|
|
388
|
+
controls?: boolean;
|
|
389
|
+
controlsList?: string;
|
|
390
|
+
crossOrigin?: CrossOrigin;
|
|
391
|
+
loop?: boolean;
|
|
392
|
+
mediaGroup?: string;
|
|
393
|
+
muted?: boolean;
|
|
394
|
+
playsInline?: boolean;
|
|
395
|
+
preload?: string;
|
|
396
|
+
src?: string;
|
|
397
|
+
onAbort?: EventHandler<Event, T>;
|
|
398
|
+
onAbortCapture?: EventHandler<Event, T>;
|
|
399
|
+
onCanPlay?: EventHandler<Event, T>;
|
|
400
|
+
onCanPlayCapture?: EventHandler<Event, T>;
|
|
401
|
+
onCanPlayThrough?: EventHandler<Event, T>;
|
|
402
|
+
onCanPlayThroughCapture?: EventHandler<Event, T>;
|
|
403
|
+
onDurationChange?: EventHandler<Event, T>;
|
|
404
|
+
onDurationChangeCapture?: EventHandler<Event, T>;
|
|
405
|
+
onEmptied?: EventHandler<Event, T>;
|
|
406
|
+
onEmptiedCapture?: EventHandler<Event, T>;
|
|
407
|
+
onEncrypted?: EventHandler<Event, T>;
|
|
408
|
+
onEncryptedCapture?: EventHandler<Event, T>;
|
|
409
|
+
onEnded?: EventHandler<Event, T>;
|
|
410
|
+
onEndedCapture?: EventHandler<Event, T>;
|
|
411
|
+
onLoadedData?: EventHandler<Event, T>;
|
|
412
|
+
onLoadedDataCapture?: EventHandler<Event, T>;
|
|
413
|
+
onLoadedMetadata?: EventHandler<Event, T>;
|
|
414
|
+
onLoadedMetadataCapture?: EventHandler<Event, T>;
|
|
415
|
+
onLoadStart?: EventHandler<Event, T>;
|
|
416
|
+
onLoadStartCapture?: EventHandler<Event, T>;
|
|
417
|
+
onPause?: EventHandler<Event, T>;
|
|
418
|
+
onPauseCapture?: EventHandler<Event, T>;
|
|
419
|
+
onPlay?: EventHandler<Event, T>;
|
|
420
|
+
onPlayCapture?: EventHandler<Event, T>;
|
|
421
|
+
onPlaying?: EventHandler<Event, T>;
|
|
422
|
+
onPlayingCapture?: EventHandler<Event, T>;
|
|
423
|
+
onProgress?: EventHandler<Event, T>;
|
|
424
|
+
onProgressCapture?: EventHandler<Event, T>;
|
|
425
|
+
onRateChange?: EventHandler<Event, T>;
|
|
426
|
+
onRateChangeCapture?: EventHandler<Event, T>;
|
|
427
|
+
onSeeked?: EventHandler<Event, T>;
|
|
428
|
+
onSeekedCapture?: EventHandler<Event, T>;
|
|
429
|
+
onSeeking?: EventHandler<Event, T>;
|
|
430
|
+
onSeekingCapture?: EventHandler<Event, T>;
|
|
431
|
+
onStalled?: EventHandler<Event, T>;
|
|
432
|
+
onStalledCapture?: EventHandler<Event, T>;
|
|
433
|
+
onSuspend?: EventHandler<Event, T>;
|
|
434
|
+
onSuspendCapture?: EventHandler<Event, T>;
|
|
435
|
+
onTimeUpdate?: EventHandler<Event, T>;
|
|
436
|
+
onTimeUpdateCapture?: EventHandler<Event, T>;
|
|
437
|
+
onVolumeChange?: EventHandler<Event, T>;
|
|
438
|
+
onVolumeChangeCapture?: EventHandler<Event, T>;
|
|
439
|
+
onWaiting?: EventHandler<Event, T>;
|
|
440
|
+
onWaitingCapture?: EventHandler<Event, T>;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
interface MetaAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
444
|
+
charSet?: string;
|
|
445
|
+
httpEquiv?: string;
|
|
446
|
+
name?: string;
|
|
447
|
+
media?: string;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
interface MeterAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
451
|
+
form?: string;
|
|
452
|
+
high?: number;
|
|
453
|
+
low?: number;
|
|
454
|
+
max?: number | string;
|
|
455
|
+
min?: number | string;
|
|
456
|
+
optimum?: number;
|
|
457
|
+
value?: string | ReadonlyArray<string> | number;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
interface QuoteAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
461
|
+
cite?: string;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
interface ObjectAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
465
|
+
classID?: string;
|
|
466
|
+
data?: string;
|
|
467
|
+
form?: string;
|
|
468
|
+
height?: number | string;
|
|
469
|
+
name?: string;
|
|
470
|
+
type?: string;
|
|
471
|
+
useMap?: string;
|
|
472
|
+
width?: number | string;
|
|
473
|
+
wmode?: string;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
interface OlAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
477
|
+
reversed?: boolean;
|
|
478
|
+
start?: number;
|
|
479
|
+
type?: "1" | "a" | "A" | "i" | "I";
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
interface OptgroupAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
483
|
+
disabled?: boolean;
|
|
484
|
+
label?: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
interface OutputAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
488
|
+
form?: string;
|
|
489
|
+
for?: string;
|
|
490
|
+
name?: string;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
interface ProgressAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
494
|
+
max?: number | string;
|
|
495
|
+
value?: string | ReadonlyArray<string> | number;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
interface SlotAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
499
|
+
name?: string;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
interface ScriptAttributes<T extends EventTarget> extends GlobalAttributes<T>, LoadableElementAttributes<T> {
|
|
503
|
+
async?: boolean;
|
|
504
|
+
crossOrigin?: CrossOrigin;
|
|
505
|
+
defer?: boolean;
|
|
506
|
+
integrity?: string;
|
|
507
|
+
noModule?: boolean;
|
|
508
|
+
referrerPolicy?: ReferrerPolicy;
|
|
509
|
+
src?: string;
|
|
510
|
+
type?: string;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
interface StyleAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
514
|
+
media?: string;
|
|
515
|
+
scoped?: boolean;
|
|
516
|
+
type?: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
interface SourceAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
520
|
+
height?: number | string;
|
|
521
|
+
media?: string;
|
|
522
|
+
sizes?: string;
|
|
523
|
+
src?: string;
|
|
524
|
+
srcSet?: string;
|
|
525
|
+
type?: string;
|
|
526
|
+
width?: number | string;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
interface TableAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
530
|
+
align?: "left" | "center" | "right";
|
|
531
|
+
bgcolor?: string;
|
|
532
|
+
border?: number;
|
|
533
|
+
cellPadding?: number | string;
|
|
534
|
+
cellSpacing?: number | string;
|
|
535
|
+
frame?: boolean;
|
|
536
|
+
rules?: "none" | "groups" | "rows" | "columns" | "all";
|
|
537
|
+
summary?: string;
|
|
538
|
+
width?: number | string;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
interface TdAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
542
|
+
colSpan?: number;
|
|
543
|
+
headers?: string;
|
|
544
|
+
rowSpan?: number;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
interface ThAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
548
|
+
colSpan?: number;
|
|
549
|
+
headers?: string;
|
|
550
|
+
rowSpan?: number;
|
|
551
|
+
scope?: string;
|
|
552
|
+
abbr?: string;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
interface TimeAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
556
|
+
dateTime?: string;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
interface TrackAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
560
|
+
default?: boolean;
|
|
561
|
+
kind?: string;
|
|
562
|
+
label?: string;
|
|
563
|
+
src?: string;
|
|
564
|
+
srcLang?: string;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
interface VideoAttributes<T extends EventTarget> extends AudioAttributes<T> {
|
|
568
|
+
height?: number | string;
|
|
569
|
+
playsInline?: boolean;
|
|
570
|
+
poster?: string;
|
|
571
|
+
width?: number | string;
|
|
572
|
+
disablePictureInPicture?: boolean;
|
|
573
|
+
disableRemotePlayback?: boolean;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
interface SVGSVGAttributes<T extends EventTarget> extends SVGAttributes<T>, Mono.AsyncComponentAttributes {
|
|
577
|
+
src?: string; // Mono specific
|
|
578
|
+
colorMap?: Record<string, string> | ((color: string) => string); // Mono specific
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
interface SVGAttributes<T extends EventTarget> extends GlobalAttributes<T> {
|
|
582
|
+
accentHeight?: number | string;
|
|
583
|
+
accumulate?: "none" | "sum";
|
|
584
|
+
additive?: "replace" | "sum";
|
|
585
|
+
alignmentBaseline?:
|
|
586
|
+
| "auto"
|
|
587
|
+
| "baseline"
|
|
588
|
+
| "before-edge"
|
|
589
|
+
| "text-before-edge"
|
|
590
|
+
| "middle"
|
|
591
|
+
| "central"
|
|
592
|
+
| "after-edge"
|
|
593
|
+
| "text-after-edge"
|
|
594
|
+
| "ideographic"
|
|
595
|
+
| "alphabetic"
|
|
596
|
+
| "hanging"
|
|
597
|
+
| "mathematical"
|
|
598
|
+
| "inherit";
|
|
599
|
+
allowReorder?: "no" | "yes";
|
|
600
|
+
alphabetic?: number | string;
|
|
601
|
+
amplitude?: number | string;
|
|
602
|
+
arabicForm?: "initial" | "medial" | "terminal" | "isolated";
|
|
603
|
+
ascent?: number | string;
|
|
604
|
+
attributeName?: string;
|
|
605
|
+
attributeType?: string;
|
|
606
|
+
autoReverse?: number | string;
|
|
607
|
+
azimuth?: number | string;
|
|
608
|
+
baseFrequency?: number | string;
|
|
609
|
+
baselineShift?: number | string;
|
|
610
|
+
baseProfile?: number | string;
|
|
611
|
+
bbox?: number | string;
|
|
612
|
+
begin?: number | string;
|
|
613
|
+
bias?: number | string;
|
|
614
|
+
by?: number | string;
|
|
615
|
+
calcMode?: number | string;
|
|
616
|
+
capHeight?: number | string;
|
|
617
|
+
clip?: number | string;
|
|
618
|
+
clipPath?: string;
|
|
619
|
+
clipPathUnits?: number | string;
|
|
620
|
+
clipRule?: number | string;
|
|
621
|
+
colorInterpolation?: number | string;
|
|
622
|
+
colorInterpolationFilters?: "auto" | "sRGB" | "linearRGB" | "inherit";
|
|
623
|
+
colorProfile?: number | string;
|
|
624
|
+
colorRendering?: number | string;
|
|
625
|
+
contentScriptType?: number | string;
|
|
626
|
+
contentStyleType?: number | string;
|
|
627
|
+
cursor?: number | string;
|
|
628
|
+
cx?: number | string;
|
|
629
|
+
cy?: number | string;
|
|
630
|
+
d?: string;
|
|
631
|
+
decelerate?: number | string;
|
|
632
|
+
descent?: number | string;
|
|
633
|
+
diffuseConstant?: number | string;
|
|
634
|
+
direction?: number | string;
|
|
635
|
+
display?: number | string;
|
|
636
|
+
divisor?: number | string;
|
|
637
|
+
dominantBaseline?: number | string;
|
|
638
|
+
dur?: number | string;
|
|
639
|
+
dx?: number | string;
|
|
640
|
+
dy?: number | string;
|
|
641
|
+
edgeMode?: number | string;
|
|
642
|
+
elevation?: number | string;
|
|
643
|
+
enableBackground?: number | string;
|
|
644
|
+
end?: number | string;
|
|
645
|
+
exponent?: number | string;
|
|
646
|
+
externalResourcesRequired?: number | string;
|
|
647
|
+
fill?: string;
|
|
648
|
+
fillOpacity?: number | string;
|
|
649
|
+
fillRule?: "nonzero" | "evenodd" | "inherit";
|
|
650
|
+
filter?: string;
|
|
651
|
+
filterRes?: number | string;
|
|
652
|
+
filterUnits?: number | string;
|
|
653
|
+
floodColor?: number | string;
|
|
654
|
+
floodOpacity?: number | string;
|
|
655
|
+
focusable?: number | string;
|
|
656
|
+
fontFamily?: string;
|
|
657
|
+
fontSize?: number | string;
|
|
658
|
+
fontSizeAdjust?: number | string;
|
|
659
|
+
fontStretch?: number | string;
|
|
660
|
+
fontStyle?: number | string;
|
|
661
|
+
fontVariant?: number | string;
|
|
662
|
+
fontWeight?: number | string;
|
|
663
|
+
format?: number | string;
|
|
664
|
+
from?: number | string;
|
|
665
|
+
fx?: number | string;
|
|
666
|
+
fy?: number | string;
|
|
667
|
+
g1?: number | string;
|
|
668
|
+
g2?: number | string;
|
|
669
|
+
glyphName?: number | string;
|
|
670
|
+
glyphOrientationHorizontal?: number | string;
|
|
671
|
+
glyphOrientationVertical?: number | string;
|
|
672
|
+
glyphRef?: number | string;
|
|
673
|
+
gradientTransform?: string;
|
|
674
|
+
gradientUnits?: string;
|
|
675
|
+
hanging?: number | string;
|
|
676
|
+
height?: number | string;
|
|
677
|
+
horizAdvX?: number | string;
|
|
678
|
+
horizOriginX?: number | string;
|
|
679
|
+
ideographic?: number | string;
|
|
680
|
+
imageRendering?: number | string;
|
|
681
|
+
in?: string;
|
|
682
|
+
in2?: number | string;
|
|
683
|
+
intercept?: number | string;
|
|
684
|
+
k?: number | string;
|
|
685
|
+
k1?: number | string;
|
|
686
|
+
k2?: number | string;
|
|
687
|
+
k3?: number | string;
|
|
688
|
+
k4?: number | string;
|
|
689
|
+
kernelMatrix?: number | string;
|
|
690
|
+
kernelUnitLength?: number | string;
|
|
691
|
+
kerning?: number | string;
|
|
692
|
+
keyPoints?: number | string;
|
|
693
|
+
keySplines?: number | string;
|
|
694
|
+
keyTimes?: number | string;
|
|
695
|
+
lengthAdjust?: number | string;
|
|
696
|
+
letterSpacing?: number | string;
|
|
697
|
+
lightingColor?: number | string;
|
|
698
|
+
limitingConeAngle?: number | string;
|
|
699
|
+
local?: number | string;
|
|
700
|
+
markerEnd?: string;
|
|
701
|
+
markerHeight?: number | string;
|
|
702
|
+
markerMid?: string;
|
|
703
|
+
markerStart?: string;
|
|
704
|
+
markerUnits?: number | string;
|
|
705
|
+
markerWidth?: number | string;
|
|
706
|
+
mask?: string;
|
|
707
|
+
maskContentUnits?: number | string;
|
|
708
|
+
maskUnits?: number | string;
|
|
709
|
+
mathematical?: number | string;
|
|
710
|
+
mode?: number | string;
|
|
711
|
+
numOctaves?: number | string;
|
|
712
|
+
offset?: number | string;
|
|
713
|
+
opacity?: number | string;
|
|
714
|
+
operator?: number | string;
|
|
715
|
+
order?: number | string;
|
|
716
|
+
orient?: number | string;
|
|
717
|
+
orientation?: number | string;
|
|
718
|
+
origin?: number | string;
|
|
719
|
+
overflow?: number | string;
|
|
720
|
+
overlinePosition?: number | string;
|
|
721
|
+
overlineThickness?: number | string;
|
|
722
|
+
paintOrder?: number | string;
|
|
723
|
+
panose1?: number | string;
|
|
724
|
+
pathLength?: number | string;
|
|
725
|
+
patternContentUnits?: string;
|
|
726
|
+
patternTransform?: number | string;
|
|
727
|
+
patternUnits?: string;
|
|
728
|
+
pointerEvents?: number | string;
|
|
729
|
+
points?: string;
|
|
730
|
+
pointsAtX?: number | string;
|
|
731
|
+
pointsAtY?: number | string;
|
|
732
|
+
pointsAtZ?: number | string;
|
|
733
|
+
preserveAlpha?: number | string;
|
|
734
|
+
preserveAspectRatio?: string;
|
|
735
|
+
primitiveUnits?: number | string;
|
|
736
|
+
r?: number | string;
|
|
737
|
+
radius?: number | string;
|
|
738
|
+
refX?: number | string;
|
|
739
|
+
refY?: number | string;
|
|
740
|
+
renderingIntent?: number | string;
|
|
741
|
+
repeatCount?: number | string;
|
|
742
|
+
repeatDur?: number | string;
|
|
743
|
+
requiredExtensions?: number | string;
|
|
744
|
+
requiredFeatures?: number | string;
|
|
745
|
+
restart?: number | string;
|
|
746
|
+
result?: string;
|
|
747
|
+
rotate?: number | string;
|
|
748
|
+
rx?: number | string;
|
|
749
|
+
ry?: number | string;
|
|
750
|
+
scale?: number | string;
|
|
751
|
+
seed?: number | string;
|
|
752
|
+
shapeRendering?: number | string;
|
|
753
|
+
slope?: number | string;
|
|
754
|
+
spacing?: number | string;
|
|
755
|
+
specularConstant?: number | string;
|
|
756
|
+
specularExponent?: number | string;
|
|
757
|
+
speed?: number | string;
|
|
758
|
+
spreadMethod?: string;
|
|
759
|
+
startOffset?: number | string;
|
|
760
|
+
stdDeviation?: number | string;
|
|
761
|
+
stemh?: number | string;
|
|
762
|
+
stemv?: number | string;
|
|
763
|
+
stitchTiles?: number | string;
|
|
764
|
+
stopColor?: string;
|
|
765
|
+
stopOpacity?: number | string;
|
|
766
|
+
strikethroughPosition?: number | string;
|
|
767
|
+
strikethroughThickness?: number | string;
|
|
768
|
+
string?: number | string;
|
|
769
|
+
stroke?: string;
|
|
770
|
+
strokeDasharray?: string | number;
|
|
771
|
+
strokeDashoffset?: string | number;
|
|
772
|
+
strokeLinecap?: "butt" | "round" | "square" | "inherit";
|
|
773
|
+
strokeLinejoin?: "miter" | "round" | "bevel" | "inherit";
|
|
774
|
+
strokeMiterlimit?: string | number;
|
|
775
|
+
strokeOpacity?: number | string;
|
|
776
|
+
strokeWidth?: number | string;
|
|
777
|
+
surfaceScale?: number | string;
|
|
778
|
+
systemLanguage?: number | string;
|
|
779
|
+
tableValues?: number | string;
|
|
780
|
+
targetX?: number | string;
|
|
781
|
+
targetY?: number | string;
|
|
782
|
+
textAnchor?: string;
|
|
783
|
+
textDecoration?: number | string;
|
|
784
|
+
textLength?: number | string;
|
|
785
|
+
textRendering?: number | string;
|
|
786
|
+
to?: number | string;
|
|
787
|
+
transform?: string;
|
|
788
|
+
u1?: number | string;
|
|
789
|
+
u2?: number | string;
|
|
790
|
+
underlinePosition?: number | string;
|
|
791
|
+
underlineThickness?: number | string;
|
|
792
|
+
unicode?: number | string;
|
|
793
|
+
unicodeBidi?: number | string;
|
|
794
|
+
unicodeRange?: number | string;
|
|
795
|
+
unitsPerEm?: number | string;
|
|
796
|
+
vAlphabetic?: number | string;
|
|
797
|
+
values?: string;
|
|
798
|
+
vectorEffect?: number | string;
|
|
799
|
+
version?: string;
|
|
800
|
+
vertAdvY?: number | string;
|
|
801
|
+
vertOriginX?: number | string;
|
|
802
|
+
vertOriginY?: number | string;
|
|
803
|
+
vHanging?: number | string;
|
|
804
|
+
vIdeographic?: number | string;
|
|
805
|
+
viewBox?: string;
|
|
806
|
+
viewTarget?: number | string;
|
|
807
|
+
visibility?: number | string;
|
|
808
|
+
vMathematical?: number | string;
|
|
809
|
+
width?: number | string;
|
|
810
|
+
widths?: number | string;
|
|
811
|
+
wordSpacing?: number | string;
|
|
812
|
+
writingMode?: number | string;
|
|
813
|
+
x?: number | string;
|
|
814
|
+
x1?: number | string;
|
|
815
|
+
x2?: number | string;
|
|
816
|
+
xChannelSelector?: string;
|
|
817
|
+
xHeight?: number | string;
|
|
818
|
+
xlinkActuate?: string;
|
|
819
|
+
xlinkArcrole?: string;
|
|
820
|
+
xlinkHref?: string;
|
|
821
|
+
xlinkRole?: string;
|
|
822
|
+
xlinkShow?: string;
|
|
823
|
+
xlinkTitle?: string;
|
|
824
|
+
xlinkType?: string;
|
|
825
|
+
xmlBase?: string;
|
|
826
|
+
xmlLang?: string;
|
|
827
|
+
xmlns?: string;
|
|
828
|
+
xmlnsXlink?: string;
|
|
829
|
+
xmlSpace?: string;
|
|
830
|
+
y?: number | string;
|
|
831
|
+
y1?: number | string;
|
|
832
|
+
y2?: number | string;
|
|
833
|
+
yChannelSelector?: string;
|
|
834
|
+
z?: number | string;
|
|
835
|
+
zoomAndPan?: string;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
type EventHandler<E extends Event, T extends EventTarget> = (
|
|
839
|
+
event: Omit<E, "target"> & { target: T },
|
|
840
|
+
) => void;
|
|
841
|
+
|
|
842
|
+
interface InputElementAttributes<T extends EventTarget> {
|
|
843
|
+
onChange?: EventHandler<Event, T>;
|
|
844
|
+
onChangeCapture?: EventHandler<Event, T>;
|
|
845
|
+
onInvalid?: EventHandler<Event, T>;
|
|
846
|
+
onInvalidCapture?: EventHandler<Event, T>;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
interface LoadableElementAttributes<T extends EventTarget> {
|
|
850
|
+
onLoad?: EventHandler<Event, T>;
|
|
851
|
+
onLoadCapture?: EventHandler<Event, T>;
|
|
852
|
+
onError?: EventHandler<Event, T>;
|
|
853
|
+
onErrorCapture?: EventHandler<Event, T>;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
interface EventAttributes<T extends EventTarget> {
|
|
857
|
+
// Input Events when using `contentEditable`
|
|
858
|
+
onBeforeInput?: EventHandler<Event, T>;
|
|
859
|
+
onBeforeInputCapture?: EventHandler<Event, T>;
|
|
860
|
+
onInput?: EventHandler<Event, T>;
|
|
861
|
+
onInputCapture?: EventHandler<Event, T>;
|
|
862
|
+
|
|
863
|
+
// Composition Events
|
|
864
|
+
onCompositionEnd?: EventHandler<CompositionEvent, T>;
|
|
865
|
+
onCompositionEndCapture?: EventHandler<CompositionEvent, T>;
|
|
866
|
+
onCompositionStart?: EventHandler<CompositionEvent, T>;
|
|
867
|
+
onCompositionStartCapture?: EventHandler<CompositionEvent, T>;
|
|
868
|
+
onCompositionUpdate?: EventHandler<CompositionEvent, T>;
|
|
869
|
+
onCompositionUpdateCapture?: EventHandler<CompositionEvent, T>;
|
|
870
|
+
|
|
871
|
+
// Clipboard Events
|
|
872
|
+
onCopy?: EventHandler<ClipboardEvent, T>;
|
|
873
|
+
onCopyCapture?: EventHandler<ClipboardEvent, T>;
|
|
874
|
+
onCut?: EventHandler<ClipboardEvent, T>;
|
|
875
|
+
onCutCapture?: EventHandler<ClipboardEvent, T>;
|
|
876
|
+
onPaste?: EventHandler<ClipboardEvent, T>;
|
|
877
|
+
onPasteCapture?: EventHandler<ClipboardEvent, T>;
|
|
878
|
+
|
|
879
|
+
// Details & Popover Events
|
|
880
|
+
onToggle?: EventHandler<Event, T>;
|
|
881
|
+
|
|
882
|
+
// Focus Events
|
|
883
|
+
onFocus?: EventHandler<FocusEvent, T>;
|
|
884
|
+
onFocusCapture?: EventHandler<FocusEvent, T>;
|
|
885
|
+
onFocusIn?: EventHandler<FocusEvent, T>;
|
|
886
|
+
onFocusInCapture?: EventHandler<FocusEvent, T>;
|
|
887
|
+
onFocusOut?: EventHandler<FocusEvent, T>;
|
|
888
|
+
onFocusOutCapture?: EventHandler<FocusEvent, T>;
|
|
889
|
+
onBlur?: EventHandler<FocusEvent, T>;
|
|
890
|
+
onBlurCapture?: EventHandler<FocusEvent, T>;
|
|
891
|
+
|
|
892
|
+
// Keyboard Events
|
|
893
|
+
onKeyDown?: EventHandler<KeyboardEvent, T>;
|
|
894
|
+
onKeyDownCapture?: EventHandler<KeyboardEvent, T>;
|
|
895
|
+
onKeyUp?: EventHandler<KeyboardEvent, T>;
|
|
896
|
+
onKeyUpCapture?: EventHandler<KeyboardEvent, T>;
|
|
897
|
+
|
|
898
|
+
// Mouse Events
|
|
899
|
+
onClick?: EventHandler<MouseEvent, T>;
|
|
900
|
+
onClickCapture?: EventHandler<MouseEvent, T>;
|
|
901
|
+
onContextMenu?: EventHandler<MouseEvent, T>;
|
|
902
|
+
onContextMenuCapture?: EventHandler<MouseEvent, T>;
|
|
903
|
+
onDblClick?: EventHandler<MouseEvent, T>;
|
|
904
|
+
onDblClickCapture?: EventHandler<MouseEvent, T>;
|
|
905
|
+
onMouseDown?: EventHandler<MouseEvent, T>;
|
|
906
|
+
onMouseDownCapture?: EventHandler<MouseEvent, T>;
|
|
907
|
+
onMouseEnter?: EventHandler<MouseEvent, T>;
|
|
908
|
+
onMouseEnterCapture?: EventHandler<MouseEvent, T>;
|
|
909
|
+
onMouseLeave?: EventHandler<MouseEvent, T>;
|
|
910
|
+
onMouseLeaveCapture?: EventHandler<MouseEvent, T>;
|
|
911
|
+
onMouseMove?: EventHandler<MouseEvent, T>;
|
|
912
|
+
onMouseMoveCapture?: EventHandler<MouseEvent, T>;
|
|
913
|
+
onMouseOut?: EventHandler<MouseEvent, T>;
|
|
914
|
+
onMouseOutCapture?: EventHandler<MouseEvent, T>;
|
|
915
|
+
onMouseOver?: EventHandler<MouseEvent, T>;
|
|
916
|
+
onMouseOverCapture?: EventHandler<MouseEvent, T>;
|
|
917
|
+
onMouseUp?: EventHandler<MouseEvent, T>;
|
|
918
|
+
onMouseUpCapture?: EventHandler<MouseEvent, T>;
|
|
919
|
+
|
|
920
|
+
// Drag Events
|
|
921
|
+
onDrag?: EventHandler<DragEvent, T>;
|
|
922
|
+
onDragCapture?: EventHandler<DragEvent, T>;
|
|
923
|
+
onDragEnd?: EventHandler<DragEvent, T>;
|
|
924
|
+
onDragEndCapture?: EventHandler<DragEvent, T>;
|
|
925
|
+
onDragEnter?: EventHandler<DragEvent, T>;
|
|
926
|
+
onDragEnterCapture?: EventHandler<DragEvent, T>;
|
|
927
|
+
onDragExit?: EventHandler<DragEvent, T>;
|
|
928
|
+
onDragExitCapture?: EventHandler<DragEvent, T>;
|
|
929
|
+
onDragLeave?: EventHandler<DragEvent, T>;
|
|
930
|
+
onDragLeaveCapture?: EventHandler<DragEvent, T>;
|
|
931
|
+
onDragOver?: EventHandler<DragEvent, T>;
|
|
932
|
+
onDragOverCapture?: EventHandler<DragEvent, T>;
|
|
933
|
+
onDragStart?: EventHandler<DragEvent, T>;
|
|
934
|
+
onDragStartCapture?: EventHandler<DragEvent, T>;
|
|
935
|
+
onDrop?: EventHandler<DragEvent, T>;
|
|
936
|
+
onDropCapture?: EventHandler<DragEvent, T>;
|
|
937
|
+
|
|
938
|
+
// Selection Events
|
|
939
|
+
onSelect?: EventHandler<Event, T>;
|
|
940
|
+
onSelectCapture?: EventHandler<Event, T>;
|
|
941
|
+
|
|
942
|
+
// Touch Events
|
|
943
|
+
onTouchCancel?: EventHandler<TouchEvent, T>;
|
|
944
|
+
onTouchCancelCapture?: EventHandler<TouchEvent, T>;
|
|
945
|
+
onTouchEnd?: EventHandler<TouchEvent, T>;
|
|
946
|
+
onTouchEndCapture?: EventHandler<TouchEvent, T>;
|
|
947
|
+
onTouchMove?: EventHandler<TouchEvent, T>;
|
|
948
|
+
onTouchMoveCapture?: EventHandler<TouchEvent, T>;
|
|
949
|
+
onTouchStart?: EventHandler<TouchEvent, T>;
|
|
950
|
+
onTouchStartCapture?: EventHandler<TouchEvent, T>;
|
|
951
|
+
|
|
952
|
+
// Pointer Events
|
|
953
|
+
onPointerOver?: EventHandler<PointerEvent, T>;
|
|
954
|
+
onPointerOverCapture?: EventHandler<PointerEvent, T>;
|
|
955
|
+
onPointerEnter?: EventHandler<PointerEvent, T>;
|
|
956
|
+
onPointerEnterCapture?: EventHandler<PointerEvent, T>;
|
|
957
|
+
onPointerDown?: EventHandler<PointerEvent, T>;
|
|
958
|
+
onPointerDownCapture?: EventHandler<PointerEvent, T>;
|
|
959
|
+
onPointerMove?: EventHandler<PointerEvent, T>;
|
|
960
|
+
onPointerMoveCapture?: EventHandler<PointerEvent, T>;
|
|
961
|
+
onPointerUp?: EventHandler<PointerEvent, T>;
|
|
962
|
+
onPointerUpCapture?: EventHandler<PointerEvent, T>;
|
|
963
|
+
onPointerCancel?: EventHandler<PointerEvent, T>;
|
|
964
|
+
onPointerCancelCapture?: EventHandler<PointerEvent, T>;
|
|
965
|
+
onPointerOut?: EventHandler<PointerEvent, T>;
|
|
966
|
+
onPointerOutCapture?: EventHandler<PointerEvent, T>;
|
|
967
|
+
onPointerLeave?: EventHandler<PointerEvent, T>;
|
|
968
|
+
onPointerLeaveCapture?: EventHandler<PointerEvent, T>;
|
|
969
|
+
onGotPointerCapture?: EventHandler<PointerEvent, T>;
|
|
970
|
+
onGotPointerCaptureCapture?: EventHandler<PointerEvent, T>;
|
|
971
|
+
onLostPointerCapture?: EventHandler<PointerEvent, T>;
|
|
972
|
+
onLostPointerCaptureCapture?: EventHandler<PointerEvent, T>;
|
|
973
|
+
|
|
974
|
+
// UI Events
|
|
975
|
+
onScroll?: EventHandler<UIEvent, T>;
|
|
976
|
+
onScrollCapture?: EventHandler<UIEvent, T>;
|
|
977
|
+
|
|
978
|
+
// Wheel Events
|
|
979
|
+
onWheel?: EventHandler<WheelEvent, T>;
|
|
980
|
+
onWheelCapture?: EventHandler<WheelEvent, T>;
|
|
981
|
+
|
|
982
|
+
// Animation Events
|
|
983
|
+
onAnimationStart?: EventHandler<AnimationEvent, T>;
|
|
984
|
+
onAnimationStartCapture?: EventHandler<AnimationEvent, T>;
|
|
985
|
+
onAnimationEnd?: EventHandler<AnimationEvent, T>;
|
|
986
|
+
onAnimationEndCapture?: EventHandler<AnimationEvent, T>;
|
|
987
|
+
onAnimationIteration?: EventHandler<AnimationEvent, T>;
|
|
988
|
+
onAnimationIterationCapture?: EventHandler<AnimationEvent, T>;
|
|
989
|
+
|
|
990
|
+
// Transition Events
|
|
991
|
+
onTransitionCancel?: EventHandler<TransitionEvent, T>;
|
|
992
|
+
onTransitionCancelCapture?: EventHandler<TransitionEvent, T>;
|
|
993
|
+
onTransitionEnd?: EventHandler<TransitionEvent, T>;
|
|
994
|
+
onTransitionEndCapture?: EventHandler<TransitionEvent, T>;
|
|
995
|
+
onTransitionRun?: EventHandler<TransitionEvent, T>;
|
|
996
|
+
onTransitionRunCapture?: EventHandler<TransitionEvent, T>;
|
|
997
|
+
onTransitionStart?: EventHandler<TransitionEvent, T>;
|
|
998
|
+
onTransitionStartCapture?: EventHandler<TransitionEvent, T>;
|
|
999
|
+
|
|
1000
|
+
// PictureInPicture Events
|
|
1001
|
+
onEnterPictureInPicture?: EventHandler<PictureInPictureEvent, T>;
|
|
1002
|
+
onEnterPictureInPictureCapture?: EventHandler<PictureInPictureEvent, T>;
|
|
1003
|
+
onLeavePictureInPicture?: EventHandler<PictureInPictureEvent, T>;
|
|
1004
|
+
onLeavePictureInPictureCapture?: EventHandler<PictureInPictureEvent, T>;
|
|
1005
|
+
onResize?: EventHandler<PictureInPictureEvent, T>;
|
|
1006
|
+
onResizeCapture?: EventHandler<PictureInPictureEvent, T>;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
export interface Elements {
|
|
1010
|
+
a: AnchorAttributes<HTMLAnchorElement>;
|
|
1011
|
+
abbr: GlobalAttributes<HTMLElement>;
|
|
1012
|
+
address: GlobalAttributes<HTMLElement>;
|
|
1013
|
+
area: AreaAttributes<HTMLAreaElement>;
|
|
1014
|
+
article: GlobalAttributes<HTMLElement>;
|
|
1015
|
+
aside: GlobalAttributes<HTMLElement>;
|
|
1016
|
+
audio: AudioAttributes<HTMLAudioElement>;
|
|
1017
|
+
b: GlobalAttributes<HTMLElement>;
|
|
1018
|
+
base: BaseAttributes<HTMLBaseElement>;
|
|
1019
|
+
bdi: GlobalAttributes<HTMLElement>;
|
|
1020
|
+
bdo: GlobalAttributes<HTMLElement>;
|
|
1021
|
+
big: GlobalAttributes<HTMLElement>;
|
|
1022
|
+
blockquote: BlockquoteAttributes<HTMLQuoteElement>;
|
|
1023
|
+
body: GlobalAttributes<HTMLBodyElement>;
|
|
1024
|
+
br: GlobalAttributes<HTMLBRElement>;
|
|
1025
|
+
button: ButtonAttributes<HTMLButtonElement>;
|
|
1026
|
+
canvas: CanvasAttributes<HTMLCanvasElement>;
|
|
1027
|
+
caption: GlobalAttributes<HTMLElement>;
|
|
1028
|
+
center: GlobalAttributes<HTMLElement>;
|
|
1029
|
+
cite: GlobalAttributes<HTMLElement>;
|
|
1030
|
+
code: GlobalAttributes<HTMLElement>;
|
|
1031
|
+
col: ColAttributes<HTMLTableColElement>;
|
|
1032
|
+
colgroup: ColgroupAttributes<HTMLTableColElement>;
|
|
1033
|
+
data: DataAttributes<HTMLDataElement>;
|
|
1034
|
+
datalist: GlobalAttributes<HTMLDataListElement>;
|
|
1035
|
+
dd: GlobalAttributes<HTMLElement>;
|
|
1036
|
+
del: DelAttributes<HTMLModElement>;
|
|
1037
|
+
details: DetailsAttributes<HTMLDetailsElement>;
|
|
1038
|
+
dfn: GlobalAttributes<HTMLElement>;
|
|
1039
|
+
dialog: DialogAttributes<HTMLDialogElement>;
|
|
1040
|
+
div: GlobalAttributes<HTMLDivElement>;
|
|
1041
|
+
dl: GlobalAttributes<HTMLDListElement>;
|
|
1042
|
+
dt: GlobalAttributes<HTMLElement>;
|
|
1043
|
+
em: GlobalAttributes<HTMLElement>;
|
|
1044
|
+
embed: EmbedAttributes<HTMLEmbedElement>;
|
|
1045
|
+
fieldset: FieldsetAttributes<HTMLFieldSetElement>;
|
|
1046
|
+
figcaption: GlobalAttributes<HTMLElement>;
|
|
1047
|
+
figure: GlobalAttributes<HTMLElement>;
|
|
1048
|
+
footer: GlobalAttributes<HTMLElement>;
|
|
1049
|
+
form: FormAttributes<HTMLFormElement>;
|
|
1050
|
+
h1: GlobalAttributes<HTMLHeadingElement>;
|
|
1051
|
+
h2: GlobalAttributes<HTMLHeadingElement>;
|
|
1052
|
+
h3: GlobalAttributes<HTMLHeadingElement>;
|
|
1053
|
+
h4: GlobalAttributes<HTMLHeadingElement>;
|
|
1054
|
+
h5: GlobalAttributes<HTMLHeadingElement>;
|
|
1055
|
+
h6: GlobalAttributes<HTMLHeadingElement>;
|
|
1056
|
+
head: HeadAttributes;
|
|
1057
|
+
header: GlobalAttributes<HTMLElement>;
|
|
1058
|
+
hgroup: GlobalAttributes<HTMLElement>;
|
|
1059
|
+
hr: GlobalAttributes<HTMLHRElement>;
|
|
1060
|
+
html: GlobalAttributes<HTMLHtmlElement>;
|
|
1061
|
+
i: GlobalAttributes<HTMLElement>;
|
|
1062
|
+
iframe: IframeAttributes<HTMLIFrameElement>;
|
|
1063
|
+
img: ImgAttributes<HTMLImageElement>;
|
|
1064
|
+
input: InputAttributes<HTMLInputElement>;
|
|
1065
|
+
ins: InsAttributes<HTMLModElement>;
|
|
1066
|
+
kbd: GlobalAttributes<HTMLElement>;
|
|
1067
|
+
keygen: KeygenAttributes<HTMLElement>;
|
|
1068
|
+
label: LabelAttributes<HTMLLabelElement>;
|
|
1069
|
+
legend: GlobalAttributes<HTMLLegendElement>;
|
|
1070
|
+
li: LiAttributes<HTMLLIElement>;
|
|
1071
|
+
link: LinkAttributes<HTMLLinkElement>;
|
|
1072
|
+
main: GlobalAttributes<HTMLElement>;
|
|
1073
|
+
map: MapAttributes<HTMLMapElement>;
|
|
1074
|
+
mark: GlobalAttributes<HTMLElement>;
|
|
1075
|
+
menu: MenuAttributes<HTMLElement>;
|
|
1076
|
+
meta: MetaAttributes<HTMLMetaElement>;
|
|
1077
|
+
meter: MeterAttributes<HTMLMeterElement>;
|
|
1078
|
+
nav: GlobalAttributes<HTMLElement>;
|
|
1079
|
+
noindex: GlobalAttributes<HTMLElement>;
|
|
1080
|
+
noscript: GlobalAttributes<HTMLElement>;
|
|
1081
|
+
object: ObjectAttributes<HTMLObjectElement>;
|
|
1082
|
+
ol: OlAttributes<HTMLOListElement>;
|
|
1083
|
+
optgroup: OptgroupAttributes<HTMLOptGroupElement>;
|
|
1084
|
+
option: OptionAttributes<HTMLOptionElement>;
|
|
1085
|
+
output: OutputAttributes<HTMLOutputElement>;
|
|
1086
|
+
p: GlobalAttributes<HTMLParagraphElement>;
|
|
1087
|
+
picture: GlobalAttributes<HTMLElement>;
|
|
1088
|
+
pre: GlobalAttributes<HTMLPreElement>;
|
|
1089
|
+
progress: ProgressAttributes<HTMLProgressElement>;
|
|
1090
|
+
q: QuoteAttributes<HTMLQuoteElement>;
|
|
1091
|
+
rp: GlobalAttributes<HTMLElement>;
|
|
1092
|
+
rt: GlobalAttributes<HTMLElement>;
|
|
1093
|
+
ruby: GlobalAttributes<HTMLElement>;
|
|
1094
|
+
s: GlobalAttributes<HTMLElement>;
|
|
1095
|
+
samp: GlobalAttributes<HTMLElement>;
|
|
1096
|
+
search: GlobalAttributes<HTMLElement>;
|
|
1097
|
+
slot: SlotAttributes<HTMLSlotElement>;
|
|
1098
|
+
script: ScriptAttributes<HTMLScriptElement>;
|
|
1099
|
+
section: GlobalAttributes<HTMLElement>;
|
|
1100
|
+
select: SelectAttributes<HTMLSelectElement>;
|
|
1101
|
+
small: GlobalAttributes<HTMLElement>;
|
|
1102
|
+
source: SourceAttributes<HTMLSourceElement>;
|
|
1103
|
+
span: GlobalAttributes<HTMLSpanElement>;
|
|
1104
|
+
strong: GlobalAttributes<HTMLElement>;
|
|
1105
|
+
style: StyleAttributes<HTMLStyleElement>;
|
|
1106
|
+
sub: GlobalAttributes<HTMLElement>;
|
|
1107
|
+
summary: GlobalAttributes<HTMLElement>;
|
|
1108
|
+
sup: GlobalAttributes<HTMLElement>;
|
|
1109
|
+
table: TableAttributes<HTMLTableElement>;
|
|
1110
|
+
template: GlobalAttributes<HTMLTemplateElement>;
|
|
1111
|
+
tbody: GlobalAttributes<HTMLTableSectionElement>;
|
|
1112
|
+
td: TdAttributes<HTMLTableCellElement>;
|
|
1113
|
+
textarea: TextareaAttributes<HTMLTextAreaElement>;
|
|
1114
|
+
tfoot: GlobalAttributes<HTMLTableSectionElement>;
|
|
1115
|
+
th: ThAttributes<HTMLTableCellElement>;
|
|
1116
|
+
thead: GlobalAttributes<HTMLTableSectionElement>;
|
|
1117
|
+
time: TimeAttributes<HTMLTimeElement>;
|
|
1118
|
+
title: GlobalAttributes<HTMLTitleElement>;
|
|
1119
|
+
tr: GlobalAttributes<HTMLTableRowElement>;
|
|
1120
|
+
track: TrackAttributes<HTMLTrackElement>;
|
|
1121
|
+
u: GlobalAttributes<HTMLElement>;
|
|
1122
|
+
ul: GlobalAttributes<HTMLUListElement>;
|
|
1123
|
+
var: GlobalAttributes<HTMLElement>;
|
|
1124
|
+
video: VideoAttributes<HTMLVideoElement>;
|
|
1125
|
+
wbr: GlobalAttributes<HTMLElement>;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
export interface SVGElements {
|
|
1129
|
+
svg: SVGSVGAttributes<SVGSVGElement>;
|
|
1130
|
+
animate: SVGAttributes<SVGAnimateElement>;
|
|
1131
|
+
circle: SVGAttributes<SVGCircleElement>;
|
|
1132
|
+
animateMotion: SVGAttributes<SVGAnimateMotionElement>;
|
|
1133
|
+
animateTransform: SVGAttributes<SVGAnimateTransformElement>;
|
|
1134
|
+
clipPath: SVGAttributes<SVGClipPathElement>;
|
|
1135
|
+
defs: SVGAttributes<SVGDefsElement>;
|
|
1136
|
+
desc: SVGAttributes<SVGDescElement>;
|
|
1137
|
+
ellipse: SVGAttributes<SVGEllipseElement>;
|
|
1138
|
+
feBlend: SVGAttributes<SVGFEBlendElement>;
|
|
1139
|
+
feColorMatrix: SVGAttributes<SVGFEColorMatrixElement>;
|
|
1140
|
+
feComponentTransfer: SVGAttributes<SVGFEComponentTransferElement>;
|
|
1141
|
+
feComposite: SVGAttributes<SVGFECompositeElement>;
|
|
1142
|
+
feConvolveMatrix: SVGAttributes<SVGFEConvolveMatrixElement>;
|
|
1143
|
+
feDiffuseLighting: SVGAttributes<SVGFEDiffuseLightingElement>;
|
|
1144
|
+
feDisplacementMap: SVGAttributes<SVGFEDisplacementMapElement>;
|
|
1145
|
+
feDistantLight: SVGAttributes<SVGFEDistantLightElement>;
|
|
1146
|
+
feDropShadow: SVGAttributes<SVGFEDropShadowElement>;
|
|
1147
|
+
feFlood: SVGAttributes<SVGFEFloodElement>;
|
|
1148
|
+
feFuncA: SVGAttributes<SVGFEFuncAElement>;
|
|
1149
|
+
feFuncB: SVGAttributes<SVGFEFuncBElement>;
|
|
1150
|
+
feFuncG: SVGAttributes<SVGFEFuncGElement>;
|
|
1151
|
+
feFuncR: SVGAttributes<SVGFEFuncRElement>;
|
|
1152
|
+
feGaussianBlur: SVGAttributes<SVGFEGaussianBlurElement>;
|
|
1153
|
+
feImage: SVGAttributes<SVGFEImageElement>;
|
|
1154
|
+
feMerge: SVGAttributes<SVGFEMergeElement>;
|
|
1155
|
+
feMergeNode: SVGAttributes<SVGFEMergeNodeElement>;
|
|
1156
|
+
feMorphology: SVGAttributes<SVGFEMorphologyElement>;
|
|
1157
|
+
feOffset: SVGAttributes<SVGFEOffsetElement>;
|
|
1158
|
+
fePointLight: SVGAttributes<SVGFEPointLightElement>;
|
|
1159
|
+
feSpecularLighting: SVGAttributes<SVGFESpecularLightingElement>;
|
|
1160
|
+
feSpotLight: SVGAttributes<SVGFESpotLightElement>;
|
|
1161
|
+
feTile: SVGAttributes<SVGFETileElement>;
|
|
1162
|
+
feTurbulence: SVGAttributes<SVGFETurbulenceElement>;
|
|
1163
|
+
filter: SVGAttributes<SVGFilterElement>;
|
|
1164
|
+
foreignObject: SVGAttributes<SVGForeignObjectElement>;
|
|
1165
|
+
g: SVGAttributes<SVGGElement>;
|
|
1166
|
+
image: SVGAttributes<SVGImageElement>;
|
|
1167
|
+
line: SVGAttributes<SVGLineElement>;
|
|
1168
|
+
linearGradient: SVGAttributes<SVGLinearGradientElement>;
|
|
1169
|
+
marker: SVGAttributes<SVGMarkerElement>;
|
|
1170
|
+
mask: SVGAttributes<SVGMaskElement>;
|
|
1171
|
+
metadata: SVGAttributes<SVGMetadataElement>;
|
|
1172
|
+
mpath: SVGAttributes<SVGMPathElement>;
|
|
1173
|
+
path: SVGAttributes<SVGPathElement>;
|
|
1174
|
+
pattern: SVGAttributes<SVGPatternElement>;
|
|
1175
|
+
polygon: SVGAttributes<SVGPolygonElement>;
|
|
1176
|
+
polyline: SVGAttributes<SVGPolylineElement>;
|
|
1177
|
+
radialGradient: SVGAttributes<SVGRadialGradientElement>;
|
|
1178
|
+
rect: SVGAttributes<SVGRectElement>;
|
|
1179
|
+
set: SVGAttributes<SVGSetElement>;
|
|
1180
|
+
stop: SVGAttributes<SVGStopElement>;
|
|
1181
|
+
switch: SVGAttributes<SVGSwitchElement>;
|
|
1182
|
+
symbol: SVGAttributes<SVGSymbolElement>;
|
|
1183
|
+
text: SVGAttributes<SVGTextElement>;
|
|
1184
|
+
textPath: SVGAttributes<SVGTextPathElement>;
|
|
1185
|
+
tspan: SVGAttributes<SVGTSpanElement>;
|
|
1186
|
+
use: SVGAttributes<SVGUseElement>;
|
|
1187
|
+
view: SVGAttributes<SVGViewElement>;
|
|
1188
|
+
}
|
|
1189
|
+
}
|