@arcgis/lumina 4.32.0-next.7 → 4.32.0-next.71

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.
@@ -0,0 +1,2300 @@
1
+ /**
2
+ * Parts of this file are auto-generated or auto-updated by the `generate-jsx-types`
3
+ * script.
4
+ */
5
+ import type { DirectiveResult } from "lit/directive.js";
6
+ import type { ClassInfo, ClassMapDirective } from "lit/directives/class-map.js";
7
+ import type { StyleMapDirective } from "lit/directives/style-map.js";
8
+ import type { ChangeEventHandlerUnion, CustomAttributes, EventHandlerUnion, FocusEventHandlerUnion, InputEventHandlerUnion } from "./baseTypes";
9
+ import type { JsxNode } from "./types";
10
+ import type { Properties as CssProperties } from "csstype";
11
+ /**
12
+ * Some attributes accepts numbers as a number or as a string, while also
13
+ * accepting "inherit". Define the type as `number | string | "inherit"` rather
14
+ * than `number | string` to keep things more self-documenting.
15
+ */
16
+ type HtmlAutocapitalize = "characters" | "none" | "off" | "on" | "sentences" | "words";
17
+ type HtmlDir = "auto" | "ltr" | "rtl";
18
+ type HtmlFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
19
+ type HtmlFormMethod = "dialog" | "get" | "post";
20
+ type HtmlCrossOrigin = "" | "anonymous" | "use-credentials";
21
+ type HtmlIframeSandbox = "allow-downloads-without-user-activation" | "allow-downloads" | "allow-forms" | "allow-modals" | "allow-orientation-lock" | "allow-pointer-lock" | "allow-popups-to-escape-sandbox" | "allow-popups" | "allow-presentation" | "allow-same-origin" | "allow-scripts" | "allow-storage-access-by-user-activation" | "allow-top-navigation-by-user-activation" | "allow-top-navigation-to-custom-protocols" | "allow-top-navigation";
22
+ type HtmlLinkAs = "audio" | "document" | "embed" | "fetch" | "font" | "image" | "object" | "script" | "style" | "track" | "video" | "worker";
23
+ /**
24
+ * Attributes that are common to HTMLElements and SVGElements
25
+ *
26
+ * @remarks
27
+ * Name uses consecutive capitalized letters to avoid a breaking change. We can
28
+ * batch breaking changes in a single release in the future.
29
+ */
30
+ export interface DOMAttributes<T = HTMLElement> extends CustomAttributes<T>, GlobalEventHandlersCamelCase<T> {
31
+ children?: JsxNode;
32
+ class?: ClassInfo | DirectiveResult<typeof ClassMapDirective> | string;
33
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
34
+ innerHTML?: string;
35
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) */
36
+ innerText?: number | string;
37
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
38
+ textContent?: number | string;
39
+ }
40
+ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
41
+ /**
42
+ * Fires when the user aborts the download.
43
+ * @param ev The event.
44
+ *
45
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event)
46
+ */
47
+ onAbort?: EventHandlerUnion<T, UIEvent>;
48
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event) */
49
+ onAnimationCancel?: EventHandlerUnion<T, AnimationEvent>;
50
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event) */
51
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent>;
52
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event) */
53
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent>;
54
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */
55
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent>;
56
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
57
+ onAuxClick?: EventHandlerUnion<T, MouseEvent>;
58
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
59
+ onBeforeInput?: InputEventHandlerUnion<T, InputEvent>;
60
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
61
+ onBeforeToggle?: EventHandlerUnion<T, Event>;
62
+ /**
63
+ * Fires when the object loses the input focus.
64
+ * @param ev The focus event.
65
+ *
66
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
67
+ */
68
+ onBlur?: FocusEventHandlerUnion<T, FocusEvent>;
69
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */
70
+ onCancel?: EventHandlerUnion<T, Event>;
71
+ /**
72
+ * Occurs when playback is possible, but would require further buffering.
73
+ * @param ev The event.
74
+ *
75
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event)
76
+ */
77
+ onCanPlay?: EventHandlerUnion<T, Event>;
78
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event) */
79
+ onCanPlayThrough?: EventHandlerUnion<T, Event>;
80
+ /**
81
+ * Fires when the contents of the object or selection have changed.
82
+ * @param ev The event.
83
+ *
84
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event)
85
+ */
86
+ onChange?: ChangeEventHandlerUnion<T, Event>;
87
+ /**
88
+ * Fires when the user clicks the left mouse button on the object
89
+ * @param ev The mouse event.
90
+ *
91
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
92
+ */
93
+ onClick?: EventHandlerUnion<T, PointerEvent>;
94
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
95
+ onClose?: EventHandlerUnion<T, Event>;
96
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/compositionend_event) */
97
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent>;
98
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/compositionstart_event) */
99
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent>;
100
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/compositionupdate_event) */
101
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent>;
102
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
103
+ onContextLost?: EventHandlerUnion<T, Event>;
104
+ /**
105
+ * Fires when the user clicks the right mouse button in the client area, opening the context menu.
106
+ * @param ev The mouse event.
107
+ *
108
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
109
+ */
110
+ onContextMenu?: EventHandlerUnion<T, MouseEvent>;
111
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
112
+ onContextRestored?: EventHandlerUnion<T, Event>;
113
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
114
+ onCopy?: EventHandlerUnion<T, ClipboardEvent>;
115
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */
116
+ onCueChange?: EventHandlerUnion<T, Event>;
117
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event) */
118
+ onCut?: EventHandlerUnion<T, ClipboardEvent>;
119
+ /**
120
+ * Fires when the user double-clicks the object.
121
+ * @param ev The mouse event.
122
+ *
123
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event)
124
+ */
125
+ onDblClick?: EventHandlerUnion<T, MouseEvent>;
126
+ /**
127
+ * Fires on the source object continuously during a drag operation.
128
+ * @param ev The event.
129
+ *
130
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event)
131
+ */
132
+ onDrag?: EventHandlerUnion<T, DragEvent>;
133
+ /**
134
+ * Fires on the source object when the user releases the mouse at the close of a drag operation.
135
+ * @param ev The event.
136
+ *
137
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event)
138
+ */
139
+ onDragEnd?: EventHandlerUnion<T, DragEvent>;
140
+ /**
141
+ * Fires on the target element when the user drags the object to a valid drop target.
142
+ * @param ev The drag event.
143
+ *
144
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event)
145
+ */
146
+ onDragEnter?: EventHandlerUnion<T, DragEvent>;
147
+ /**
148
+ * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
149
+ * @param ev The drag event.
150
+ *
151
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event)
152
+ */
153
+ onDragLeave?: EventHandlerUnion<T, DragEvent>;
154
+ /**
155
+ * Fires on the target element continuously while the user drags the object over a valid drop target.
156
+ * @param ev The event.
157
+ *
158
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event)
159
+ */
160
+ onDragOver?: EventHandlerUnion<T, DragEvent>;
161
+ /**
162
+ * Fires on the source object when the user starts to drag a text selection or selected object.
163
+ * @param ev The event.
164
+ *
165
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event)
166
+ */
167
+ onDragStart?: EventHandlerUnion<T, DragEvent>;
168
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event) */
169
+ onDrop?: EventHandlerUnion<T, DragEvent>;
170
+ /**
171
+ * Occurs when the duration attribute is updated.
172
+ * @param ev The event.
173
+ *
174
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event)
175
+ */
176
+ onDurationChange?: EventHandlerUnion<T, Event>;
177
+ /**
178
+ * Occurs when the media element is reset to its initial state.
179
+ * @param ev The event.
180
+ *
181
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event)
182
+ */
183
+ onEmptied?: EventHandlerUnion<T, Event>;
184
+ /**
185
+ * Occurs when the end of playback is reached.
186
+ * @param ev The event
187
+ *
188
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event)
189
+ */
190
+ onEnded?: EventHandlerUnion<T, Event>;
191
+ /**
192
+ * Fires when an error occurs during object loading.
193
+ * @param ev The event.
194
+ *
195
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event)
196
+ */
197
+ onError?: EventHandlerUnion<T, Event>;
198
+ /**
199
+ * Fires when the object receives focus.
200
+ * @param ev The event.
201
+ *
202
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event)
203
+ */
204
+ onFocus?: FocusEventHandlerUnion<T, FocusEvent>;
205
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Element/focusin_event) */
206
+ onFocusIn?: FocusEventHandlerUnion<T, FocusEvent>;
207
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Element/focusout_event) */
208
+ onFocusOut?: FocusEventHandlerUnion<T, FocusEvent>;
209
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */
210
+ onFormData?: EventHandlerUnion<T, FormDataEvent>;
211
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenchange_event) */
212
+ onFullscreenChange?: EventHandlerUnion<T, Event>;
213
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenerror_event) */
214
+ onFullscreenError?: EventHandlerUnion<T, Event>;
215
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
216
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent>;
217
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
218
+ onInput?: InputEventHandlerUnion<T, InputEvent>;
219
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
220
+ onInvalid?: EventHandlerUnion<T, Event>;
221
+ /**
222
+ * Fires when the user presses a key.
223
+ * @param ev The keyboard event
224
+ *
225
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event)
226
+ */
227
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent>;
228
+ /**
229
+ * Fires when the user releases a key.
230
+ * @param ev The keyboard event
231
+ *
232
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event)
233
+ */
234
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent>;
235
+ /**
236
+ * Fires immediately after the browser loads the object.
237
+ * @param ev The event.
238
+ *
239
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
240
+ */
241
+ onLoad?: EventHandlerUnion<T, Event>;
242
+ /**
243
+ * Occurs when media data is loaded at the current playback position.
244
+ * @param ev The event.
245
+ *
246
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event)
247
+ */
248
+ onLoadedData?: EventHandlerUnion<T, Event>;
249
+ /**
250
+ * Occurs when the duration and dimensions of the media have been determined.
251
+ * @param ev The event.
252
+ *
253
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event)
254
+ */
255
+ onLoadedMetadata?: EventHandlerUnion<T, Event>;
256
+ /**
257
+ * Occurs when Internet Explorer begins looking for media data.
258
+ * @param ev The event.
259
+ *
260
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
261
+ */
262
+ onLoadStart?: EventHandlerUnion<T, Event>;
263
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */
264
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent>;
265
+ /**
266
+ * Fires when the user clicks the object with either mouse button.
267
+ * @param ev The mouse event.
268
+ *
269
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event)
270
+ */
271
+ onMouseDown?: EventHandlerUnion<T, MouseEvent>;
272
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event) */
273
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent>;
274
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event) */
275
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent>;
276
+ /**
277
+ * Fires when the user moves the mouse over the object.
278
+ * @param ev The mouse event.
279
+ *
280
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event)
281
+ */
282
+ onMouseMove?: EventHandlerUnion<T, MouseEvent>;
283
+ /**
284
+ * Fires when the user moves the mouse pointer outside the boundaries of the object.
285
+ * @param ev The mouse event.
286
+ *
287
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event)
288
+ */
289
+ onMouseOut?: EventHandlerUnion<T, MouseEvent>;
290
+ /**
291
+ * Fires when the user moves the mouse pointer into the object.
292
+ * @param ev The mouse event.
293
+ *
294
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event)
295
+ */
296
+ onMouseOver?: EventHandlerUnion<T, MouseEvent>;
297
+ /**
298
+ * Fires when the user releases a mouse button while the mouse is over the object.
299
+ * @param ev The mouse event.
300
+ *
301
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event)
302
+ */
303
+ onMouseUp?: EventHandlerUnion<T, MouseEvent>;
304
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event) */
305
+ onPaste?: EventHandlerUnion<T, ClipboardEvent>;
306
+ /**
307
+ * Occurs when playback is paused.
308
+ * @param ev The event.
309
+ *
310
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event)
311
+ */
312
+ onPause?: EventHandlerUnion<T, Event>;
313
+ /**
314
+ * Occurs when the play method is requested.
315
+ * @param ev The event.
316
+ *
317
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event)
318
+ */
319
+ onPlay?: EventHandlerUnion<T, Event>;
320
+ /**
321
+ * Occurs when the audio or video has started playing.
322
+ * @param ev The event.
323
+ *
324
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event)
325
+ */
326
+ onPlaying?: EventHandlerUnion<T, Event>;
327
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event) */
328
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent>;
329
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event) */
330
+ onPointerDown?: EventHandlerUnion<T, PointerEvent>;
331
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event) */
332
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent>;
333
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event) */
334
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent>;
335
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event) */
336
+ onPointerMove?: EventHandlerUnion<T, PointerEvent>;
337
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event) */
338
+ onPointerOut?: EventHandlerUnion<T, PointerEvent>;
339
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
340
+ onPointerOver?: EventHandlerUnion<T, PointerEvent>;
341
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
342
+ onPointerUp?: EventHandlerUnion<T, PointerEvent>;
343
+ /**
344
+ * Occurs to indicate progress while downloading media data.
345
+ * @param ev The event.
346
+ *
347
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event)
348
+ */
349
+ onProgress?: EventHandlerUnion<T, Event>;
350
+ /**
351
+ * Occurs when the playback rate is increased or decreased.
352
+ * @param ev The event.
353
+ *
354
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event)
355
+ */
356
+ onRateChange?: EventHandlerUnion<T, Event>;
357
+ /**
358
+ * Fires when the user resets a form.
359
+ * @param ev The event.
360
+ *
361
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event)
362
+ */
363
+ onReset?: EventHandlerUnion<T, Event>;
364
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event) */
365
+ onResize?: EventHandlerUnion<T, UIEvent>;
366
+ /**
367
+ * Fires when the user repositions the scroll box in the scroll bar on the object.
368
+ * @param ev The event.
369
+ *
370
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event)
371
+ */
372
+ onScroll?: EventHandlerUnion<T, Event>;
373
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event) */
374
+ onScrollEnd?: EventHandlerUnion<T, Event>;
375
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event) */
376
+ onSecurityPolicyViolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent>;
377
+ /**
378
+ * Occurs when the seek operation ends.
379
+ * @param ev The event.
380
+ *
381
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event)
382
+ */
383
+ onSeeked?: EventHandlerUnion<T, Event>;
384
+ /**
385
+ * Occurs when the current playback position is moved.
386
+ * @param ev The event.
387
+ *
388
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event)
389
+ */
390
+ onSeeking?: EventHandlerUnion<T, Event>;
391
+ /**
392
+ * Fires when the current selection changes.
393
+ * @param ev The event.
394
+ *
395
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event)
396
+ */
397
+ onSelect?: EventHandlerUnion<T, UIEvent>;
398
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event) */
399
+ onSelectionChange?: EventHandlerUnion<T, Event>;
400
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event) */
401
+ onSelectStart?: EventHandlerUnion<T, Event>;
402
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event) */
403
+ onSlotChange?: EventHandlerUnion<T, Event>;
404
+ /**
405
+ * Occurs when the download has stopped.
406
+ * @param ev The event.
407
+ *
408
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event)
409
+ */
410
+ onStalled?: EventHandlerUnion<T, Event>;
411
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event) */
412
+ onSubmit?: EventHandlerUnion<T, SubmitEvent>;
413
+ /**
414
+ * Occurs if the load operation has been intentionally halted.
415
+ * @param ev The event.
416
+ *
417
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event)
418
+ */
419
+ onSuspend?: EventHandlerUnion<T, Event>;
420
+ /**
421
+ * Occurs to indicate the current playback position.
422
+ * @param ev The event.
423
+ *
424
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
425
+ */
426
+ onTimeUpdate?: EventHandlerUnion<T, Event>;
427
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/toggle_event) */
428
+ onToggle?: EventHandlerUnion<T, Event>;
429
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
430
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent>;
431
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event) */
432
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent>;
433
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event) */
434
+ onTouchMove?: EventHandlerUnion<T, TouchEvent>;
435
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event) */
436
+ onTouchStart?: EventHandlerUnion<T, TouchEvent>;
437
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event) */
438
+ onTransitionCancel?: EventHandlerUnion<T, TransitionEvent>;
439
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event) */
440
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent>;
441
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event) */
442
+ onTransitionRun?: EventHandlerUnion<T, TransitionEvent>;
443
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event) */
444
+ onTransitionStart?: EventHandlerUnion<T, TransitionEvent>;
445
+ /**
446
+ * Occurs when the volume is changed, or playback is muted or unmuted.
447
+ * @param ev The event.
448
+ *
449
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event)
450
+ */
451
+ onVolumeChange?: EventHandlerUnion<T, Event>;
452
+ /**
453
+ * Occurs when playback stops because the next frame of a video resource is not available.
454
+ * @param ev The event.
455
+ *
456
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event)
457
+ */
458
+ onWaiting?: EventHandlerUnion<T, Event>;
459
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event) */
460
+ onWheel?: EventHandlerUnion<T, WheelEvent>;
461
+ }
462
+ /**
463
+ * All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
464
+ *
465
+ * @remarks
466
+ * If attribute is settable as a property, that is preferred - such aria
467
+ * attributes are in camelCase in this interface. Some are settable as
468
+ * DOM attribute only - such names are in kebab-case.
469
+ */
470
+ export interface AriaAttributes {
471
+ /**
472
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
473
+ *
474
+ * @remarks
475
+ * While HTML attributes on regular HTML elements are case-insensitive, when
476
+ * the same common attributes are set on a foreign HTML elements (SVG/Math),
477
+ * they are case sensitive. Thus, we can't author this as
478
+ * "aria-activeDescendant"
479
+ */
480
+ ["aria-activedescendant"]?: string;
481
+ /**
482
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
483
+ * @see ariaOwns.
484
+ */
485
+ ["aria-controls"]?: string;
486
+ /**
487
+ * Identifies the element (or elements) that describes the object.
488
+ * @see aria-labelledby
489
+ */
490
+ ["aria-describedby"]?: string;
491
+ /**
492
+ * Identifies the element that provides a detailed, extended description for the object.
493
+ * @see aria-describedby
494
+ */
495
+ ["aria-details"]?: string;
496
+ /**
497
+ * Identifies the element that provides an error message for the object.
498
+ * @see ariaInvalid
499
+ * @see aria-describedby
500
+ */
501
+ ["aria-errormessage"]?: string;
502
+ /**
503
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
504
+ * allows assistive technology to override the general default of reading in document source order.
505
+ */
506
+ ["aria-flowto"]?: string;
507
+ /**
508
+ * Identifies the element (or elements) that labels the current element.
509
+ * @see aria-describedby
510
+ */
511
+ ["aria-labelledby"]?: string;
512
+ /**
513
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
514
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
515
+ * @see aria-controls
516
+ */
517
+ ["aria-owns"]?: string;
518
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
519
+ ariaAtomic?: boolean | "false" | "true";
520
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */
521
+ ariaAutoComplete?: "both" | "inline" | "list" | "none";
522
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) */
523
+ ariaBrailleLabel?: string;
524
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) */
525
+ ariaBrailleRoleDescription?: string;
526
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) */
527
+ ariaBusy?: boolean | "false" | "true";
528
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked) */
529
+ ariaChecked?: boolean | "false" | "mixed" | "true";
530
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount) */
531
+ ariaColCount?: number | string;
532
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */
533
+ ariaColIndex?: number | string;
534
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
535
+ ariaColSpan?: number | string;
536
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
537
+ ariaCurrent?: boolean | "date" | "false" | "location" | "page" | "step" | "time" | "true";
538
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
539
+ ariaDescription?: string;
540
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
541
+ ariaDisabled?: boolean | "false" | "true";
542
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
543
+ ariaExpanded?: boolean | "false" | "true";
544
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
545
+ ariaHasPopup?: boolean | "dialog" | "false" | "grid" | "listbox" | "menu" | "tree" | "true";
546
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden) */
547
+ ariaHidden?: boolean | "false" | "true";
548
+ /**
549
+ * Indicates the entered value does not conform to the format expected by the application.
550
+ * @see aria-errormessage
551
+ */
552
+ ariaInvalid?: boolean | "false" | "grammar" | "spelling" | "true";
553
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts) */
554
+ ariaKeyShortcuts?: string;
555
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
556
+ ariaLabel?: string;
557
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
558
+ ariaLevel?: number | string;
559
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive) */
560
+ ariaLive?: "assertive" | "off" | "polite";
561
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal) */
562
+ ariaModal?: boolean | "false" | "true";
563
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine) */
564
+ ariaMultiLine?: boolean | "false" | "true";
565
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable) */
566
+ ariaMultiSelectable?: boolean | "false" | "true";
567
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
568
+ ariaOrientation?: "horizontal" | "vertical";
569
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
570
+ ariaPlaceholder?: string;
571
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet) */
572
+ ariaPosInSet?: number | string;
573
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed) */
574
+ ariaPressed?: boolean | "false" | "mixed" | "true";
575
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) */
576
+ ariaReadOnly?: boolean | "false" | "true";
577
+ /**
578
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
579
+ * @see ariaAtomic
580
+ */
581
+ ariaRelevant?: "additions removals" | "additions text" | "additions" | "all" | "removals additions" | "removals text" | "removals" | "text additions" | "text removals" | "text";
582
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) */
583
+ ariaRequired?: boolean | "false" | "true";
584
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription) */
585
+ ariaRoleDescription?: string;
586
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount) */
587
+ ariaRowCount?: number | string;
588
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */
589
+ ariaRowIndex?: number | string;
590
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */
591
+ ariaRowSpan?: number | string;
592
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */
593
+ ariaSelected?: boolean | "false" | "true";
594
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize) */
595
+ ariaSetSize?: number | string;
596
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort) */
597
+ ariaSort?: "ascending" | "descending" | "none" | "other";
598
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax) */
599
+ ariaValueMax?: number | string;
600
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin) */
601
+ ariaValueMin?: number | string;
602
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow) */
603
+ ariaValueNow?: number | string;
604
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) */
605
+ ariaValueText?: string;
606
+ role?: "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "meter" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem";
607
+ }
608
+ /**
609
+ * @remarks
610
+ * Name uses consecutive capitalized letters to avoid a breaking change. We can
611
+ * batch breaking changes in a single release in the future.
612
+ */
613
+ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttributes<T> {
614
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) */
615
+ accessKey?: string;
616
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) */
617
+ autocapitalize?: HtmlAutocapitalize;
618
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
619
+ autofocus?: boolean;
620
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/contentEditable) */
621
+ contentEditable?: boolean | "inherit" | "plaintext-only";
622
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */
623
+ dir?: HtmlDir;
624
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) */
625
+ draggable?: boolean;
626
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/enterKeyHint) */
627
+ enterKeyHint?: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
628
+ exportParts?: string;
629
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) */
630
+ hidden?: boolean | "hidden" | "until-found";
631
+ /**
632
+ * Returns the value of element's id content attribute. Can be set to change it.
633
+ *
634
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)
635
+ */
636
+ id?: string;
637
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) */
638
+ inert?: boolean;
639
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inputMode) */
640
+ inputMode?: "decimal" | "email" | "none" | "numeric" | "search" | "tel" | "text" | "url";
641
+ itemId?: string;
642
+ itemProp?: string;
643
+ itemRef?: string;
644
+ itemScope?: boolean;
645
+ itemType?: string;
646
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) */
647
+ lang?: string;
648
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce) */
649
+ nonce?: string;
650
+ part?: string;
651
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) */
652
+ popover?: boolean | "auto" | "manual";
653
+ /**
654
+ * Returns the value of element's slot content attribute. Can be set to change it.
655
+ *
656
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/slot)
657
+ */
658
+ slot?: string;
659
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) */
660
+ spellcheck?: boolean;
661
+ style?: CssProperties | DirectiveResult<typeof StyleMapDirective> | string;
662
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex) */
663
+ tabIndex?: number | string;
664
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) */
665
+ title?: string;
666
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
667
+ translate?: boolean;
668
+ }
669
+ interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
670
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */
671
+ download?: string;
672
+ /**
673
+ * Returns the hyperlink's URL.
674
+ *
675
+ * Can be set, to change the URL.
676
+ *
677
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
678
+ */
679
+ href?: string;
680
+ /**
681
+ * Sets or retrieves the language code of the object.
682
+ *
683
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
684
+ */
685
+ hreflang?: string;
686
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) */
687
+ ping?: string;
688
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy) */
689
+ referrerPolicy?: ReferrerPolicy;
690
+ /**
691
+ * Sets or retrieves the relationship between the object and the destination of the link.
692
+ *
693
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rel)
694
+ */
695
+ rel?: string;
696
+ /**
697
+ * Sets or retrieves the window or frame at which to target content.
698
+ *
699
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
700
+ */
701
+ target?: string;
702
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type) */
703
+ type?: string;
704
+ }
705
+ interface HtmlAudioAttributes<T> extends HtmlMediaAttributes<T> {
706
+ }
707
+ interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
708
+ /** Sets or retrieves a text alternative to the graphic. */
709
+ alt?: string;
710
+ /** Sets or retrieves the coordinates of the object. */
711
+ coords?: string;
712
+ /**
713
+ * Provide empty string, or file name
714
+ *
715
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
716
+ */
717
+ download?: string;
718
+ /**
719
+ * Returns the hyperlink's URL.
720
+ *
721
+ * Can be set, to change the URL.
722
+ *
723
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
724
+ */
725
+ href?: string;
726
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) */
727
+ ping?: string;
728
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy) */
729
+ referrerPolicy?: ReferrerPolicy;
730
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel) */
731
+ rel?: string;
732
+ /** Sets or retrieves the shape of the object. */
733
+ shape?: "circle" | "default" | "poly" | "rect";
734
+ /**
735
+ * Sets or retrieves the window or frame at which to target content.
736
+ *
737
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)
738
+ */
739
+ target?: string;
740
+ }
741
+ interface HtmlBaseAttributes<T> extends HTMLAttributes<T> {
742
+ /** Gets or sets the baseline URL on which relative links are based. */
743
+ href?: string;
744
+ /**
745
+ * Sets or retrieves the window or frame at which to target content.
746
+ *
747
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/target)
748
+ */
749
+ target?: string;
750
+ }
751
+ interface HtmlBlockquoteAttributes<T> extends HTMLAttributes<T> {
752
+ /** Sets or retrieves reference information about the object. */
753
+ cite?: string;
754
+ }
755
+ interface HtmlButtonAttributes<T> extends HTMLAttributes<T> {
756
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
757
+ disabled?: boolean;
758
+ form?: string;
759
+ /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
760
+ formAction?: string;
761
+ /** Used to override the encoding (formEnctype attribute) specified on the form element. */
762
+ formEnctype?: HtmlFormEncType;
763
+ /** Overrides the submit method attribute previously specified on a form element. */
764
+ formMethod?: HtmlFormMethod;
765
+ /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
766
+ formNoValidate?: boolean;
767
+ /** Overrides the target attribute on a form element. */
768
+ formTarget?: string;
769
+ /** Sets or retrieves the name of the object. */
770
+ name?: string;
771
+ popoverTarget?: string;
772
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
773
+ popoverTargetAction?: "hide" | "show" | "toggle";
774
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
775
+ popoverTargetElement?: HTMLElement;
776
+ /**
777
+ * Gets the classification and default behavior of the button.
778
+ *
779
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
780
+ */
781
+ type?: "button" | "reset" | "submit";
782
+ /** Sets or retrieves the default or selected value of the control. */
783
+ value?: number | string;
784
+ }
785
+ interface HtmlCanvasAttributes<T> extends HTMLAttributes<T> {
786
+ /**
787
+ * Gets or sets the height of a canvas element on a document.
788
+ *
789
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/height)
790
+ */
791
+ height?: number | string;
792
+ /**
793
+ * Gets or sets the width of a canvas element on a document.
794
+ *
795
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/width)
796
+ */
797
+ width?: number | string;
798
+ }
799
+ interface HtmlColAttributes<T> extends HTMLAttributes<T> {
800
+ /**
801
+ * Sets or retrieves the number of columns in the group.
802
+ *
803
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/span)
804
+ */
805
+ span?: number | string;
806
+ }
807
+ interface HtmlColgroupAttributes<T> extends HTMLAttributes<T> {
808
+ /**
809
+ * Sets or retrieves the number of columns in the group.
810
+ *
811
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/span)
812
+ */
813
+ span?: number | string;
814
+ }
815
+ interface HtmlDataAttributes<T> extends HTMLAttributes<T> {
816
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataElement/value) */
817
+ value?: number | string;
818
+ }
819
+ interface HtmlModAttributes<T> extends HTMLAttributes<T> {
820
+ /** Sets or retrieves reference information about the object. */
821
+ cite?: string;
822
+ /** Sets or retrieves the date and time of a modification to the object. */
823
+ dateTime?: string;
824
+ }
825
+ interface HtmlDetailsAttributes<T> extends HTMLAttributes<T> {
826
+ name?: string;
827
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
828
+ open?: boolean;
829
+ }
830
+ interface HtmlDialogAttributes<T> extends HTMLAttributes<T> {
831
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/open) */
832
+ open?: boolean;
833
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/returnValue) */
834
+ returnValue?: string;
835
+ }
836
+ interface HtmlEmbedAttributes<T> extends HTMLAttributes<T> {
837
+ /**
838
+ * Sets or retrieves the height of the object.
839
+ *
840
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height)
841
+ */
842
+ height?: number | string;
843
+ /**
844
+ * Sets or retrieves a URL to be loaded by the object.
845
+ *
846
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src)
847
+ */
848
+ src?: string;
849
+ type?: string;
850
+ /**
851
+ * Sets or retrieves the width of the object.
852
+ *
853
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width)
854
+ */
855
+ width?: number | string;
856
+ }
857
+ interface HtmlFieldsetAttributes<T> extends HTMLAttributes<T> {
858
+ disabled?: boolean;
859
+ form?: string;
860
+ name?: string;
861
+ }
862
+ interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
863
+ /**
864
+ * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.
865
+ *
866
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/acceptCharset)
867
+ */
868
+ acceptCharset?: string;
869
+ /**
870
+ * Sets or retrieves the URL to which the form content is sent for processing.
871
+ *
872
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
873
+ */
874
+ action?: string;
875
+ /** Specifies whether autocomplete is applied to an editable text field. */
876
+ autocomplete?: "off" | "on";
877
+ /**
878
+ * Sets or retrieves the MIME encoding for the form.
879
+ *
880
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/encoding)
881
+ */
882
+ encoding?: HtmlFormEncType;
883
+ /**
884
+ * Sets or retrieves the encoding type for the form.
885
+ *
886
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/enctype)
887
+ */
888
+ enctype?: HtmlFormEncType;
889
+ /**
890
+ * Sets or retrieves how to send the form data to the server.
891
+ *
892
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method)
893
+ */
894
+ method?: HtmlFormMethod;
895
+ /**
896
+ * Sets or retrieves the name of the object.
897
+ *
898
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
899
+ */
900
+ name?: string;
901
+ /** Designates a form that is not validated when submitted. */
902
+ noValidate?: boolean;
903
+ rel?: string;
904
+ /**
905
+ * Sets or retrieves the window or frame at which to target content.
906
+ *
907
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)
908
+ */
909
+ target?: string;
910
+ }
911
+ interface HtmlIframeAttributes<T> extends HTMLAttributes<T> {
912
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) */
913
+ allow?: string;
914
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) */
915
+ allowFullscreen?: boolean;
916
+ /**
917
+ * Sets or retrieves the height of the object.
918
+ *
919
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
920
+ */
921
+ height?: number | string;
922
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */
923
+ loading?: "eager" | "lazy";
924
+ /**
925
+ * Sets or retrieves the frame name.
926
+ *
927
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/name)
928
+ */
929
+ name?: string;
930
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
931
+ referrerPolicy?: ReferrerPolicy;
932
+ sandbox?: HtmlIframeSandbox | string;
933
+ /**
934
+ * Sets or retrieves a URL to be loaded by the object.
935
+ *
936
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/src)
937
+ */
938
+ src?: string;
939
+ /**
940
+ * Sets or retrives the content of the page that is to contain.
941
+ *
942
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)
943
+ */
944
+ srcdoc?: string;
945
+ /**
946
+ * Sets or retrieves the width of the object.
947
+ *
948
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)
949
+ */
950
+ width?: number | string;
951
+ }
952
+ interface HtmlImgAttributes<T> extends HTMLAttributes<T> {
953
+ /**
954
+ * Sets or retrieves a text alternative to the graphic.
955
+ *
956
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)
957
+ */
958
+ alt?: string;
959
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin) */
960
+ crossOrigin?: HtmlCrossOrigin;
961
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
962
+ decoding?: "async" | "auto" | "sync";
963
+ elementTiming?: string;
964
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
965
+ fetchPriority?: "auto" | "high" | "low";
966
+ /**
967
+ * Sets or retrieves the height of the object.
968
+ *
969
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
970
+ */
971
+ height?: number | string;
972
+ /**
973
+ * Sets or retrieves whether the image is a server-side image map.
974
+ *
975
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)
976
+ */
977
+ isMap?: boolean;
978
+ /**
979
+ * Sets or retrieves the policy for loading image elements that are outside the viewport.
980
+ *
981
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
982
+ */
983
+ loading?: "eager" | "lazy";
984
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy) */
985
+ referrerPolicy?: ReferrerPolicy;
986
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes) */
987
+ sizes?: string;
988
+ /**
989
+ * The address or URL of the a media resource that is to be considered.
990
+ *
991
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)
992
+ */
993
+ src?: string;
994
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset) */
995
+ srcset?: string;
996
+ /**
997
+ * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
998
+ *
999
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
1000
+ */
1001
+ useMap?: string;
1002
+ /**
1003
+ * Sets or retrieves the width of the object.
1004
+ *
1005
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
1006
+ */
1007
+ width?: number | string;
1008
+ }
1009
+ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
1010
+ /** Sets or retrieves a comma-separated list of content types. */
1011
+ accept?: string;
1012
+ /** Sets or retrieves a text alternative to the graphic. */
1013
+ alt?: string;
1014
+ /** Specifies whether autocomplete is applied to an editable text field. */
1015
+ autocomplete?: AutoFill;
1016
+ capture?: boolean | string;
1017
+ /** Sets or retrieves the state of the check box or radio button. */
1018
+ checked?: boolean;
1019
+ /** Sets or retrieves the state of the check box or radio button. */
1020
+ defaultChecked?: boolean;
1021
+ /** Sets or retrieves the initial contents of the object. */
1022
+ defaultValue?: number | string;
1023
+ dirName?: string;
1024
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
1025
+ disabled?: boolean;
1026
+ /**
1027
+ * Returns a FileList object on a file type input object.
1028
+ *
1029
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files)
1030
+ */
1031
+ files?: FileList;
1032
+ form?: string;
1033
+ /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
1034
+ formAction?: string;
1035
+ /** Used to override the encoding (formEnctype attribute) specified on the form element. */
1036
+ formEnctype?: HtmlFormEncType;
1037
+ /** Overrides the submit method attribute previously specified on a form element. */
1038
+ formMethod?: HtmlFormMethod;
1039
+ /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
1040
+ formNoValidate?: boolean;
1041
+ /** Overrides the target attribute on a form element. */
1042
+ formTarget?: string;
1043
+ /** Sets or retrieves the height of the object. */
1044
+ height?: number | string;
1045
+ /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
1046
+ indeterminate?: boolean;
1047
+ list?: string;
1048
+ /** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */
1049
+ max?: number | string;
1050
+ /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
1051
+ maxLength?: number | string;
1052
+ /** Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field. */
1053
+ min?: number | string;
1054
+ minLength?: number | string;
1055
+ /**
1056
+ * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
1057
+ *
1058
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
1059
+ */
1060
+ multiple?: boolean;
1061
+ /** Sets or retrieves the name of the object. */
1062
+ name?: string;
1063
+ /** Gets or sets a string containing a regular expression that the user's input must match. */
1064
+ pattern?: string;
1065
+ /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
1066
+ placeholder?: string;
1067
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
1068
+ popoverTargetAction?: string;
1069
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
1070
+ popoverTargetElement?: Element;
1071
+ readOnly?: boolean;
1072
+ /** When present, marks an element that can't be submitted without a value. */
1073
+ required?: boolean;
1074
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
1075
+ selectionDirection?: "backward" | "forward" | "none";
1076
+ /**
1077
+ * Gets or sets the end position or offset of a text selection.
1078
+ *
1079
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
1080
+ */
1081
+ selectionEnd?: number;
1082
+ /**
1083
+ * Gets or sets the starting position or offset of a text selection.
1084
+ *
1085
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
1086
+ */
1087
+ selectionStart?: number;
1088
+ size?: number | string;
1089
+ /** The address or URL of the a media resource that is to be considered. */
1090
+ src?: string;
1091
+ /** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */
1092
+ step?: number | string;
1093
+ /**
1094
+ * Returns the content type of the object.
1095
+ *
1096
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type)
1097
+ */
1098
+ type?: string;
1099
+ /** Returns the value of the data at the cursor's current position. */
1100
+ value?: number | string;
1101
+ /** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
1102
+ valueAsDate?: Date;
1103
+ /** Returns the input field value as a number. */
1104
+ valueAsNumber?: number;
1105
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
1106
+ webkitdirectory?: boolean;
1107
+ /** Sets or retrieves the width of the object. */
1108
+ width?: number | string;
1109
+ }
1110
+ interface HtmlLabelAttributes<T> extends HTMLAttributes<T> {
1111
+ form?: string;
1112
+ /**
1113
+ * Sets or retrieves the object to which the given label object is assigned.
1114
+ *
1115
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/htmlFor)
1116
+ */
1117
+ htmlFor?: string;
1118
+ }
1119
+ interface HtmlLiAttributes<T> extends HTMLAttributes<T> {
1120
+ /** Sets or retrieves the value of a list item. */
1121
+ value?: number | string;
1122
+ }
1123
+ interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
1124
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/as) */
1125
+ as?: HtmlLinkAs;
1126
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
1127
+ crossOrigin?: HtmlCrossOrigin;
1128
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */
1129
+ disabled?: boolean;
1130
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
1131
+ fetchPriority?: "auto" | "high" | "low";
1132
+ /** Sets or retrieves a destination URL or an anchor point. */
1133
+ href?: string;
1134
+ /**
1135
+ * Sets or retrieves the language code of the object.
1136
+ *
1137
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/hreflang)
1138
+ */
1139
+ hreflang?: string;
1140
+ imageSizes?: string;
1141
+ imageSrcset?: string;
1142
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
1143
+ integrity?: string;
1144
+ /** Sets or retrieves the media type. */
1145
+ media?: string;
1146
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
1147
+ referrerPolicy?: ReferrerPolicy;
1148
+ /**
1149
+ * Sets or retrieves the relationship between the object and the destination of the link.
1150
+ *
1151
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/rel)
1152
+ */
1153
+ rel?: string;
1154
+ sizes?: string;
1155
+ /**
1156
+ * Sets or retrieves the MIME type of the object.
1157
+ *
1158
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type)
1159
+ */
1160
+ type?: string;
1161
+ }
1162
+ interface HtmlMapAttributes<T> extends HTMLAttributes<T> {
1163
+ /**
1164
+ * Sets or retrieves the name of the object.
1165
+ *
1166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/name)
1167
+ */
1168
+ name?: string;
1169
+ }
1170
+ interface HtmlMathMlAttributes<T> extends HTMLAttributes<T> {
1171
+ dir?: "ltr" | "rtl";
1172
+ /**
1173
+ * HTML attributes in foreign elements are case-sensitive
1174
+ */
1175
+ displaystyle?: boolean;
1176
+ /**
1177
+ * HTML attributes in foreign elements are case-sensitive
1178
+ */
1179
+ scriptlevel?: boolean | string;
1180
+ }
1181
+ interface HTMLMathElement extends MathMLElement {
1182
+ display?: "block" | "inline";
1183
+ }
1184
+ interface HtmlMediaAttributes<T> extends HTMLAttributes<T> {
1185
+ /**
1186
+ * Gets or sets a value that indicates whether to start playing the media automatically.
1187
+ *
1188
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/autoplay)
1189
+ */
1190
+ autoplay?: boolean;
1191
+ /**
1192
+ * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).
1193
+ *
1194
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/controls)
1195
+ */
1196
+ controls?: boolean;
1197
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/crossOrigin) */
1198
+ crossOrigin?: HtmlCrossOrigin;
1199
+ /**
1200
+ * Gets or sets the current playback position, in seconds.
1201
+ *
1202
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/currentTime)
1203
+ */
1204
+ currentTime?: number;
1205
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/defaultMuted) */
1206
+ defaultMuted?: boolean;
1207
+ /**
1208
+ * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.
1209
+ *
1210
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)
1211
+ */
1212
+ defaultPlaybackRate?: number;
1213
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/disableRemotePlayback) */
1214
+ disableRemotePlayback?: boolean;
1215
+ /**
1216
+ * Gets or sets a flag to specify whether playback should restart after it completes.
1217
+ *
1218
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loop)
1219
+ */
1220
+ loop?: boolean;
1221
+ /**
1222
+ * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.
1223
+ *
1224
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/muted)
1225
+ */
1226
+ muted?: boolean;
1227
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
1228
+ onEncrypted?: EventHandlerUnion<T, Event>;
1229
+ onWaitingForKey?: EventHandlerUnion<T, Event>;
1230
+ /**
1231
+ * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.
1232
+ *
1233
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
1234
+ */
1235
+ playbackRate?: number;
1236
+ /**
1237
+ * Gets or sets a value indicating what data should be preloaded, if any.
1238
+ *
1239
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/preload)
1240
+ */
1241
+ preload?: "" | "auto" | "metadata" | "none";
1242
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/preservesPitch) */
1243
+ preservesPitch?: boolean;
1244
+ /**
1245
+ * The address or URL of the a media resource that is to be considered.
1246
+ *
1247
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/src)
1248
+ */
1249
+ src?: string;
1250
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/srcObject) */
1251
+ srcObject?: MediaProvider;
1252
+ /**
1253
+ * Gets or sets the volume level for audio portions of the media element.
1254
+ *
1255
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
1256
+ */
1257
+ volume?: number;
1258
+ }
1259
+ interface HtmlMenuAttributes<T> extends HTMLAttributes<T> {
1260
+ label?: string;
1261
+ type?: "context" | "toolbar";
1262
+ }
1263
+ interface HtmlMetaAttributes<T> extends HTMLAttributes<T> {
1264
+ charset?: string;
1265
+ /**
1266
+ * Gets or sets meta-information to associate with httpEquiv or name.
1267
+ *
1268
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content)
1269
+ */
1270
+ content?: string;
1271
+ /**
1272
+ * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
1273
+ *
1274
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv)
1275
+ */
1276
+ httpEquiv?: string;
1277
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) */
1278
+ media?: string;
1279
+ /**
1280
+ * Sets or retrieves the value specified in the content attribute of the meta object.
1281
+ *
1282
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name)
1283
+ */
1284
+ name?: string;
1285
+ }
1286
+ interface HtmlMeterAttributes<T> extends HTMLAttributes<T> {
1287
+ form?: string;
1288
+ high?: number | string;
1289
+ low?: number | string;
1290
+ max?: number | string;
1291
+ min?: number | string;
1292
+ optimum?: number | string;
1293
+ value?: number | string;
1294
+ }
1295
+ interface HtmlQuoteAttributes<T> extends HTMLAttributes<T> {
1296
+ /** Sets or retrieves reference information about the object. */
1297
+ cite?: string;
1298
+ }
1299
+ interface HtmlObjectAttributes<T> extends HTMLAttributes<T> {
1300
+ /**
1301
+ * Sets or retrieves the URL that references the data of the object.
1302
+ *
1303
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data)
1304
+ */
1305
+ data?: string;
1306
+ form?: string;
1307
+ /**
1308
+ * Sets or retrieves the height of the object.
1309
+ *
1310
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height)
1311
+ */
1312
+ height?: number | string;
1313
+ /**
1314
+ * Sets or retrieves the name of the object.
1315
+ *
1316
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/name)
1317
+ */
1318
+ name?: string;
1319
+ /**
1320
+ * Sets or retrieves the MIME type of the object.
1321
+ *
1322
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/type)
1323
+ */
1324
+ type?: string;
1325
+ /**
1326
+ * Sets or retrieves the width of the object.
1327
+ *
1328
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/width)
1329
+ */
1330
+ width?: number | string;
1331
+ }
1332
+ interface HtmlOlAttributes<T> extends HTMLAttributes<T> {
1333
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/reversed) */
1334
+ reversed?: boolean;
1335
+ /**
1336
+ * The starting number.
1337
+ *
1338
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/start)
1339
+ */
1340
+ start?: number | string;
1341
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/type) */
1342
+ type?: "1" | "A" | "a" | "I" | "i";
1343
+ }
1344
+ interface HtmlOptgroupAttributes<T> extends HTMLAttributes<T> {
1345
+ disabled?: boolean;
1346
+ /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
1347
+ label?: string;
1348
+ }
1349
+ interface HtmlOptionAttributes<T> extends HTMLAttributes<T> {
1350
+ /** Sets or retrieves the status of an option. */
1351
+ defaultSelected?: boolean;
1352
+ disabled?: boolean;
1353
+ /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
1354
+ label?: string;
1355
+ /** Sets or retrieves whether the option in the list box is the default item. */
1356
+ selected?: boolean;
1357
+ /** Sets or retrieves the value which is returned to the server when the form control is submitted. */
1358
+ value?: number | string;
1359
+ }
1360
+ interface HtmlOutputAttributes<T> extends HTMLAttributes<T> {
1361
+ defaultValue?: number | string;
1362
+ for?: string;
1363
+ form?: string;
1364
+ name?: string;
1365
+ /**
1366
+ * Returns the element's current value.
1367
+ *
1368
+ * Can be set, to change the value.
1369
+ */
1370
+ value?: number | string;
1371
+ }
1372
+ interface HtmlProgressAttributes<T> extends HTMLAttributes<T> {
1373
+ /**
1374
+ * Defines the maximum, or "done" value for a progress element.
1375
+ *
1376
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/max)
1377
+ */
1378
+ max?: number | string;
1379
+ /**
1380
+ * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.
1381
+ *
1382
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/value)
1383
+ */
1384
+ value?: number | string;
1385
+ }
1386
+ interface HtmlScriptAttributes<T> extends HTMLAttributes<T> {
1387
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
1388
+ async?: boolean;
1389
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
1390
+ crossOrigin?: HtmlCrossOrigin;
1391
+ /**
1392
+ * Sets or retrieves the status of the script.
1393
+ *
1394
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer)
1395
+ */
1396
+ defer?: boolean;
1397
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */
1398
+ fetchPriority?: string;
1399
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) */
1400
+ integrity?: string;
1401
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) */
1402
+ noModule?: boolean;
1403
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy) */
1404
+ referrerPolicy?: ReferrerPolicy;
1405
+ /**
1406
+ * Retrieves the URL to an external file that contains the source code or data.
1407
+ *
1408
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src)
1409
+ */
1410
+ src?: string;
1411
+ /**
1412
+ * Sets or retrieves the MIME type for the associated scripting engine.
1413
+ *
1414
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type)
1415
+ */
1416
+ type?: string;
1417
+ }
1418
+ interface HtmlSelectAttributes<T> extends HTMLAttributes<T> {
1419
+ autocomplete?: AutoFill;
1420
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
1421
+ disabled?: boolean;
1422
+ form?: string;
1423
+ /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
1424
+ multiple?: boolean;
1425
+ /** Sets or retrieves the name of the object. */
1426
+ name?: string;
1427
+ /** When present, marks an element that can't be submitted without a value. */
1428
+ required?: boolean;
1429
+ /**
1430
+ * Sets or retrieves the index of the selected option in a select object.
1431
+ *
1432
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedIndex)
1433
+ */
1434
+ selectedIndex?: number;
1435
+ /** Sets or retrieves the number of rows in the list box. */
1436
+ size?: number | string;
1437
+ /**
1438
+ * Sets or retrieves the value which is returned to the server when the form control is submitted.
1439
+ *
1440
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)
1441
+ */
1442
+ value?: number | string;
1443
+ }
1444
+ interface HtmlSlotAttributes<T> extends HTMLAttributes<T> {
1445
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/name) */
1446
+ name?: string;
1447
+ }
1448
+ interface HtmlSourceAttributes<T> extends HTMLAttributes<T> {
1449
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */
1450
+ height?: number;
1451
+ /** Gets or sets the intended media type of the media source. */
1452
+ media?: string;
1453
+ sizes?: string;
1454
+ /** The address or URL of the a media resource that is to be considered. */
1455
+ src?: string;
1456
+ srcset?: string;
1457
+ /** Gets or sets the MIME type of a media resource. */
1458
+ type?: string;
1459
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */
1460
+ width?: number;
1461
+ }
1462
+ interface HtmlStyleAttributes<T> extends HTMLAttributes<T> {
1463
+ /**
1464
+ * Enables or disables the style sheet.
1465
+ *
1466
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/disabled)
1467
+ */
1468
+ disabled?: boolean;
1469
+ /**
1470
+ * Sets or retrieves the media type.
1471
+ *
1472
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/media)
1473
+ */
1474
+ media?: string;
1475
+ }
1476
+ interface HtmlTdAttributes<T> extends HTMLAttributes<T> {
1477
+ /**
1478
+ * Sets or retrieves abbreviated text for the object.
1479
+ *
1480
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/abbr)
1481
+ */
1482
+ abbr?: string;
1483
+ /**
1484
+ * Sets or retrieves the number columns in the table that the object should span.
1485
+ *
1486
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
1487
+ */
1488
+ colSpan?: number | string;
1489
+ /**
1490
+ * Sets or retrieves a list of header cells that provide information for the object.
1491
+ *
1492
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)
1493
+ */
1494
+ headers?: string;
1495
+ /**
1496
+ * Sets or retrieves how many rows in a table the cell should span.
1497
+ *
1498
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
1499
+ */
1500
+ rowSpan?: number | string;
1501
+ /**
1502
+ * Sets or retrieves the group of cells in a table to which the object's information applies.
1503
+ *
1504
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/scope)
1505
+ */
1506
+ scope?: "col" | "colgroup" | "row" | "rowgroup";
1507
+ }
1508
+ interface HtmlTemplateAttributes<T extends HTMLTemplateElement> extends HTMLAttributes<T> {
1509
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) */
1510
+ shadowRootClonable?: boolean;
1511
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) */
1512
+ shadowRootDelegatesFocus?: boolean;
1513
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */
1514
+ shadowRootMode?: string;
1515
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) */
1516
+ shadowRootSerializable?: boolean;
1517
+ }
1518
+ interface HtmlTextareaAttributes<T> extends HTMLAttributes<T> {
1519
+ autocomplete?: AutoFill;
1520
+ children?: "Error: Use value property instead. See https://lit.dev/docs/templates/expressions/#invalid-locations";
1521
+ /** Sets or retrieves the width of the object. */
1522
+ cols?: number | string;
1523
+ /** Sets or retrieves the initial contents of the object. */
1524
+ defaultValue?: number | string;
1525
+ dirName?: string;
1526
+ disabled?: boolean;
1527
+ form?: string;
1528
+ /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
1529
+ maxLength?: number | string;
1530
+ minLength?: number | string;
1531
+ /** Sets or retrieves the name of the object. */
1532
+ name?: string;
1533
+ /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
1534
+ placeholder?: string;
1535
+ /** Sets or retrieves the value indicated whether the content of the object is read-only. */
1536
+ readOnly?: boolean;
1537
+ /** When present, marks an element that can't be submitted without a value. */
1538
+ required?: boolean;
1539
+ /** Sets or retrieves the number of horizontal rows contained in the object. */
1540
+ rows?: number | string;
1541
+ selectionDirection?: "backward" | "forward" | "none";
1542
+ /** Gets or sets the end position or offset of a text selection. */
1543
+ selectionEnd?: number;
1544
+ /** Gets or sets the starting position or offset of a text selection. */
1545
+ selectionStart?: number;
1546
+ /** Retrieves or sets the text in the entry field of the textArea element. */
1547
+ value?: number | string;
1548
+ /** Sets or retrieves how to handle wordwrapping in the object. */
1549
+ wrap?: "hard" | "off" | "soft";
1550
+ }
1551
+ interface HtmlThAttributes<T> extends HTMLAttributes<T> {
1552
+ /**
1553
+ * Sets or retrieves abbreviated text for the object.
1554
+ *
1555
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/abbr)
1556
+ */
1557
+ abbr?: string;
1558
+ /**
1559
+ * Sets or retrieves the number columns in the table that the object should span.
1560
+ *
1561
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
1562
+ */
1563
+ colSpan?: number | string;
1564
+ /**
1565
+ * Sets or retrieves a list of header cells that provide information for the object.
1566
+ *
1567
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)
1568
+ */
1569
+ headers?: string;
1570
+ /**
1571
+ * Sets or retrieves how many rows in a table the cell should span.
1572
+ *
1573
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
1574
+ */
1575
+ rowSpan?: number | string;
1576
+ /**
1577
+ * Sets or retrieves the group of cells in a table to which the object's information applies.
1578
+ *
1579
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/scope)
1580
+ */
1581
+ scope?: "col" | "colgroup" | "row" | "rowgroup";
1582
+ }
1583
+ interface HtmlTimeAttributes<T> extends HTMLAttributes<T> {
1584
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTimeElement/dateTime) */
1585
+ dateTime?: string;
1586
+ }
1587
+ interface HtmlTrackAttributes<T> extends HTMLAttributes<T> {
1588
+ default?: boolean;
1589
+ kind?: "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
1590
+ label?: string;
1591
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */
1592
+ src?: string;
1593
+ srclang?: string;
1594
+ }
1595
+ interface HtmlVideoAttributes<T> extends HtmlMediaAttributes<T> {
1596
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture) */
1597
+ disablePictureInPicture?: boolean;
1598
+ elementTiming?: string;
1599
+ /**
1600
+ * Gets or sets the height of the video element.
1601
+ *
1602
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/height)
1603
+ */
1604
+ height?: number | string;
1605
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */
1606
+ onEnterPictureInPicture?: EventHandlerUnion<T, Event>;
1607
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event) */
1608
+ onLeavePictureInPicture?: EventHandlerUnion<T, Event>;
1609
+ /** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins. */
1610
+ playsInline?: boolean;
1611
+ /**
1612
+ * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.
1613
+ *
1614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/poster)
1615
+ */
1616
+ poster?: string;
1617
+ /**
1618
+ * Gets or sets the width of the video element.
1619
+ *
1620
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width)
1621
+ */
1622
+ width?: number | string;
1623
+ }
1624
+ type SVGPreserveAspectRatio = "none" | "xMaxYMax meet" | "xMaxYMax slice" | "xMaxYMax" | "xMaxYMid meet" | "xMaxYMid slice" | "xMaxYMid" | "xMaxYMin meet" | "xMaxYMin slice" | "xMaxYMin" | "xMidYMax meet" | "xMidYMax slice" | "xMidYMax" | "xMidYMid meet" | "xMidYMid slice" | "xMidYMid" | "xMidYMin meet" | "xMidYMin slice" | "xMidYMin" | "xMinYMax meet" | "xMinYMax slice" | "xMinYMax" | "xMinYMid meet" | "xMinYMid slice" | "xMinYMid" | "xMinYMin meet" | "xMinYMin slice" | "xMinYMin";
1625
+ type ImagePreserveAspectRatio = SVGPreserveAspectRatio | "defer none" | "defer xMaxYMax meet" | "defer xMaxYMax slice" | "defer xMaxYMax" | "defer xMaxYMid meet" | "defer xMaxYMid slice" | "defer xMaxYMid" | "defer xMaxYMin meet" | "defer xMaxYMin slice" | "defer xMaxYMin" | "defer xMidYMax meet" | "defer xMidYMax slice" | "defer xMidYMax" | "defer xMidYMid meet" | "defer xMidYMid slice" | "defer xMidYMid" | "defer xMidYMin meet" | "defer xMidYMin slice" | "defer xMidYMin" | "defer xMinYMax meet" | "defer xMinYMax slice" | "defer xMinYMax" | "defer xMinYMid meet" | "defer xMinYMid slice" | "defer xMinYMid" | "defer xMinYMin meet" | "defer xMinYMin slice" | "defer xMinYMin";
1626
+ type SVGUnits = "objectBoundingBox" | "userSpaceOnUse";
1627
+ interface SvgCoreAttributes<T> extends AriaAttributes, DOMAttributes<T> {
1628
+ id?: string;
1629
+ lang?: string;
1630
+ tabIndex?: number | string;
1631
+ }
1632
+ interface SvgStylableAttributes {
1633
+ class?: ClassInfo | DirectiveResult<typeof ClassMapDirective> | string;
1634
+ style?: CssProperties | DirectiveResult<typeof StyleMapDirective> | string;
1635
+ }
1636
+ interface SvgTransformableAttributes {
1637
+ transform?: string;
1638
+ }
1639
+ interface SvgConditionalProcessingAttributes {
1640
+ requiredExtensions?: string;
1641
+ requiredFeatures?: string;
1642
+ systemLanguage?: string;
1643
+ }
1644
+ interface SvgExternalResourceAttributes {
1645
+ externalResourcesRequired?: boolean | "false" | "true";
1646
+ }
1647
+ interface SvgAnimationTimingAttributes {
1648
+ begin?: string;
1649
+ dur?: string;
1650
+ end?: string;
1651
+ fill?: "freeze" | "remove";
1652
+ max?: string;
1653
+ min?: string;
1654
+ repeatCount?: number | "indefinite";
1655
+ repeatDur?: string;
1656
+ restart?: "always" | "never" | "whenNotActive";
1657
+ }
1658
+ interface SvgAnimationValueAttributes {
1659
+ by?: number | string;
1660
+ calcMode?: "discrete" | "linear" | "paced" | "spline";
1661
+ from?: number | string;
1662
+ keySplines?: string;
1663
+ keyTimes?: string;
1664
+ to?: number | string;
1665
+ values?: string;
1666
+ }
1667
+ interface SvgAnimationAdditionAttributes {
1668
+ accumulate?: "none" | "sum";
1669
+ additive?: "replace" | "sum";
1670
+ attributeName?: string;
1671
+ }
1672
+ interface SvgAnimationAttributeTargetAttributes {
1673
+ attributeName?: string;
1674
+ attributeType?: "auto" | "CSS" | "XML";
1675
+ }
1676
+ interface SvgPresentationAttributes {
1677
+ "alignment-baseline"?: "after-edge" | "alphabetic" | "auto" | "baseline" | "before-edge" | "central" | "hanging" | "ideographic" | "inherit" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge";
1678
+ "baseline-shift"?: number | string;
1679
+ "clip"?: string;
1680
+ "clip-path"?: string;
1681
+ "clip-rule"?: "evenodd" | "inherit" | "nonzero";
1682
+ "color"?: string;
1683
+ "color-interpolation"?: "auto" | "inherit" | "linearRGB" | "sRGB";
1684
+ "color-interpolation-filters"?: "auto" | "inherit" | "linearRGB" | "sRGB";
1685
+ "color-profile"?: string;
1686
+ "color-rendering"?: "auto" | "inherit" | "optimizeQuality" | "optimizeSpeed";
1687
+ "cursor"?: string;
1688
+ "direction"?: "inherit" | "ltr" | "rtl";
1689
+ "display"?: string;
1690
+ "dominant-baseline"?: "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "inherit" | "mathematical" | "middle" | "text-bottom" | "text-top";
1691
+ "enable-background"?: string;
1692
+ "fill"?: string;
1693
+ "fill-opacity"?: number | string | "inherit";
1694
+ "fill-rule"?: "evenodd" | "inherit" | "nonzero";
1695
+ "filter"?: string;
1696
+ "flood-color"?: string;
1697
+ "flood-opacity"?: number | string | "inherit";
1698
+ "font-family"?: string;
1699
+ "font-size"?: string;
1700
+ "font-size-adjust"?: number | string;
1701
+ "font-stretch"?: string;
1702
+ "font-style"?: "inherit" | "italic" | "normal" | "oblique";
1703
+ "font-variant"?: string;
1704
+ "font-weight"?: number | string;
1705
+ "glyph-orientation-horizontal"?: string;
1706
+ "glyph-orientation-vertical"?: string;
1707
+ "image-rendering"?: "auto" | "inherit" | "optimizeQuality" | "optimizeSpeed";
1708
+ "kerning"?: string;
1709
+ "letter-spacing"?: number | string;
1710
+ "lighting-color"?: string;
1711
+ "marker-end"?: string;
1712
+ "marker-mid"?: string;
1713
+ "marker-start"?: string;
1714
+ "mask"?: string;
1715
+ "opacity"?: number | string | "inherit";
1716
+ "overflow"?: "auto" | "hidden" | "inherit" | "scroll" | "visible";
1717
+ "pathLength"?: number | string;
1718
+ "pointer-events"?: "all" | "bounding-box" | "color" | "fill" | "inherit" | "none" | "painted" | "stroke" | "visible" | "visibleFill" | "visiblePainted" | "visibleStroke";
1719
+ "shape-rendering"?: "auto" | "crispEdges" | "geometricPrecision" | "inherit" | "optimizeSpeed";
1720
+ "stop-color"?: string;
1721
+ "stop-opacity"?: number | string | "inherit";
1722
+ "stroke"?: string;
1723
+ "stroke-dasharray"?: string;
1724
+ "stroke-dashoffset"?: number | string;
1725
+ "stroke-linecap"?: "butt" | "inherit" | "round" | "square";
1726
+ "stroke-linejoin"?: "arcs" | "bevel" | "inherit" | "miter-clip" | "miter" | "round";
1727
+ "stroke-miterlimit"?: number | string | "inherit";
1728
+ "stroke-opacity"?: number | string | "inherit";
1729
+ "stroke-width"?: number | string;
1730
+ "text-anchor"?: "end" | "inherit" | "middle" | "start";
1731
+ "text-decoration"?: "blink" | "inherit" | "line-through" | "none" | "overline" | "underline";
1732
+ "text-rendering"?: "auto" | "geometricPrecision" | "inherit" | "optimizeLegibility" | "optimizeSpeed";
1733
+ "unicode-bidi"?: string;
1734
+ "visibility"?: "collapse" | "hidden" | "inherit" | "visible";
1735
+ "word-spacing"?: number | string;
1736
+ "writing-mode"?: "inherit" | "lr-tb" | "lr" | "rl-tb" | "rl" | "tb-rl" | "tb";
1737
+ }
1738
+ interface SvgAnimationElementAttributes<T> extends SvgCoreAttributes<T>, SvgExternalResourceAttributes, SvgConditionalProcessingAttributes {
1739
+ }
1740
+ interface SvgContainerElementAttributes<T> extends SvgCoreAttributes<T>, SvgShapeElementAttributes<T>, Pick<SvgPresentationAttributes, "clip-path" | "color-interpolation" | "color-rendering" | "cursor" | "enable-background" | "filter" | "mask" | "opacity"> {
1741
+ }
1742
+ interface SvgFilterPrimitiveElementAttributes<T> extends SvgCoreAttributes<T>, Pick<SvgPresentationAttributes, "color-interpolation-filters"> {
1743
+ height?: number | string;
1744
+ result?: string;
1745
+ width?: number | string;
1746
+ x?: number | string;
1747
+ y?: number | string;
1748
+ }
1749
+ interface SvgSingleInputFilterAttributes {
1750
+ in?: string;
1751
+ }
1752
+ interface SvgDoubleInputFilterAttributes {
1753
+ in?: string;
1754
+ in2?: string;
1755
+ }
1756
+ interface SvgFitToViewBoxAttributes {
1757
+ preserveAspectRatio?: SVGPreserveAspectRatio;
1758
+ viewBox?: string;
1759
+ }
1760
+ interface SvgGradientElementAttributes<T> extends SvgCoreAttributes<T>, SvgExternalResourceAttributes, SvgStylableAttributes {
1761
+ gradientTransform?: string;
1762
+ gradientUnits?: SVGUnits;
1763
+ href?: string;
1764
+ spreadMethod?: "pad" | "reflect" | "repeat";
1765
+ }
1766
+ interface SvgGraphicsElementAttributes<T> extends SvgCoreAttributes<T>, Pick<SvgPresentationAttributes, "clip-rule" | "color-interpolation" | "color-rendering" | "cursor" | "display" | "filter" | "mask" | "opacity" | "pointer-events" | "visibility"> {
1767
+ }
1768
+ interface SvgLightSourceElementAttributes<T> extends SvgCoreAttributes<T> {
1769
+ }
1770
+ interface SvgNewViewportAttributes<T> extends SvgCoreAttributes<T>, Pick<SvgPresentationAttributes, "clip" | "overflow"> {
1771
+ viewBox?: string;
1772
+ }
1773
+ interface SvgShapeElementAttributes<T> extends SvgCoreAttributes<T>, Pick<SvgPresentationAttributes, "color" | "fill-opacity" | "fill-rule" | "fill" | "pathLength" | "shape-rendering" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-opacity" | "stroke-width" | "stroke"> {
1774
+ }
1775
+ interface SvgTextContentElementAttributes<T> extends SvgCoreAttributes<T>, Pick<SvgPresentationAttributes, "color" | "direction" | "dominant-baseline" | "fill-opacity" | "fill-rule" | "fill" | "font-family" | "font-size-adjust" | "font-size" | "font-stretch" | "font-style" | "font-variant" | "font-weight" | "glyph-orientation-horizontal" | "glyph-orientation-vertical" | "kerning" | "letter-spacing" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-opacity" | "stroke-width" | "stroke" | "text-anchor" | "text-decoration" | "unicode-bidi" | "word-spacing"> {
1776
+ }
1777
+ interface SvgZoomAndPanAttributes {
1778
+ zoomAndPan?: "disable" | "magnify";
1779
+ }
1780
+ interface SvgAnimateAttributes<T> extends SvgAnimationElementAttributes<T>, SvgAnimationAttributeTargetAttributes, SvgAnimationTimingAttributes, SvgAnimationValueAttributes, SvgAnimationAdditionAttributes, Pick<SvgPresentationAttributes, "color-interpolation" | "color-rendering"> {
1781
+ }
1782
+ interface SvgAnimateMotionAttributes<T> extends SvgAnimationElementAttributes<T>, SvgAnimationTimingAttributes, SvgAnimationValueAttributes, SvgAnimationAdditionAttributes {
1783
+ keyPoints?: string;
1784
+ origin?: "default";
1785
+ path?: string;
1786
+ rotate?: number | string | "auto-reverse" | "auto";
1787
+ }
1788
+ interface SvgAnimateTransformAttributes<T> extends SvgAnimationElementAttributes<T>, SvgAnimationAttributeTargetAttributes, SvgAnimationTimingAttributes, SvgAnimationValueAttributes, SvgAnimationAdditionAttributes {
1789
+ type?: "rotate" | "scale" | "skewX" | "skewY" | "translate";
1790
+ }
1791
+ interface SvgCircleAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgStylableAttributes, SvgTransformableAttributes {
1792
+ cx?: number | string;
1793
+ cy?: number | string;
1794
+ r?: number | string;
1795
+ }
1796
+ interface SvgClipPathAttributes<T> extends SvgCoreAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "clip-path"> {
1797
+ clipPathUnits?: SVGUnits;
1798
+ }
1799
+ interface SvgDefsAttributes<T> extends SvgContainerElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes {
1800
+ }
1801
+ interface SvgDescAttributes<T> extends SvgCoreAttributes<T>, SvgStylableAttributes {
1802
+ }
1803
+ interface SvgEllipseAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes {
1804
+ cx?: number | string;
1805
+ cy?: number | string;
1806
+ rx?: number | string;
1807
+ ry?: number | string;
1808
+ }
1809
+ interface SvgFeBlendAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgDoubleInputFilterAttributes, SvgStylableAttributes {
1810
+ mode?: "darken" | "lighten" | "multiply" | "normal" | "screen";
1811
+ }
1812
+ interface SvgFeColorMatrixAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1813
+ type?: "hueRotate" | "luminanceToAlpha" | "matrix" | "saturate";
1814
+ values?: string;
1815
+ }
1816
+ interface SvgFeComponentTransferAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1817
+ }
1818
+ interface SvgFeCompositeAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgDoubleInputFilterAttributes, SvgStylableAttributes {
1819
+ k1?: number | string;
1820
+ k2?: number | string;
1821
+ k3?: number | string;
1822
+ k4?: number | string;
1823
+ operator?: "arithmetic" | "atop" | "in" | "out" | "over" | "xor";
1824
+ }
1825
+ interface SvgFeConvolveMatrixAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1826
+ bias?: number | string;
1827
+ divisor?: number | string;
1828
+ edgeMode?: "duplicate" | "none" | "wrap";
1829
+ kernelMatrix?: string;
1830
+ kernelUnitLength?: number | string;
1831
+ order?: number | string;
1832
+ preserveAlpha?: boolean | "false" | "true";
1833
+ targetX?: number | string;
1834
+ targetY?: number | string;
1835
+ }
1836
+ interface SvgFeDiffuseLightingAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes, Pick<SvgPresentationAttributes, "color" | "lighting-color"> {
1837
+ diffuseConstant?: number | string;
1838
+ kernelUnitLength?: number | string;
1839
+ surfaceScale?: number | string;
1840
+ }
1841
+ interface SvgFeDisplacementMapAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgDoubleInputFilterAttributes, SvgStylableAttributes {
1842
+ scale?: number | string;
1843
+ xChannelSelector?: "A" | "B" | "G" | "R";
1844
+ yChannelSelector?: "A" | "B" | "G" | "R";
1845
+ }
1846
+ interface SvgFeDistantLightAttributes<T> extends SvgLightSourceElementAttributes<T> {
1847
+ azimuth?: number | string;
1848
+ elevation?: number | string;
1849
+ }
1850
+ interface SvgFeDropShadowAttributes<T> extends SvgCoreAttributes<T>, SvgFilterPrimitiveElementAttributes<T>, SvgStylableAttributes, Pick<SvgPresentationAttributes, "color" | "flood-color" | "flood-opacity"> {
1851
+ dx?: number | string;
1852
+ dy?: number | string;
1853
+ stdDeviation?: number | string;
1854
+ }
1855
+ interface SvgFeFloodAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgStylableAttributes, Pick<SvgPresentationAttributes, "color" | "flood-color" | "flood-opacity"> {
1856
+ }
1857
+ interface SvgFeFuncAttributes<T> extends SvgCoreAttributes<T> {
1858
+ amplitude?: number | string;
1859
+ exponent?: number | string;
1860
+ intercept?: number | string;
1861
+ offset?: number | string;
1862
+ slope?: number | string;
1863
+ tableValues?: string;
1864
+ type?: "discrete" | "gamma" | "identity" | "linear" | "table";
1865
+ }
1866
+ interface SvgFeGaussianBlurAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1867
+ stdDeviation?: number | string;
1868
+ }
1869
+ interface SvgFeImageAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgExternalResourceAttributes, SvgStylableAttributes {
1870
+ href?: string;
1871
+ preserveAspectRatio?: SVGPreserveAspectRatio;
1872
+ }
1873
+ interface SvgFeMergeAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgStylableAttributes {
1874
+ }
1875
+ interface SvgFeMergeNodeAttributes<T> extends SvgCoreAttributes<T>, SvgSingleInputFilterAttributes {
1876
+ }
1877
+ interface SvgFeMorphologyAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1878
+ operator?: "dilate" | "erode";
1879
+ radius?: number | string;
1880
+ }
1881
+ interface SvgFeOffsetAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1882
+ dx?: number | string;
1883
+ dy?: number | string;
1884
+ }
1885
+ interface SvgFePointLightAttributes<T> extends SvgLightSourceElementAttributes<T> {
1886
+ x?: number | string;
1887
+ y?: number | string;
1888
+ z?: number | string;
1889
+ }
1890
+ interface SvgFeSpecularLightingAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes, Pick<SvgPresentationAttributes, "color" | "lighting-color"> {
1891
+ kernelUnitLength?: number | string;
1892
+ specularConstant?: string;
1893
+ specularExponent?: string;
1894
+ surfaceScale?: string;
1895
+ }
1896
+ interface SvgFeSpotLightAttributes<T> extends SvgLightSourceElementAttributes<T> {
1897
+ limitingConeAngle?: number | string;
1898
+ pointsAtX?: number | string;
1899
+ pointsAtY?: number | string;
1900
+ pointsAtZ?: number | string;
1901
+ specularExponent?: number | string;
1902
+ x?: number | string;
1903
+ y?: number | string;
1904
+ z?: number | string;
1905
+ }
1906
+ interface SvgFeTileAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgSingleInputFilterAttributes, SvgStylableAttributes {
1907
+ }
1908
+ interface SvgFeTurbulanceAttributes<T> extends SvgFilterPrimitiveElementAttributes<T>, SvgStylableAttributes {
1909
+ baseFrequency?: number | string;
1910
+ numOctaves?: number | string;
1911
+ seed?: number | string;
1912
+ stitchTiles?: "noStitch" | "stitch";
1913
+ type?: "fractalNoise" | "turbulence";
1914
+ }
1915
+ interface SvgFilterAttributes<T> extends SvgCoreAttributes<T>, SvgExternalResourceAttributes, SvgStylableAttributes {
1916
+ filterRes?: number | string;
1917
+ filterUnits?: SVGUnits;
1918
+ height?: number | string;
1919
+ primitiveUnits?: SVGUnits;
1920
+ width?: number | string;
1921
+ x?: number | string;
1922
+ y?: number | string;
1923
+ }
1924
+ interface SvgForeignObjectAttributes<T> extends SvgNewViewportAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "display" | "visibility"> {
1925
+ height?: number | string;
1926
+ width?: number | string;
1927
+ x?: number | string;
1928
+ y?: number | string;
1929
+ }
1930
+ interface SvgGAttributes<T> extends SvgContainerElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "display" | "visibility"> {
1931
+ }
1932
+ interface SvgImageAttributes<T> extends SvgNewViewportAttributes<T>, SvgGraphicsElementAttributes<T>, SvgConditionalProcessingAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "color-profile" | "image-rendering"> {
1933
+ crossOrigin?: HtmlCrossOrigin;
1934
+ elementTiming?: string;
1935
+ height?: number | string;
1936
+ href?: string;
1937
+ preserveAspectRatio?: ImagePreserveAspectRatio;
1938
+ width?: number | string;
1939
+ x?: number | string;
1940
+ y?: number | string;
1941
+ }
1942
+ interface SvgLineAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "marker-end" | "marker-mid" | "marker-start"> {
1943
+ x1?: number | string;
1944
+ x2?: number | string;
1945
+ y1?: number | string;
1946
+ y2?: number | string;
1947
+ }
1948
+ interface SvgLinearGradientAttributes<T> extends SvgGradientElementAttributes<T> {
1949
+ x1?: number | string;
1950
+ x2?: number | string;
1951
+ y1?: number | string;
1952
+ y2?: number | string;
1953
+ }
1954
+ interface SvgMarkerAttributes<T> extends SvgContainerElementAttributes<T>, SvgExternalResourceAttributes, SvgStylableAttributes, SvgFitToViewBoxAttributes, Pick<SvgPresentationAttributes, "clip" | "overflow"> {
1955
+ markerHeight?: number | string;
1956
+ markerUnits?: "strokeWidth" | "userSpaceOnUse";
1957
+ markerWidth?: number | string;
1958
+ orient?: string;
1959
+ refX?: number | string;
1960
+ refY?: number | string;
1961
+ }
1962
+ interface SvgMaskAttributes<T> extends Omit<SvgContainerElementAttributes<T>, "filter" | "opacity">, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes {
1963
+ height?: number | string;
1964
+ maskContentUnits?: SVGUnits;
1965
+ maskUnits?: SVGUnits;
1966
+ width?: number | string;
1967
+ x?: number | string;
1968
+ y?: number | string;
1969
+ }
1970
+ interface SvgMetadataAttributes<T> extends SvgCoreAttributes<T> {
1971
+ }
1972
+ interface SvgMpathAttributes<T> extends SvgCoreAttributes<T> {
1973
+ }
1974
+ interface SvgPathAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "marker-end" | "marker-mid" | "marker-start"> {
1975
+ d?: string;
1976
+ pathLength?: number | string;
1977
+ }
1978
+ interface SvgPatternAttributes<T> extends SvgContainerElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgFitToViewBoxAttributes, Pick<SvgPresentationAttributes, "clip" | "overflow"> {
1979
+ height?: number | string;
1980
+ href?: string;
1981
+ patternContentUnits?: SVGUnits;
1982
+ patternTransform?: string;
1983
+ patternUnits?: SVGUnits;
1984
+ width?: number | string;
1985
+ x?: number | string;
1986
+ y?: number | string;
1987
+ }
1988
+ interface SvgPolygonAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "marker-end" | "marker-mid" | "marker-start"> {
1989
+ points?: string;
1990
+ }
1991
+ interface SvgPolylineAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "marker-end" | "marker-mid" | "marker-start"> {
1992
+ points?: string;
1993
+ }
1994
+ interface SvgRadialGradientAttributes<T> extends SvgGradientElementAttributes<T> {
1995
+ cx?: number | string;
1996
+ cy?: number | string;
1997
+ fx?: number | string;
1998
+ fy?: number | string;
1999
+ r?: number | string;
2000
+ }
2001
+ interface SvgRectAttributes<T> extends SvgGraphicsElementAttributes<T>, SvgShapeElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes {
2002
+ height?: number | string;
2003
+ rx?: number | string;
2004
+ ry?: number | string;
2005
+ width?: number | string;
2006
+ x?: number | string;
2007
+ y?: number | string;
2008
+ }
2009
+ interface SvgSetAttributes<T> extends SvgCoreAttributes<T>, SvgStylableAttributes, SvgAnimationTimingAttributes {
2010
+ }
2011
+ interface SvgStopAttributes<T> extends SvgCoreAttributes<T>, SvgStylableAttributes, Pick<SvgPresentationAttributes, "color" | "stop-color" | "stop-opacity"> {
2012
+ offset?: number | string;
2013
+ }
2014
+ interface SvgSvgAttributes<T> extends SvgContainerElementAttributes<T>, SvgNewViewportAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgFitToViewBoxAttributes, SvgZoomAndPanAttributes, SvgPresentationAttributes {
2015
+ baseProfile?: string;
2016
+ contentScriptType?: string;
2017
+ contentStyleType?: string;
2018
+ currentScale?: number;
2019
+ height?: number | string;
2020
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event) */
2021
+ onAfterPrint?: EventHandlerUnion<T, Event>;
2022
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeprint_event) */
2023
+ onBeforePrint?: EventHandlerUnion<T, Event>;
2024
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeunload_event) */
2025
+ onBeforeunload?: EventHandlerUnion<T, BeforeUnloadEvent>;
2026
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepadconnected_event) */
2027
+ onGamepadConnected?: EventHandlerUnion<T, GamepadEvent>;
2028
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepaddisconnected_event) */
2029
+ onGamepadDisconnected?: EventHandlerUnion<T, GamepadEvent>;
2030
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/hashchange_event) */
2031
+ onHashChange?: EventHandlerUnion<T, HashChangeEvent>;
2032
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/languagechange_event) */
2033
+ onLanguageChange?: EventHandlerUnion<T, Event>;
2034
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/message_event) */
2035
+ onMessage?: EventHandlerUnion<T, MessageEvent>;
2036
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/messageerror_event) */
2037
+ onMessageError?: EventHandlerUnion<T, MessageEvent>;
2038
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/offline_event) */
2039
+ onOffline?: EventHandlerUnion<T, Event>;
2040
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/online_event) */
2041
+ onOnline?: EventHandlerUnion<T, Event>;
2042
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
2043
+ onPageHide?: EventHandlerUnion<T, PageTransitionEvent>;
2044
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
2045
+ onPageShow?: EventHandlerUnion<T, PageTransitionEvent>;
2046
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
2047
+ onPopState?: EventHandlerUnion<T, PopStateEvent>;
2048
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
2049
+ onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent>;
2050
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/storage_event) */
2051
+ onStorage?: EventHandlerUnion<T, StorageEvent>;
2052
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
2053
+ onUnhandledRejection?: EventHandlerUnion<T, PromiseRejectionEvent>;
2054
+ version?: string;
2055
+ width?: number | string;
2056
+ x?: number | string;
2057
+ xmlns?: string;
2058
+ y?: number | string;
2059
+ }
2060
+ interface SvgSwitchAttributes<T> extends SvgContainerElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "display" | "visibility"> {
2061
+ }
2062
+ interface SvgSymbolAttributes<T> extends SvgContainerElementAttributes<T>, SvgNewViewportAttributes<T>, SvgExternalResourceAttributes, SvgStylableAttributes, SvgFitToViewBoxAttributes {
2063
+ height?: number | string;
2064
+ preserveAspectRatio?: SVGPreserveAspectRatio;
2065
+ refX?: number | string;
2066
+ refY?: number | string;
2067
+ viewBox?: string;
2068
+ width?: number | string;
2069
+ x?: number | string;
2070
+ y?: number | string;
2071
+ }
2072
+ interface SvgTextAttributes<T> extends SvgTextContentElementAttributes<T>, SvgGraphicsElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, SvgTransformableAttributes, Pick<SvgPresentationAttributes, "text-rendering" | "writing-mode"> {
2073
+ dx?: number | string;
2074
+ dy?: number | string;
2075
+ lengthAdjust?: "spacing" | "spacingAndGlyphs";
2076
+ rotate?: number | string;
2077
+ textLength?: number | string;
2078
+ x?: number | string;
2079
+ y?: number | string;
2080
+ }
2081
+ interface SvgTextPathAttributes<T> extends SvgTextContentElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, Pick<SvgPresentationAttributes, "alignment-baseline" | "baseline-shift" | "display" | "visibility"> {
2082
+ href?: string;
2083
+ method?: "align" | "stretch";
2084
+ spacing?: "auto" | "exact";
2085
+ startOffset?: number | string;
2086
+ }
2087
+ interface SvgTspanAttributes<T> extends SvgTextContentElementAttributes<T>, SvgConditionalProcessingAttributes, SvgExternalResourceAttributes, SvgStylableAttributes, Pick<SvgPresentationAttributes, "alignment-baseline" | "baseline-shift" | "display" | "visibility"> {
2088
+ dx?: number | string;
2089
+ dy?: number | string;
2090
+ lengthAdjust?: "spacing" | "spacingAndGlyphs";
2091
+ rotate?: number | string;
2092
+ textLength?: number | string;
2093
+ x?: number | string;
2094
+ y?: number | string;
2095
+ }
2096
+ /**
2097
+ * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
2098
+ */
2099
+ interface SvgUseAttributes<T> extends SvgCoreAttributes<T>, SvgStylableAttributes, SvgConditionalProcessingAttributes, SvgGraphicsElementAttributes<T>, SvgPresentationAttributes, SvgExternalResourceAttributes, SvgTransformableAttributes {
2100
+ height?: number | string;
2101
+ href?: string;
2102
+ width?: number | string;
2103
+ x?: number | string;
2104
+ y?: number | string;
2105
+ }
2106
+ interface SvgViewAttributes<T> extends SvgCoreAttributes<T>, SvgExternalResourceAttributes, SvgFitToViewBoxAttributes, SvgZoomAndPanAttributes {
2107
+ viewTarget?: string;
2108
+ }
2109
+ /**
2110
+ * A list of native HTML elements and their props.
2111
+ *
2112
+ * @see {HTMLElementTagNameMap}
2113
+ * @remarks
2114
+ * Name uses consecutive capitalized letters to avoid a breaking change. We can
2115
+ * batch breaking changes in a single release in the future.
2116
+ */
2117
+ export interface HTMLElementTags {
2118
+ a: HtmlAnchorAttributes<HTMLAnchorElement>;
2119
+ abbr: HTMLAttributes;
2120
+ address: HTMLAttributes;
2121
+ area: HtmlAreaAttributes<HTMLAreaElement>;
2122
+ article: HTMLAttributes;
2123
+ aside: HTMLAttributes;
2124
+ audio: HtmlAudioAttributes<HTMLAudioElement>;
2125
+ b: HTMLAttributes;
2126
+ base: HtmlBaseAttributes<HTMLBaseElement>;
2127
+ bdi: HTMLAttributes;
2128
+ bdo: HTMLAttributes;
2129
+ blockquote: HtmlBlockquoteAttributes<HTMLQuoteElement>;
2130
+ br: HTMLAttributes<HTMLBRElement>;
2131
+ button: HtmlButtonAttributes<HTMLButtonElement>;
2132
+ canvas: HtmlCanvasAttributes<HTMLCanvasElement>;
2133
+ caption: HTMLAttributes;
2134
+ cite: HTMLAttributes;
2135
+ code: HTMLAttributes;
2136
+ col: HtmlColAttributes<HTMLTableColElement>;
2137
+ colgroup: HtmlColgroupAttributes<HTMLTableColElement>;
2138
+ data: HtmlDataAttributes<HTMLDataElement>;
2139
+ datalist: HTMLAttributes<HTMLDataListElement>;
2140
+ dd: HTMLAttributes;
2141
+ del: HtmlModAttributes<HTMLModElement>;
2142
+ details: HtmlDetailsAttributes<HTMLDetailsElement>;
2143
+ dfn: HTMLAttributes;
2144
+ dialog: HtmlDialogAttributes<HTMLDialogElement>;
2145
+ div: HTMLAttributes<HTMLDivElement>;
2146
+ dl: HTMLAttributes<HTMLDListElement>;
2147
+ dt: HTMLAttributes;
2148
+ em: HTMLAttributes;
2149
+ embed: HtmlEmbedAttributes<HTMLEmbedElement>;
2150
+ fieldset: HtmlFieldsetAttributes<HTMLFieldSetElement>;
2151
+ figcaption: HTMLAttributes;
2152
+ figure: HTMLAttributes;
2153
+ footer: HTMLAttributes;
2154
+ form: HtmlFormAttributes<HTMLFormElement>;
2155
+ h1: HTMLAttributes<HTMLHeadingElement>;
2156
+ h2: HTMLAttributes<HTMLHeadingElement>;
2157
+ h3: HTMLAttributes<HTMLHeadingElement>;
2158
+ h4: HTMLAttributes<HTMLHeadingElement>;
2159
+ h5: HTMLAttributes<HTMLHeadingElement>;
2160
+ h6: HTMLAttributes<HTMLHeadingElement>;
2161
+ header: HTMLAttributes;
2162
+ hgroup: HTMLAttributes;
2163
+ hr: HTMLAttributes<HTMLHRElement>;
2164
+ i: HTMLAttributes;
2165
+ iframe: HtmlIframeAttributes<HTMLIFrameElement>;
2166
+ img: HtmlImgAttributes<HTMLImageElement>;
2167
+ input: HtmlInputAttributes<HTMLInputElement>;
2168
+ ins: HtmlModAttributes<HTMLModElement>;
2169
+ kbd: HTMLAttributes;
2170
+ label: HtmlLabelAttributes<HTMLLabelElement>;
2171
+ legend: HTMLAttributes<HTMLLegendElement>;
2172
+ li: HtmlLiAttributes<HTMLLIElement>;
2173
+ link: HtmlLinkAttributes<HTMLLinkElement>;
2174
+ main: HTMLAttributes;
2175
+ map: HtmlMapAttributes<HTMLMapElement>;
2176
+ mark: HTMLAttributes;
2177
+ math: HtmlMathMlAttributes<HTMLMathElement>;
2178
+ menu: HtmlMenuAttributes<HTMLMenuElement>;
2179
+ meta: HtmlMetaAttributes<HTMLMetaElement>;
2180
+ meter: HtmlMeterAttributes<HTMLMeterElement>;
2181
+ nav: HTMLAttributes;
2182
+ noscript: HTMLAttributes;
2183
+ object: HtmlObjectAttributes<HTMLObjectElement>;
2184
+ ol: HtmlOlAttributes<HTMLOListElement>;
2185
+ optgroup: HtmlOptgroupAttributes<HTMLOptGroupElement>;
2186
+ option: HtmlOptionAttributes<HTMLOptionElement>;
2187
+ output: HtmlOutputAttributes<HTMLOutputElement>;
2188
+ p: HTMLAttributes<HTMLParagraphElement>;
2189
+ picture: HTMLAttributes;
2190
+ pre: HTMLAttributes<HTMLPreElement>;
2191
+ progress: HtmlProgressAttributes<HTMLProgressElement>;
2192
+ q: HtmlQuoteAttributes<HTMLQuoteElement>;
2193
+ rp: HTMLAttributes;
2194
+ rt: HTMLAttributes;
2195
+ ruby: HTMLAttributes;
2196
+ s: HTMLAttributes;
2197
+ samp: HTMLAttributes;
2198
+ script: HtmlScriptAttributes<HTMLScriptElement>;
2199
+ search: HTMLAttributes;
2200
+ section: HTMLAttributes;
2201
+ select: HtmlSelectAttributes<HTMLSelectElement>;
2202
+ slot: HtmlSlotAttributes<HTMLSlotElement>;
2203
+ small: HTMLAttributes;
2204
+ source: HtmlSourceAttributes<HTMLSourceElement>;
2205
+ span: HTMLAttributes<HTMLSpanElement>;
2206
+ strong: HTMLAttributes;
2207
+ /**
2208
+ * For use when you have a dynamic CSS string that needs to be added as a
2209
+ * style. If you have a static string, use Lit's "styles" property instead
2210
+ * for better performance.
2211
+ */
2212
+ style: HtmlStyleAttributes<HTMLStyleElement>;
2213
+ sub: HTMLAttributes;
2214
+ summary: HTMLAttributes;
2215
+ sup: HTMLAttributes;
2216
+ table: HTMLAttributes<HTMLTableElement>;
2217
+ tbody: HTMLAttributes<HTMLTableSectionElement>;
2218
+ td: HtmlTdAttributes<HTMLTableCellElement>;
2219
+ template: HtmlTemplateAttributes<HTMLTemplateElement>;
2220
+ textarea: HtmlTextareaAttributes<HTMLTextAreaElement>;
2221
+ tfoot: HTMLAttributes<HTMLTableSectionElement>;
2222
+ th: HtmlThAttributes<HTMLTableCellElement>;
2223
+ thead: HTMLAttributes<HTMLTableSectionElement>;
2224
+ time: HtmlTimeAttributes<HTMLTimeElement>;
2225
+ title: HTMLAttributes<HTMLTitleElement>;
2226
+ tr: HTMLAttributes<HTMLTableRowElement>;
2227
+ track: HtmlTrackAttributes<HTMLTrackElement>;
2228
+ u: HTMLAttributes;
2229
+ ul: HTMLAttributes<HTMLUListElement>;
2230
+ var: HTMLAttributes;
2231
+ video: HtmlVideoAttributes<HTMLVideoElement>;
2232
+ wbr: HTMLAttributes;
2233
+ }
2234
+ /**
2235
+ * A list of native SVG elements and their props.
2236
+ *
2237
+ * @type {SVGElementTagNameMap}
2238
+ */
2239
+ export interface SvgElementTags {
2240
+ animate: SvgAnimateAttributes<SVGAnimateElement>;
2241
+ animateMotion: SvgAnimateMotionAttributes<SVGAnimateMotionElement>;
2242
+ animateTransform: SvgAnimateTransformAttributes<SVGAnimateTransformElement>;
2243
+ circle: SvgCircleAttributes<SVGCircleElement>;
2244
+ clipPath: SvgClipPathAttributes<SVGClipPathElement>;
2245
+ defs: SvgDefsAttributes<SVGDefsElement>;
2246
+ desc: SvgDescAttributes<SVGDescElement>;
2247
+ ellipse: SvgEllipseAttributes<SVGEllipseElement>;
2248
+ feBlend: SvgFeBlendAttributes<SVGFEBlendElement>;
2249
+ feColorMatrix: SvgFeColorMatrixAttributes<SVGFEColorMatrixElement>;
2250
+ feComponentTransfer: SvgFeComponentTransferAttributes<SVGFEComponentTransferElement>;
2251
+ feComposite: SvgFeCompositeAttributes<SVGFECompositeElement>;
2252
+ feConvolveMatrix: SvgFeConvolveMatrixAttributes<SVGFEConvolveMatrixElement>;
2253
+ feDiffuseLighting: SvgFeDiffuseLightingAttributes<SVGFEDiffuseLightingElement>;
2254
+ feDisplacementMap: SvgFeDisplacementMapAttributes<SVGFEDisplacementMapElement>;
2255
+ feDistantLight: SvgFeDistantLightAttributes<SVGFEDistantLightElement>;
2256
+ feDropShadow: SvgFeDropShadowAttributes<SVGFEDropShadowElement>;
2257
+ feFlood: SvgFeFloodAttributes<SVGFEFloodElement>;
2258
+ feFuncA: SvgFeFuncAttributes<SVGFEFuncAElement>;
2259
+ feFuncB: SvgFeFuncAttributes<SVGFEFuncBElement>;
2260
+ feFuncG: SvgFeFuncAttributes<SVGFEFuncGElement>;
2261
+ feFuncR: SvgFeFuncAttributes<SVGFEFuncRElement>;
2262
+ feGaussianBlur: SvgFeGaussianBlurAttributes<SVGFEGaussianBlurElement>;
2263
+ feImage: SvgFeImageAttributes<SVGFEImageElement>;
2264
+ feMerge: SvgFeMergeAttributes<SVGFEMergeElement>;
2265
+ feMergeNode: SvgFeMergeNodeAttributes<SVGFEMergeNodeElement>;
2266
+ feMorphology: SvgFeMorphologyAttributes<SVGFEMorphologyElement>;
2267
+ feOffset: SvgFeOffsetAttributes<SVGFEOffsetElement>;
2268
+ fePointLight: SvgFePointLightAttributes<SVGFEPointLightElement>;
2269
+ feSpecularLighting: SvgFeSpecularLightingAttributes<SVGFESpecularLightingElement>;
2270
+ feSpotLight: SvgFeSpotLightAttributes<SVGFESpotLightElement>;
2271
+ feTile: SvgFeTileAttributes<SVGFETileElement>;
2272
+ feTurbulence: SvgFeTurbulanceAttributes<SVGFETurbulenceElement>;
2273
+ filter: SvgFilterAttributes<SVGFilterElement>;
2274
+ foreignObject: SvgForeignObjectAttributes<SVGForeignObjectElement>;
2275
+ g: SvgGAttributes<SVGGElement>;
2276
+ image: SvgImageAttributes<SVGImageElement>;
2277
+ line: SvgLineAttributes<SVGLineElement>;
2278
+ linearGradient: SvgLinearGradientAttributes<SVGLinearGradientElement>;
2279
+ marker: SvgMarkerAttributes<SVGMarkerElement>;
2280
+ mask: SvgMaskAttributes<SVGMaskElement>;
2281
+ metadata: SvgMetadataAttributes<SVGMetadataElement>;
2282
+ mpath: SvgMpathAttributes<SVGMPathElement>;
2283
+ path: SvgPathAttributes<SVGPathElement>;
2284
+ pattern: SvgPatternAttributes<SVGPatternElement>;
2285
+ polygon: SvgPolygonAttributes<SVGPolygonElement>;
2286
+ polyline: SvgPolylineAttributes<SVGPolylineElement>;
2287
+ radialGradient: SvgRadialGradientAttributes<SVGRadialGradientElement>;
2288
+ rect: SvgRectAttributes<SVGRectElement>;
2289
+ set: SvgSetAttributes<SVGSetElement>;
2290
+ stop: SvgStopAttributes<SVGStopElement>;
2291
+ svg: SvgSvgAttributes<SVGSVGElement>;
2292
+ switch: SvgSwitchAttributes<SVGSwitchElement>;
2293
+ symbol: SvgSymbolAttributes<SVGSymbolElement>;
2294
+ text: SvgTextAttributes<SVGTextElement>;
2295
+ textPath: SvgTextPathAttributes<SVGTextPathElement>;
2296
+ tspan: SvgTspanAttributes<SVGTSpanElement>;
2297
+ use: SvgUseAttributes<SVGUseElement>;
2298
+ view: SvgViewAttributes<SVGViewElement>;
2299
+ }
2300
+ export {};