effect-start 0.9.0

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.
Files changed (67) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +109 -0
  3. package/package.json +57 -0
  4. package/src/Bundle.ts +167 -0
  5. package/src/BundleFiles.ts +174 -0
  6. package/src/BundleHttp.test.ts +160 -0
  7. package/src/BundleHttp.ts +259 -0
  8. package/src/Commander.test.ts +1378 -0
  9. package/src/Commander.ts +672 -0
  10. package/src/Datastar.test.ts +267 -0
  11. package/src/Datastar.ts +68 -0
  12. package/src/Effect_HttpRouter.test.ts +570 -0
  13. package/src/EncryptedCookies.test.ts +427 -0
  14. package/src/EncryptedCookies.ts +451 -0
  15. package/src/FileHttpRouter.test.ts +207 -0
  16. package/src/FileHttpRouter.ts +122 -0
  17. package/src/FileRouter.ts +405 -0
  18. package/src/FileRouterCodegen.test.ts +598 -0
  19. package/src/FileRouterCodegen.ts +251 -0
  20. package/src/FileRouter_files.test.ts +64 -0
  21. package/src/FileRouter_path.test.ts +132 -0
  22. package/src/FileRouter_tree.test.ts +126 -0
  23. package/src/FileSystemExtra.ts +102 -0
  24. package/src/HttpAppExtra.ts +127 -0
  25. package/src/Hyper.ts +194 -0
  26. package/src/HyperHtml.test.ts +90 -0
  27. package/src/HyperHtml.ts +139 -0
  28. package/src/HyperNode.ts +37 -0
  29. package/src/JsModule.test.ts +14 -0
  30. package/src/JsModule.ts +116 -0
  31. package/src/PublicDirectory.test.ts +280 -0
  32. package/src/PublicDirectory.ts +108 -0
  33. package/src/Route.test.ts +873 -0
  34. package/src/Route.ts +992 -0
  35. package/src/Router.ts +80 -0
  36. package/src/SseHttpResponse.ts +55 -0
  37. package/src/Start.ts +133 -0
  38. package/src/StartApp.ts +43 -0
  39. package/src/StartHttp.ts +42 -0
  40. package/src/StreamExtra.ts +146 -0
  41. package/src/TestHttpClient.test.ts +54 -0
  42. package/src/TestHttpClient.ts +100 -0
  43. package/src/bun/BunBundle.test.ts +277 -0
  44. package/src/bun/BunBundle.ts +309 -0
  45. package/src/bun/BunBundle_imports.test.ts +50 -0
  46. package/src/bun/BunFullstackServer.ts +45 -0
  47. package/src/bun/BunFullstackServer_httpServer.ts +541 -0
  48. package/src/bun/BunImportTrackerPlugin.test.ts +77 -0
  49. package/src/bun/BunImportTrackerPlugin.ts +97 -0
  50. package/src/bun/BunTailwindPlugin.test.ts +335 -0
  51. package/src/bun/BunTailwindPlugin.ts +322 -0
  52. package/src/bun/BunVirtualFilesPlugin.ts +59 -0
  53. package/src/bun/index.ts +4 -0
  54. package/src/client/Overlay.ts +34 -0
  55. package/src/client/ScrollState.ts +120 -0
  56. package/src/client/index.ts +101 -0
  57. package/src/index.ts +24 -0
  58. package/src/jsx-datastar.d.ts +63 -0
  59. package/src/jsx-runtime.ts +23 -0
  60. package/src/jsx.d.ts +4402 -0
  61. package/src/testing.ts +55 -0
  62. package/src/x/cloudflare/CloudflareTunnel.ts +110 -0
  63. package/src/x/cloudflare/index.ts +1 -0
  64. package/src/x/datastar/Datastar.test.ts +267 -0
  65. package/src/x/datastar/Datastar.ts +68 -0
  66. package/src/x/datastar/index.ts +4 -0
  67. package/src/x/datastar/jsx-datastar.d.ts +63 -0
package/src/jsx.d.ts ADDED
@@ -0,0 +1,4402 @@
1
+ import * as HyperNode from "./HyperNode.ts"
2
+ import type { DatastarAttributes } from "./x/datastar/jsx-datastar.ts"
3
+
4
+ /**
5
+ * Based on JSX types for Surplus, Inferno, and dom-expressions.
6
+ *
7
+ * https://github.com/adamhaile/surplus/blob/master/index.d.ts
8
+ * https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts
9
+ * https://github.com/ryansolid/dom-expressions/blob/main/packages/dom-expressions/src/jsx.d.ts
10
+ *
11
+ * MathML typings coming mostly from Preact
12
+ * https://github.com/preactjs/preact/blob/07dc9f324e58569ce66634aa03fe8949b4190358/src/jsx.d.ts#L2575
13
+ *
14
+ * Checked against other frameworks via the following table:
15
+ * https://potahtml.github.io/namespace-jsx-project/index.html
16
+ */
17
+ type DOMElement = never
18
+
19
+ export namespace JSX {
20
+ type Element = HyperNode.HyperNode
21
+ type Child =
22
+ | Element
23
+ | string
24
+ | number
25
+ | bigint
26
+ type Children =
27
+ | Child
28
+ | SilentChild
29
+ | Iterable<Children>
30
+
31
+ // a child that is not rendered and is often a result
32
+ // of conditional rendering, like: `{condition && <div>...</div>}`
33
+ type SilentChild =
34
+ | boolean
35
+ | null
36
+ | undefined
37
+
38
+ interface ElementClass {
39
+ // empty, libs can define requirements downstream
40
+ }
41
+ interface ElementAttributesProperty {
42
+ // empty, libs can define requirements downstream
43
+ }
44
+ interface ElementChildrenAttribute {
45
+ children: {}
46
+ }
47
+
48
+ // Event handlers
49
+
50
+ interface EventHandler<T, E extends Event> {
51
+ (
52
+ e: E & {
53
+ currentTarget: T
54
+ target: DOMElement
55
+ },
56
+ ): void
57
+ }
58
+
59
+ interface BoundEventHandler<
60
+ T,
61
+ E extends Event,
62
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>,
63
+ > {
64
+ 0: (data: any, ...e: Parameters<EHandler>) => void
65
+ 1: any
66
+ }
67
+ type EventHandlerUnion<
68
+ T,
69
+ E extends Event,
70
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>,
71
+ > = EHandler | BoundEventHandler<T, E, EHandler>
72
+
73
+ interface EventHandlerWithOptions<
74
+ T,
75
+ E extends Event,
76
+ EHandler = EventHandler<T, E>,
77
+ > extends AddEventListenerOptions, EventListenerOptions {
78
+ handleEvent: EHandler
79
+ }
80
+
81
+ type EventHandlerWithOptionsUnion<
82
+ T,
83
+ E extends Event,
84
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>,
85
+ > = EHandler | EventHandlerWithOptions<T, E, EHandler>
86
+
87
+ interface InputEventHandler<T, E extends InputEvent> {
88
+ (
89
+ e: E & {
90
+ currentTarget: T
91
+ target: T extends
92
+ | HTMLInputElement
93
+ | HTMLSelectElement
94
+ | HTMLTextAreaElement ? T
95
+ : DOMElement
96
+ },
97
+ ): void
98
+ }
99
+ type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<
100
+ T,
101
+ E,
102
+ InputEventHandler<T, E>
103
+ >
104
+
105
+ interface ChangeEventHandler<T, E extends Event> {
106
+ (
107
+ e: E & {
108
+ currentTarget: T
109
+ target: T extends
110
+ | HTMLInputElement
111
+ | HTMLSelectElement
112
+ | HTMLTextAreaElement ? T
113
+ : DOMElement
114
+ },
115
+ ): void
116
+ }
117
+ type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<
118
+ T,
119
+ E,
120
+ ChangeEventHandler<T, E>
121
+ >
122
+
123
+ interface FocusEventHandler<T, E extends FocusEvent> {
124
+ (
125
+ e: E & {
126
+ currentTarget: T
127
+ target: T extends
128
+ | HTMLInputElement
129
+ | HTMLSelectElement
130
+ | HTMLTextAreaElement ? T
131
+ : DOMElement
132
+ },
133
+ ): void
134
+ }
135
+ type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion<
136
+ T,
137
+ E,
138
+ FocusEventHandler<T, E>
139
+ >
140
+ // end event handlers
141
+
142
+ const SERIALIZABLE: unique symbol
143
+ interface SerializableAttributeValue {
144
+ toString(): string
145
+ [SERIALIZABLE]: never
146
+ }
147
+
148
+ interface IntrinsicAttributes {
149
+ ref?: unknown | ((e: unknown) => void) | undefined
150
+ }
151
+ interface CustomAttributes<T> {
152
+ ref?: T | ((el: T) => void) | undefined
153
+ children?: Children
154
+ classList?:
155
+ | {
156
+ [k: string]: boolean | undefined
157
+ }
158
+ | undefined
159
+ }
160
+ type Accessor<T> = () => T
161
+ interface Directives {}
162
+ interface DirectiveFunctions {
163
+ [x: string]: (el: DOMElement, accessor: Accessor<any>) => void
164
+ }
165
+ interface ExplicitProperties {}
166
+ interface ExplicitAttributes {}
167
+ interface ExplicitBoolAttributes {}
168
+ interface CustomEvents {}
169
+ /** @deprecated Replaced by CustomEvents */
170
+ interface CustomCaptureEvents {}
171
+ type DirectiveAttributes = {
172
+ [Key in keyof Directives as `use:${Key}`]?: Directives[Key]
173
+ }
174
+ type DirectiveFunctionAttributes<T> = {
175
+ [
176
+ K in keyof DirectiveFunctions as string extends K ? never
177
+ : `use:${K}`
178
+ ]?: DirectiveFunctions[K] extends (
179
+ el: infer E, // will be unknown if not provided
180
+ ...rest: infer R // use rest so that we can check whether it's provided or not
181
+ ) => void ? T extends E // everything extends unknown if E is unknown
182
+ ? R extends [infer A] // check if has accessor provided
183
+ ? A extends Accessor<infer V> ? V // it's an accessor
184
+ : never // it isn't, type error
185
+ : true // no accessor provided
186
+ : never // T is the wrong element
187
+ : never // it isn't a function
188
+ }
189
+ type PropAttributes = {
190
+ [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key]
191
+ }
192
+ type AttrAttributes = {
193
+ [Key in keyof ExplicitAttributes as `attr:${Key}`]?: ExplicitAttributes[Key]
194
+ }
195
+ type BoolAttributes = {
196
+ [Key in keyof ExplicitBoolAttributes as `bool:${Key}`]?:
197
+ ExplicitBoolAttributes[Key]
198
+ }
199
+ type OnAttributes<T> = {
200
+ [Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<
201
+ T,
202
+ CustomEvents[Key]
203
+ >
204
+ }
205
+ type OnCaptureAttributes<T> = {
206
+ [Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler<
207
+ T,
208
+ CustomCaptureEvents[Key]
209
+ >
210
+ }
211
+
212
+ // events
213
+
214
+ /**
215
+ * `Window` events, defined for `<body>`, `<svg>`, `<frameset>` tags.
216
+ *
217
+ * Excluding `Elements events` already defined as globals that all tags share, such as `onblur`.
218
+ */
219
+ interface WindowEventMap<T> {
220
+ onAfterPrint?: EventHandlerUnion<T, Event> | undefined
221
+ onBeforePrint?: EventHandlerUnion<T, Event> | undefined
222
+ onBeforeUnload?: EventHandlerUnion<T, BeforeUnloadEvent> | undefined
223
+ onGamepadConnected?: EventHandlerUnion<T, GamepadEvent> | undefined
224
+ onGamepadDisconnected?: EventHandlerUnion<T, GamepadEvent> | undefined
225
+ onHashchange?: EventHandlerUnion<T, HashChangeEvent> | undefined
226
+ onLanguageChange?: EventHandlerUnion<T, Event> | undefined
227
+ onMessage?: EventHandlerUnion<T, MessageEvent> | undefined
228
+ onMessageError?: EventHandlerUnion<T, MessageEvent> | undefined
229
+ onOffline?: EventHandlerUnion<T, Event> | undefined
230
+ onOnline?: EventHandlerUnion<T, Event> | undefined
231
+ onPageHide?: EventHandlerUnion<T, PageTransitionEvent> | undefined
232
+ // TODO `PageRevealEvent` is currently undefined on TS
233
+ onPageReveal?: EventHandlerUnion<T, Event> | undefined
234
+ onPageShow?: EventHandlerUnion<T, PageTransitionEvent> | undefined
235
+ // TODO `PageSwapEvent` is currently undefined on TS
236
+ onPageSwap?: EventHandlerUnion<T, Event> | undefined
237
+ onPopstate?: EventHandlerUnion<T, PopStateEvent> | undefined
238
+ onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined
239
+ onStorage?: EventHandlerUnion<T, StorageEvent> | undefined
240
+ onUnhandledRejection?:
241
+ | EventHandlerUnion<T, PromiseRejectionEvent>
242
+ | undefined
243
+ onUnload?: EventHandlerUnion<T, Event> | undefined
244
+
245
+ onafterprint?: EventHandlerUnion<T, Event> | undefined
246
+ onbeforeprint?: EventHandlerUnion<T, Event> | undefined
247
+ onbeforeunload?: EventHandlerUnion<T, BeforeUnloadEvent> | undefined
248
+ ongamepadconnected?: EventHandlerUnion<T, GamepadEvent> | undefined
249
+ ongamepaddisconnected?: EventHandlerUnion<T, GamepadEvent> | undefined
250
+ onhashchange?: EventHandlerUnion<T, HashChangeEvent> | undefined
251
+ onlanguagechange?: EventHandlerUnion<T, Event> | undefined
252
+ onmessage?: EventHandlerUnion<T, MessageEvent> | undefined
253
+ onmessageerror?: EventHandlerUnion<T, MessageEvent> | undefined
254
+ onoffline?: EventHandlerUnion<T, Event> | undefined
255
+ ononline?: EventHandlerUnion<T, Event> | undefined
256
+ onpagehide?: EventHandlerUnion<T, PageTransitionEvent> | undefined
257
+ // TODO `PageRevealEvent` is currently undefined in TS
258
+ onpagereveal?: EventHandlerUnion<T, Event> | undefined
259
+ onpageshow?: EventHandlerUnion<T, PageTransitionEvent> | undefined
260
+ // TODO `PageSwapEvent` is currently undefined in TS
261
+ onpageswap?: EventHandlerUnion<T, Event> | undefined
262
+ onpopstate?: EventHandlerUnion<T, PopStateEvent> | undefined
263
+ onrejectionhandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined
264
+ onstorage?: EventHandlerUnion<T, StorageEvent> | undefined
265
+ onunhandledrejection?:
266
+ | EventHandlerUnion<T, PromiseRejectionEvent>
267
+ | undefined
268
+ onunload?: EventHandlerUnion<T, Event> | undefined
269
+
270
+ "on:afterprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined
271
+ "on:beforeprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined
272
+ "on:beforeunload"?:
273
+ | EventHandlerWithOptionsUnion<T, BeforeUnloadEvent>
274
+ | undefined
275
+ "on:gamepadconnected"?:
276
+ | EventHandlerWithOptionsUnion<T, GamepadEvent>
277
+ | undefined
278
+ "on:gamepaddisconnected"?:
279
+ | EventHandlerWithOptionsUnion<T, GamepadEvent>
280
+ | undefined
281
+ "on:hashchange"?:
282
+ | EventHandlerWithOptionsUnion<T, HashChangeEvent>
283
+ | undefined
284
+ "on:languagechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined
285
+ "on:message"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined
286
+ "on:messageerror"?:
287
+ | EventHandlerWithOptionsUnion<T, MessageEvent>
288
+ | undefined
289
+ "on:offline"?: EventHandlerWithOptionsUnion<T, Event> | undefined
290
+ "on:online"?: EventHandlerWithOptionsUnion<T, Event> | undefined
291
+ "on:pagehide"?:
292
+ | EventHandlerWithOptionsUnion<T, PageTransitionEvent>
293
+ | undefined
294
+ // TODO `PageRevealEvent` is currently undefined in TS
295
+ "on:pagereveal"?: EventHandlerWithOptionsUnion<T, Event> | undefined
296
+ "on:pageshow"?:
297
+ | EventHandlerWithOptionsUnion<T, PageTransitionEvent>
298
+ | undefined
299
+ // TODO `PageSwapEvent` is currently undefined in TS
300
+ "on:pageswap"?: EventHandlerWithOptionsUnion<T, Event> | undefined
301
+ "on:popstate"?: EventHandlerWithOptionsUnion<T, PopStateEvent> | undefined
302
+ "on:rejectionhandled"?:
303
+ | EventHandlerWithOptionsUnion<T, PromiseRejectionEvent>
304
+ | undefined
305
+ "on:storage"?: EventHandlerWithOptionsUnion<T, StorageEvent> | undefined
306
+ "on:unhandledrejection"?:
307
+ | EventHandlerWithOptionsUnion<T, PromiseRejectionEvent>
308
+ | undefined
309
+ "on:unload"?: EventHandlerWithOptionsUnion<T, Event> | undefined
310
+ }
311
+
312
+ /**
313
+ * Global `Elements events`, defined for all tags.
314
+ *
315
+ * That's events defined and shared by all of the `HTMLElement/SVGElement/MathMLElement`
316
+ * interfaces.
317
+ *
318
+ * Includes events defined for the `Element` interface.
319
+ */
320
+ interface CustomEventHandlersCamelCase<T> {
321
+ onAbort?: EventHandlerUnion<T, UIEvent> | undefined
322
+ onAnimationCancel?: EventHandlerUnion<T, AnimationEvent> | undefined
323
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent> | undefined
324
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent> | undefined
325
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent> | undefined
326
+ onAuxClick?: EventHandlerUnion<T, PointerEvent> | undefined
327
+ onBeforeCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined
328
+ onBeforeCut?: EventHandlerUnion<T, ClipboardEvent> | undefined
329
+ onBeforeInput?: InputEventHandlerUnion<T, InputEvent> | undefined
330
+ onBeforeMatch?: EventHandlerUnion<T, Event> | undefined
331
+ onBeforePaste?: EventHandlerUnion<T, ClipboardEvent> | undefined
332
+ onBeforeToggle?: EventHandlerUnion<T, ToggleEvent> | undefined
333
+ onBeforeXRSelect?: EventHandlerUnion<T, Event> | undefined
334
+ onBlur?: FocusEventHandlerUnion<T, FocusEvent> | undefined
335
+ onCancel?: EventHandlerUnion<T, Event> | undefined
336
+ onCanPlay?: EventHandlerUnion<T, Event> | undefined
337
+ onCanPlayThrough?: EventHandlerUnion<T, Event> | undefined
338
+ onChange?: ChangeEventHandlerUnion<T, Event> | undefined
339
+ onClick?: EventHandlerUnion<T, MouseEvent> | undefined
340
+ onClose?: EventHandlerUnion<T, Event> | undefined
341
+ // TODO `CommandEvent` is currently undefined in TS
342
+ onCommand?: EventHandlerUnion<T, Event> | undefined
343
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent> | undefined
344
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent> | undefined
345
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent> | undefined
346
+ onContentVisibilityAutoStateChange?:
347
+ | EventHandlerUnion<T, ContentVisibilityAutoStateChangeEvent>
348
+ | undefined
349
+ onContextLost?: EventHandlerUnion<T, Event> | undefined
350
+ onContextMenu?: EventHandlerUnion<T, PointerEvent> | undefined
351
+ onContextRestored?: EventHandlerUnion<T, Event> | undefined
352
+ onCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined
353
+ onCueChange?: EventHandlerUnion<T, Event> | undefined
354
+ onCut?: EventHandlerUnion<T, ClipboardEvent> | undefined
355
+ onDblClick?: EventHandlerUnion<T, MouseEvent> | undefined
356
+ onDrag?: EventHandlerUnion<T, DragEvent> | undefined
357
+ onDragEnd?: EventHandlerUnion<T, DragEvent> | undefined
358
+ onDragEnter?: EventHandlerUnion<T, DragEvent> | undefined
359
+ onDragExit?: EventHandlerUnion<T, DragEvent> | undefined
360
+ onDragLeave?: EventHandlerUnion<T, DragEvent> | undefined
361
+ onDragOver?: EventHandlerUnion<T, DragEvent> | undefined
362
+ onDragStart?: EventHandlerUnion<T, DragEvent> | undefined
363
+ onDrop?: EventHandlerUnion<T, DragEvent> | undefined
364
+ onDurationChange?: EventHandlerUnion<T, Event> | undefined
365
+ onEmptied?: EventHandlerUnion<T, Event> | undefined
366
+ onEnded?: EventHandlerUnion<T, Event> | undefined
367
+ onError?: EventHandlerUnion<T, ErrorEvent> | undefined
368
+ onFocus?: FocusEventHandlerUnion<T, FocusEvent> | undefined
369
+ onFocusIn?: FocusEventHandlerUnion<T, FocusEvent> | undefined
370
+ onFocusOut?: FocusEventHandlerUnion<T, FocusEvent> | undefined
371
+ onFormData?: EventHandlerUnion<T, FormDataEvent> | undefined
372
+ onFullscreenChange?: EventHandlerUnion<T, Event> | undefined
373
+ onFullscreenError?: EventHandlerUnion<T, Event> | undefined
374
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined
375
+ onInput?: InputEventHandlerUnion<T, InputEvent> | undefined
376
+ onInvalid?: EventHandlerUnion<T, Event> | undefined
377
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent> | undefined
378
+ onKeyPress?: EventHandlerUnion<T, KeyboardEvent> | undefined
379
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent> | undefined
380
+ onLoad?: EventHandlerUnion<T, Event> | undefined
381
+ onLoadedData?: EventHandlerUnion<T, Event> | undefined
382
+ onLoadedMetadata?: EventHandlerUnion<T, Event> | undefined
383
+ onLoadStart?: EventHandlerUnion<T, Event> | undefined
384
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined
385
+ onMouseDown?: EventHandlerUnion<T, MouseEvent> | undefined
386
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent> | undefined
387
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent> | undefined
388
+ onMouseMove?: EventHandlerUnion<T, MouseEvent> | undefined
389
+ onMouseOut?: EventHandlerUnion<T, MouseEvent> | undefined
390
+ onMouseOver?: EventHandlerUnion<T, MouseEvent> | undefined
391
+ onMouseUp?: EventHandlerUnion<T, MouseEvent> | undefined
392
+ onPaste?: EventHandlerUnion<T, ClipboardEvent> | undefined
393
+ onPause?: EventHandlerUnion<T, Event> | undefined
394
+ onPlay?: EventHandlerUnion<T, Event> | undefined
395
+ onPlaying?: EventHandlerUnion<T, Event> | undefined
396
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent> | undefined
397
+ onPointerDown?: EventHandlerUnion<T, PointerEvent> | undefined
398
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent> | undefined
399
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent> | undefined
400
+ onPointerMove?: EventHandlerUnion<T, PointerEvent> | undefined
401
+ onPointerOut?: EventHandlerUnion<T, PointerEvent> | undefined
402
+ onPointerOver?: EventHandlerUnion<T, PointerEvent> | undefined
403
+ onPointerRawUpdate?: EventHandlerUnion<T, PointerEvent> | undefined
404
+ onPointerUp?: EventHandlerUnion<T, PointerEvent> | undefined
405
+ onProgress?: EventHandlerUnion<T, ProgressEvent> | undefined
406
+ onRateChange?: EventHandlerUnion<T, Event> | undefined
407
+ onReset?: EventHandlerUnion<T, Event> | undefined
408
+ onResize?: EventHandlerUnion<T, UIEvent> | undefined
409
+ onScroll?: EventHandlerUnion<T, Event> | undefined
410
+ onScrollEnd?: EventHandlerUnion<T, Event> | undefined
411
+ // todo `SnapEvent` is currently undefined in TS
412
+ onScrollSnapChange?: EventHandlerUnion<T, Event> | undefined
413
+ // todo `SnapEvent` is currently undefined in TS
414
+ onScrollSnapChanging?: EventHandlerUnion<T, Event> | undefined
415
+ onSecurityPolicyViolation?:
416
+ | EventHandlerUnion<T, SecurityPolicyViolationEvent>
417
+ | undefined
418
+ onSeeked?: EventHandlerUnion<T, Event> | undefined
419
+ onSeeking?: EventHandlerUnion<T, Event> | undefined
420
+ onSelect?: EventHandlerUnion<T, Event> | undefined
421
+ onSelectionChange?: EventHandlerUnion<T, Event> | undefined
422
+ onSelectStart?: EventHandlerUnion<T, Event> | undefined
423
+ onSlotChange?: EventHandlerUnion<T, Event> | undefined
424
+ onStalled?: EventHandlerUnion<T, Event> | undefined
425
+ onSubmit?: EventHandlerUnion<T, SubmitEvent> | undefined
426
+ onSuspend?: EventHandlerUnion<T, Event> | undefined
427
+ onTimeUpdate?: EventHandlerUnion<T, Event> | undefined
428
+ onToggle?: EventHandlerUnion<T, ToggleEvent> | undefined
429
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent> | undefined
430
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent> | undefined
431
+ onTouchMove?: EventHandlerUnion<T, TouchEvent> | undefined
432
+ onTouchStart?: EventHandlerUnion<T, TouchEvent> | undefined
433
+ onTransitionCancel?: EventHandlerUnion<T, TransitionEvent> | undefined
434
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent> | undefined
435
+ onTransitionRun?: EventHandlerUnion<T, TransitionEvent> | undefined
436
+ onTransitionStart?: EventHandlerUnion<T, TransitionEvent> | undefined
437
+ onVolumeChange?: EventHandlerUnion<T, Event> | undefined
438
+ onWaiting?: EventHandlerUnion<T, Event> | undefined
439
+ onWheel?: EventHandlerUnion<T, WheelEvent> | undefined
440
+ }
441
+ /** @type {GlobalEventHandlers} */
442
+ interface CustomEventHandlersLowerCase<T> {
443
+ onabort?: string | undefined
444
+ onanimationcancel?: string | undefined
445
+ onanimationend?: string | undefined
446
+ onanimationiteration?: string | undefined
447
+ onanimationstart?: string | undefined
448
+ onauxclick?: string | undefined
449
+ onbeforecopy?: string | undefined
450
+ onbeforecut?: string | undefined
451
+ onbeforeinput?: Inputstring | undefined
452
+ onbeforematch?: string | undefined
453
+ onbeforepaste?: string | undefined
454
+ onbeforetoggle?: string | undefined
455
+ onbeforexrselect?: string | undefined
456
+ onblur?: Focusstring | undefined
457
+ oncancel?: string | undefined
458
+ oncanplay?: string | undefined
459
+ oncanplaythrough?: string | undefined
460
+ onchange?: Changestring | undefined
461
+ onclick?: string | undefined
462
+ onclose?: string | undefined
463
+ // TODO `CommandEvent` is currently undefined in TS
464
+ oncommand?: string | undefined
465
+ oncompositionend?: string | undefined
466
+ oncompositionstart?: string | undefined
467
+ oncompositionupdate?: string | undefined
468
+ oncontentvisibilityautostatechange?:
469
+ | string
470
+ | undefined
471
+ oncontextlost?: string | undefined
472
+ oncontextmenu?: string | undefined
473
+ oncontextrestored?: string | undefined
474
+ oncopy?: string | undefined
475
+ oncuechange?: string | undefined
476
+ oncut?: string | undefined
477
+ ondblclick?: string | undefined
478
+ ondrag?: string | undefined
479
+ ondragend?: string | undefined
480
+ ondragenter?: string | undefined
481
+ ondragexit?: string | undefined
482
+ ondragleave?: string | undefined
483
+ ondragover?: string | undefined
484
+ ondragstart?: string | undefined
485
+ ondrop?: string | undefined
486
+ ondurationchange?: string | undefined
487
+ onemptied?: string | undefined
488
+ onended?: string | undefined
489
+ onerror?: string | undefined
490
+ onfocus?: Focusstring | undefined
491
+ onfocusin?: Focusstring | undefined
492
+ onfocusout?: Focusstring | undefined
493
+ onformdata?: string | undefined
494
+ onfullscreenchange?: string | undefined
495
+ onfullscreenerror?: string | undefined
496
+ ongotpointercapture?: string | undefined
497
+ oninput?: Inputstring | undefined
498
+ oninvalid?: string | undefined
499
+ onkeydown?: string | undefined
500
+ onkeypress?: string | undefined
501
+ onkeyup?: string | undefined
502
+ onload?: string | undefined
503
+ onloadeddata?: string | undefined
504
+ onloadedmetadata?: string | undefined
505
+ onloadstart?: string | undefined
506
+ onlostpointercapture?: string | undefined
507
+ onmousedown?: string | undefined
508
+ onmouseenter?: string | undefined
509
+ onmouseleave?: string | undefined
510
+ onmousemove?: string | undefined
511
+ onmouseout?: string | undefined
512
+ onmouseover?: string | undefined
513
+ onmouseup?: string | undefined
514
+ onpaste?: string | undefined
515
+ onpause?: string | undefined
516
+ onplay?: string | undefined
517
+ onplaying?: string | undefined
518
+ onpointercancel?: string | undefined
519
+ onpointerdown?: string | undefined
520
+ onpointerenter?: string | undefined
521
+ onpointerleave?: string | undefined
522
+ onpointermove?: string | undefined
523
+ onpointerout?: string | undefined
524
+ onpointerover?: string | undefined
525
+ onpointerrawupdate?: string | undefined
526
+ onpointerup?: string | undefined
527
+ onprogress?: string | undefined
528
+ onratechange?: string | undefined
529
+ onreset?: string | undefined
530
+ onresize?: string | undefined
531
+ onscroll?: string | undefined
532
+ onscrollend?: string | undefined
533
+ // todo `SnapEvent` is currently undefined in TS
534
+ onscrollsnapchange?: string | undefined
535
+ // todo `SnapEvent` is currently undefined in TS
536
+ onscrollsnapchanging?: string | undefined
537
+ onsecuritypolicyviolation?:
538
+ | string
539
+ | undefined
540
+ onseeked?: string | undefined
541
+ onseeking?: string | undefined
542
+ onselect?: string | undefined
543
+ onselectionchange?: string | undefined
544
+ onselectstart?: string | undefined
545
+ onslotchange?: string | undefined
546
+ onstalled?: string | undefined
547
+ onsubmit?: string | undefined
548
+ onsuspend?: string | undefined
549
+ ontimeupdate?: string | undefined
550
+ ontoggle?: string | undefined
551
+ ontouchcancel?: string | undefined
552
+ ontouchend?: string | undefined
553
+ ontouchmove?: string | undefined
554
+ ontouchstart?: string | undefined
555
+ ontransitioncancel?: string | undefined
556
+ ontransitionend?: string | undefined
557
+ ontransitionrun?: string | undefined
558
+ ontransitionstart?: string | undefined
559
+ onvolumechange?: string | undefined
560
+ onwaiting?: string | undefined
561
+ onwheel?: string | undefined
562
+ }
563
+
564
+ /**
565
+ * Global `Element` keys, defined for all tags regardless of their namespace.
566
+ *
567
+ * That's `keys` that are defined BY ALL `HTMLElement/SVGElement/MathMLElement` interfaces.
568
+ *
569
+ * Includes `keys` defined for the `Element` and `Node` interfaces.
570
+ */
571
+ interface DOMAttributes<T>
572
+ extends
573
+ CustomAttributes<T>,
574
+ DirectiveAttributes,
575
+ DirectiveFunctionAttributes<T>,
576
+ PropAttributes,
577
+ AttrAttributes,
578
+ BoolAttributes,
579
+ OnAttributes<T>,
580
+ OnCaptureAttributes<T>,
581
+ CustomEventHandlersCamelCase<T>,
582
+ CustomEventHandlersLowerCase<T>,
583
+ AriaAttributes,
584
+ DatastarAttributes
585
+ {
586
+ // [key: ClassKeys]: boolean;
587
+
588
+ // properties
589
+ innerHTML?: string
590
+ textContent?: string | number
591
+
592
+ // attributes
593
+ autofocus?: boolean | undefined
594
+ class?: string | undefined
595
+ elementtiming?: string | undefined
596
+ id?: string | undefined
597
+ nonce?: string | undefined
598
+ slot?: string | undefined
599
+ style?: string | undefined
600
+ tabindex?: number | string | undefined
601
+
602
+ tabIndex?: number | string | undefined
603
+ }
604
+
605
+ type HTMLAutocapitalize =
606
+ | "off"
607
+ | "none"
608
+ | "on"
609
+ | "sentences"
610
+ | "words"
611
+ | "characters"
612
+ type HTMLAutocomplete =
613
+ | "additional-name"
614
+ | "address-level1"
615
+ | "address-level2"
616
+ | "address-level3"
617
+ | "address-level4"
618
+ | "address-line1"
619
+ | "address-line2"
620
+ | "address-line3"
621
+ | "bday"
622
+ | "bday-day"
623
+ | "bday-month"
624
+ | "bday-year"
625
+ | "billing"
626
+ | "cc-additional-name"
627
+ | "cc-csc"
628
+ | "cc-exp"
629
+ | "cc-exp-month"
630
+ | "cc-exp-year"
631
+ | "cc-family-name"
632
+ | "cc-given-name"
633
+ | "cc-name"
634
+ | "cc-number"
635
+ | "cc-type"
636
+ | "country"
637
+ | "country-name"
638
+ | "current-password"
639
+ | "email"
640
+ | "family-name"
641
+ | "fax"
642
+ | "given-name"
643
+ | "home"
644
+ | "honorific-prefix"
645
+ | "honorific-suffix"
646
+ | "impp"
647
+ | "language"
648
+ | "mobile"
649
+ | "name"
650
+ | "new-password"
651
+ | "nickname"
652
+ | "off"
653
+ | "on"
654
+ | "organization"
655
+ | "organization-title"
656
+ | "pager"
657
+ | "photo"
658
+ | "postal-code"
659
+ | "sex"
660
+ | "shipping"
661
+ | "street-address"
662
+ | "tel"
663
+ | "tel-area-code"
664
+ | "tel-country-code"
665
+ | "tel-extension"
666
+ | "tel-local"
667
+ | "tel-local-prefix"
668
+ | "tel-local-suffix"
669
+ | "tel-national"
670
+ | "transaction-amount"
671
+ | "transaction-currency"
672
+ | "url"
673
+ | "username"
674
+ | "work"
675
+ | (string & {})
676
+ type HTMLDir = "ltr" | "rtl" | "auto"
677
+ type HTMLFormEncType =
678
+ | "application/x-www-form-urlencoded"
679
+ | "multipart/form-data"
680
+ | "text/plain"
681
+ type HTMLFormMethod = "post" | "get" | "dialog"
682
+ type HTMLCrossorigin = "anonymous" | "use-credentials" | ""
683
+ type HTMLReferrerPolicy =
684
+ | "no-referrer"
685
+ | "no-referrer-when-downgrade"
686
+ | "origin"
687
+ | "origin-when-cross-origin"
688
+ | "same-origin"
689
+ | "strict-origin"
690
+ | "strict-origin-when-cross-origin"
691
+ | "unsafe-url"
692
+ type HTMLIframeSandbox =
693
+ | "allow-downloads-without-user-activation"
694
+ | "allow-downloads"
695
+ | "allow-forms"
696
+ | "allow-modals"
697
+ | "allow-orientation-lock"
698
+ | "allow-pointer-lock"
699
+ | "allow-popups"
700
+ | "allow-popups-to-escape-sandbox"
701
+ | "allow-presentation"
702
+ | "allow-same-origin"
703
+ | "allow-scripts"
704
+ | "allow-storage-access-by-user-activation"
705
+ | "allow-top-navigation"
706
+ | "allow-top-navigation-by-user-activation"
707
+ | "allow-top-navigation-to-custom-protocols"
708
+ type HTMLLinkAs =
709
+ | "audio"
710
+ | "document"
711
+ | "embed"
712
+ | "fetch"
713
+ | "font"
714
+ | "image"
715
+ | "object"
716
+ | "script"
717
+ | "style"
718
+ | "track"
719
+ | "video"
720
+ | "worker"
721
+
722
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
723
+ interface AriaAttributes {
724
+ /**
725
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox,
726
+ * group, or application.
727
+ */
728
+ "aria-activedescendant"?: string | undefined
729
+ /**
730
+ * Indicates whether assistive technologies will present all, or only parts of, the changed
731
+ * region based on the change notifications defined by the aria-relevant attribute.
732
+ */
733
+ "aria-atomic"?: boolean | "false" | "true" | undefined
734
+ /**
735
+ * Similar to the global aria-label. Defines a string value that labels the current element,
736
+ * which is intended to be converted into Braille.
737
+ *
738
+ * @see aria-label.
739
+ */
740
+ "aria-braillelabel"?: string | undefined
741
+ /**
742
+ * Defines a human-readable, author-localized abbreviated description for the role of an element
743
+ * intended to be converted into Braille. Braille is not a one-to-one transliteration of letters
744
+ * and numbers, but rather it includes various abbreviations, contractions, and characters that
745
+ * represent words (known as logograms).
746
+ *
747
+ * Instead of converting long role descriptions to Braille, the aria-brailleroledescription
748
+ * attribute allows for providing an abbreviated version of the aria-roledescription value,
749
+ * which is a human-readable, author-localized description for the role of an element, for
750
+ * improved user experience with braille interfaces.
751
+ *
752
+ * @see aria-roledescription.
753
+ */
754
+ "aria-brailleroledescription"?: string | undefined
755
+ /**
756
+ * Indicates whether inputting text could trigger display of one or more predictions of the
757
+ * user's intended value for an input and specifies how predictions would be presented if they
758
+ * are made.
759
+ */
760
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined
761
+ /**
762
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until
763
+ * the modifications are complete before exposing them to the user.
764
+ */
765
+ "aria-busy"?: boolean | "false" | "true" | undefined
766
+ /**
767
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
768
+ *
769
+ * @see aria-pressed @see aria-selected.
770
+ */
771
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined
772
+ /**
773
+ * Defines the total number of columns in a table, grid, or treegrid.
774
+ *
775
+ * @see aria-colindex.
776
+ */
777
+ "aria-colcount"?: number | string | undefined
778
+ /**
779
+ * Defines an element's column index or position with respect to the total number of columns
780
+ * within a table, grid, or treegrid.
781
+ *
782
+ * @see aria-colcount @see aria-colspan.
783
+ */
784
+ "aria-colindex"?: number | string | undefined
785
+ /** Defines a human-readable text alternative of the numeric aria-colindex. */
786
+ "aria-colindextext"?: number | string | undefined
787
+ /**
788
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or
789
+ * treegrid.
790
+ *
791
+ * @see aria-colindex @see aria-rowspan.
792
+ */
793
+ "aria-colspan"?: number | string | undefined
794
+ /**
795
+ * Identifies the element (or elements) whose contents or presence are controlled by the current
796
+ * element.
797
+ *
798
+ * @see aria-owns.
799
+ */
800
+ "aria-controls"?: string | undefined
801
+ /**
802
+ * Indicates the element that represents the current item within a container or set of related
803
+ * elements.
804
+ */
805
+ "aria-current"?:
806
+ | boolean
807
+ | "false"
808
+ | "true"
809
+ | "page"
810
+ | "step"
811
+ | "location"
812
+ | "date"
813
+ | "time"
814
+ | undefined
815
+ /**
816
+ * Identifies the element (or elements) that describes the object.
817
+ *
818
+ * @see aria-labelledby
819
+ */
820
+ "aria-describedby"?: string | undefined
821
+ /**
822
+ * Defines a string value that describes or annotates the current element.
823
+ *
824
+ * @see aria-describedby
825
+ */
826
+ "aria-description"?: string | undefined
827
+ /**
828
+ * Identifies the element that provides a detailed, extended description for the object.
829
+ *
830
+ * @see aria-describedby.
831
+ */
832
+ "aria-details"?: string | undefined
833
+ /**
834
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise
835
+ * operable.
836
+ *
837
+ * @see aria-hidden @see aria-readonly.
838
+ */
839
+ "aria-disabled"?: boolean | "false" | "true" | undefined
840
+ /**
841
+ * Indicates what functions can be performed when a dragged object is released on the drop
842
+ * target.
843
+ *
844
+ * @deprecated In ARIA 1.1
845
+ */
846
+ "aria-dropeffect"?:
847
+ | "none"
848
+ | "copy"
849
+ | "execute"
850
+ | "link"
851
+ | "move"
852
+ | "popup"
853
+ | undefined
854
+ /**
855
+ * Identifies the element that provides an error message for the object.
856
+ *
857
+ * @see aria-invalid @see aria-describedby.
858
+ */
859
+ "aria-errormessage"?: string | undefined
860
+ /**
861
+ * Indicates whether the element, or another grouping element it controls, is currently expanded
862
+ * or collapsed.
863
+ */
864
+ "aria-expanded"?: boolean | "false" | "true" | undefined
865
+ /**
866
+ * Identifies the next element (or elements) in an alternate reading order of content which, at
867
+ * the user's discretion, allows assistive technology to override the general default of reading
868
+ * in document source order.
869
+ */
870
+ "aria-flowto"?: string | undefined
871
+ /**
872
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
873
+ *
874
+ * @deprecated In ARIA 1.1
875
+ */
876
+ "aria-grabbed"?: boolean | "false" | "true" | undefined
877
+ /**
878
+ * Indicates the availability and type of interactive popup element, such as menu or dialog,
879
+ * that can be triggered by an element.
880
+ */
881
+ "aria-haspopup"?:
882
+ | boolean
883
+ | "false"
884
+ | "true"
885
+ | "menu"
886
+ | "listbox"
887
+ | "tree"
888
+ | "grid"
889
+ | "dialog"
890
+ | undefined
891
+ /**
892
+ * Indicates whether the element is exposed to an accessibility API.
893
+ *
894
+ * @see aria-disabled.
895
+ */
896
+ "aria-hidden"?: boolean | "false" | "true" | undefined
897
+ /**
898
+ * Indicates the entered value does not conform to the format expected by the application.
899
+ *
900
+ * @see aria-errormessage.
901
+ */
902
+ "aria-invalid"?:
903
+ | boolean
904
+ | "false"
905
+ | "true"
906
+ | "grammar"
907
+ | "spelling"
908
+ | undefined
909
+ /**
910
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
911
+ * element.
912
+ */
913
+ "aria-keyshortcuts"?: string | undefined
914
+ /**
915
+ * Defines a string value that labels the current element.
916
+ *
917
+ * @see aria-labelledby.
918
+ */
919
+ "aria-label"?: string | undefined
920
+ /**
921
+ * Identifies the element (or elements) that labels the current element.
922
+ *
923
+ * @see aria-describedby.
924
+ */
925
+ "aria-labelledby"?: string | undefined
926
+ /** Defines the hierarchical level of an element within a structure. */
927
+ "aria-level"?: number | string | undefined
928
+ /**
929
+ * Indicates that an element will be updated, and describes the types of updates the user
930
+ * agents, assistive technologies, and user can expect from the live region.
931
+ */
932
+ "aria-live"?: "off" | "assertive" | "polite" | undefined
933
+ /** Indicates whether an element is modal when displayed. */
934
+ "aria-modal"?: boolean | "false" | "true" | undefined
935
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
936
+ "aria-multiline"?: boolean | "false" | "true" | undefined
937
+ /**
938
+ * Indicates that the user may select more than one item from the current selectable
939
+ * descendants.
940
+ */
941
+ "aria-multiselectable"?: boolean | "false" | "true" | undefined
942
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
943
+ "aria-orientation"?: "horizontal" | "vertical" | undefined
944
+ /**
945
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual
946
+ * parent/child relationship between DOM elements where the DOM hierarchy cannot be used to
947
+ * represent the relationship.
948
+ *
949
+ * @see aria-controls.
950
+ */
951
+ "aria-owns"?: string | undefined
952
+ /**
953
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when
954
+ * the control has no value. A hint could be a sample value or a brief description of the
955
+ * expected format.
956
+ */
957
+ "aria-placeholder"?: string | undefined
958
+ /**
959
+ * Defines an element's number or position in the current set of listitems or treeitems. Not
960
+ * required if all elements in the set are present in the DOM.
961
+ *
962
+ * @see aria-setsize.
963
+ */
964
+ "aria-posinset"?: number | string | undefined
965
+ /**
966
+ * Indicates the current "pressed" state of toggle buttons.
967
+ *
968
+ * @see aria-checked @see aria-selected.
969
+ */
970
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined
971
+ /**
972
+ * Indicates that the element is not editable, but is otherwise operable.
973
+ *
974
+ * @see aria-disabled.
975
+ */
976
+ "aria-readonly"?: boolean | "false" | "true" | undefined
977
+ /**
978
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a
979
+ * live region is modified.
980
+ *
981
+ * @see aria-atomic.
982
+ */
983
+ "aria-relevant"?:
984
+ | "additions"
985
+ | "additions removals"
986
+ | "additions text"
987
+ | "all"
988
+ | "removals"
989
+ | "removals additions"
990
+ | "removals text"
991
+ | "text"
992
+ | "text additions"
993
+ | "text removals"
994
+ | undefined
995
+ /** Indicates that user input is required on the element before a form may be submitted. */
996
+ "aria-required"?: boolean | "false" | "true" | undefined
997
+ /** Defines a human-readable, author-localized description for the role of an element. */
998
+ "aria-roledescription"?: string | undefined
999
+ /**
1000
+ * Defines the total number of rows in a table, grid, or treegrid.
1001
+ *
1002
+ * @see aria-rowindex.
1003
+ */
1004
+ "aria-rowcount"?: number | string | undefined
1005
+ /**
1006
+ * Defines an element's row index or position with respect to the total number of rows within a
1007
+ * table, grid, or treegrid.
1008
+ *
1009
+ * @see aria-rowcount @see aria-rowspan.
1010
+ */
1011
+ "aria-rowindex"?: number | string | undefined
1012
+ /** Defines a human-readable text alternative of aria-rowindex. */
1013
+ "aria-rowindextext"?: number | string | undefined
1014
+ /**
1015
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1016
+ *
1017
+ * @see aria-rowindex @see aria-colspan.
1018
+ */
1019
+ "aria-rowspan"?: number | string | undefined
1020
+ /**
1021
+ * Indicates the current "selected" state of various widgets.
1022
+ *
1023
+ * @see aria-checked @see aria-pressed.
1024
+ */
1025
+ "aria-selected"?: boolean | "false" | "true" | undefined
1026
+ /**
1027
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all
1028
+ * elements in the set are present in the DOM.
1029
+ *
1030
+ * @see aria-posinset.
1031
+ */
1032
+ "aria-setsize"?: number | string | undefined
1033
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
1034
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined
1035
+ /** Defines the maximum allowed value for a range widget. */
1036
+ "aria-valuemax"?: number | string | undefined
1037
+ /** Defines the minimum allowed value for a range widget. */
1038
+ "aria-valuemin"?: number | string | undefined
1039
+ /**
1040
+ * Defines the current value for a range widget.
1041
+ *
1042
+ * @see aria-valuetext.
1043
+ */
1044
+ "aria-valuenow"?: number | string | undefined
1045
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
1046
+ "aria-valuetext"?: string | undefined
1047
+ role?:
1048
+ | "alert"
1049
+ | "alertdialog"
1050
+ | "application"
1051
+ | "article"
1052
+ | "banner"
1053
+ | "button"
1054
+ | "cell"
1055
+ | "checkbox"
1056
+ | "columnheader"
1057
+ | "combobox"
1058
+ | "complementary"
1059
+ | "contentinfo"
1060
+ | "definition"
1061
+ | "dialog"
1062
+ | "directory"
1063
+ | "document"
1064
+ | "feed"
1065
+ | "figure"
1066
+ | "form"
1067
+ | "grid"
1068
+ | "gridcell"
1069
+ | "group"
1070
+ | "heading"
1071
+ | "img"
1072
+ | "link"
1073
+ | "list"
1074
+ | "listbox"
1075
+ | "listitem"
1076
+ | "log"
1077
+ | "main"
1078
+ | "marquee"
1079
+ | "math"
1080
+ | "menu"
1081
+ | "menubar"
1082
+ | "menuitem"
1083
+ | "menuitemcheckbox"
1084
+ | "menuitemradio"
1085
+ | "meter"
1086
+ | "navigation"
1087
+ | "none"
1088
+ | "note"
1089
+ | "option"
1090
+ | "presentation"
1091
+ | "progressbar"
1092
+ | "radio"
1093
+ | "radiogroup"
1094
+ | "region"
1095
+ | "row"
1096
+ | "rowgroup"
1097
+ | "rowheader"
1098
+ | "scrollbar"
1099
+ | "search"
1100
+ | "searchbox"
1101
+ | "separator"
1102
+ | "slider"
1103
+ | "spinbutton"
1104
+ | "status"
1105
+ | "switch"
1106
+ | "tab"
1107
+ | "table"
1108
+ | "tablist"
1109
+ | "tabpanel"
1110
+ | "term"
1111
+ | "textbox"
1112
+ | "timer"
1113
+ | "toolbar"
1114
+ | "tooltip"
1115
+ | "tree"
1116
+ | "treegrid"
1117
+ | "treeitem"
1118
+ | undefined
1119
+ }
1120
+
1121
+ /** `HTMLElement` interface keys only. (ex not svg/math) */
1122
+ interface HTMLAttributes<T> extends DOMAttributes<T> {
1123
+ accesskey?: string | undefined
1124
+ autocapitalize?: HTMLAutocapitalize | undefined
1125
+ autocorrect?: "on" | "off" | undefined
1126
+ contenteditable?:
1127
+ | "true"
1128
+ | "false"
1129
+ | boolean
1130
+ | "plaintext-only"
1131
+ | "inherit"
1132
+ | undefined
1133
+ dir?: HTMLDir | undefined
1134
+ draggable?: boolean | "false" | "true" | undefined
1135
+ enterkeyhint?:
1136
+ | "enter"
1137
+ | "done"
1138
+ | "go"
1139
+ | "next"
1140
+ | "previous"
1141
+ | "search"
1142
+ | "send"
1143
+ | undefined
1144
+ exportparts?: string | undefined
1145
+ hidden?: boolean | "hidden" | "until-found" | undefined
1146
+ inert?: boolean | undefined
1147
+ inputmode?:
1148
+ | "decimal"
1149
+ | "email"
1150
+ | "none"
1151
+ | "numeric"
1152
+ | "search"
1153
+ | "tel"
1154
+ | "text"
1155
+ | "url"
1156
+ | undefined
1157
+ is?: string | undefined
1158
+ lang?: string | undefined
1159
+ part?: string | undefined
1160
+ popover?: boolean | "manual" | "auto" | undefined
1161
+ spellcheck?: "true" | "false" | boolean | undefined
1162
+ title?: string | undefined
1163
+ translate?: "yes" | "no" | undefined
1164
+
1165
+ accessKey?: string | undefined
1166
+ autoCapitalize?: HTMLAutocapitalize | undefined
1167
+ contentEditable?: boolean | "plaintext-only" | "inherit" | undefined
1168
+ exportParts?: string | undefined
1169
+ inputMode?:
1170
+ | "none"
1171
+ | "text"
1172
+ | "tel"
1173
+ | "url"
1174
+ | "email"
1175
+ | "numeric"
1176
+ | "decimal"
1177
+ | "search"
1178
+ | undefined
1179
+
1180
+ // Microdata
1181
+ itemid?: string | undefined
1182
+ itemprop?: string | undefined
1183
+ itemref?: string | undefined
1184
+ itemscope?: boolean | undefined
1185
+ itemtype?: string | undefined
1186
+
1187
+ itemId?: string | undefined
1188
+ itemProp?: string | undefined
1189
+ itemRef?: string | undefined
1190
+ itemScope?: boolean | undefined
1191
+ itemType?: string | undefined
1192
+
1193
+ // RDFa Attributes
1194
+ about?: string | undefined
1195
+ datatype?: string | undefined
1196
+ inlist?: any | undefined
1197
+ prefix?: string | undefined
1198
+ property?: string | undefined
1199
+ resource?: string | undefined
1200
+ typeof?: string | undefined
1201
+ vocab?: string | undefined
1202
+
1203
+ /** @deprecated */
1204
+ contextmenu?: string | undefined
1205
+ /** @deprecated */
1206
+ contextMenu?: string | undefined
1207
+ }
1208
+
1209
+ // html elements
1210
+
1211
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
1212
+ download?: string | undefined
1213
+ href?: string | undefined
1214
+ hreflang?: string | undefined
1215
+ ping?: string | undefined
1216
+ referrerpolicy?: HTMLReferrerPolicy | undefined
1217
+ rel?: string | undefined
1218
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined
1219
+ type?: string | undefined
1220
+
1221
+ /** @experimental */
1222
+ attributionsrc?: string | undefined
1223
+
1224
+ referrerPolicy?: HTMLReferrerPolicy | undefined
1225
+
1226
+ /** @deprecated */
1227
+ charset?: string | undefined
1228
+ /** @deprecated */
1229
+ coords?: string | undefined
1230
+ /** @deprecated */
1231
+ name?: string | undefined
1232
+ /** @deprecated */
1233
+ rev?: string | undefined
1234
+ /** @deprecated */
1235
+ shape?: "rect" | "circle" | "poly" | "default" | undefined
1236
+ }
1237
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
1238
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
1239
+ alt?: string | undefined
1240
+ coords?: string | undefined
1241
+ download?: string | undefined
1242
+ href?: string | undefined
1243
+ ping?: string | undefined
1244
+ referrerpolicy?: HTMLReferrerPolicy | undefined
1245
+ rel?: string | undefined
1246
+ shape?: "rect" | "circle" | "poly" | "default" | undefined
1247
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined
1248
+
1249
+ /** @experimental */
1250
+ attributionsrc?: string | undefined
1251
+
1252
+ referrerPolicy?: HTMLReferrerPolicy | undefined
1253
+
1254
+ /** @deprecated */
1255
+ nohref?: boolean | undefined
1256
+ }
1257
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
1258
+ href?: string | undefined
1259
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined
1260
+ }
1261
+ interface BdoHTMLAttributes<T> extends HTMLAttributes<T> {
1262
+ dir?: "ltr" | "rtl" | undefined
1263
+ }
1264
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
1265
+ cite?: string | undefined
1266
+ }
1267
+ interface BodyHTMLAttributes<T>
1268
+ extends HTMLAttributes<T>, WindowEventMap<T>
1269
+ {}
1270
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
1271
+ disabled?: boolean | undefined
1272
+ form?: string | undefined
1273
+ formaction?: string | SerializableAttributeValue | undefined
1274
+ formenctype?: HTMLFormEncType | undefined
1275
+ formmethod?: HTMLFormMethod | undefined
1276
+ formnovalidate?: boolean | undefined
1277
+ formtarget?:
1278
+ | "_self"
1279
+ | "_blank"
1280
+ | "_parent"
1281
+ | "_top"
1282
+ | (string & {})
1283
+ | undefined
1284
+ name?: string | undefined
1285
+ popovertarget?: string | undefined
1286
+ popovertargetaction?: "hide" | "show" | "toggle" | undefined
1287
+ type?: "submit" | "reset" | "button" | "menu" | undefined
1288
+ value?: string | undefined
1289
+
1290
+ /** @experimental */
1291
+ command?:
1292
+ | "show-modal"
1293
+ | "close"
1294
+ | "show-popover"
1295
+ | "hide-popover"
1296
+ | "toggle-popover"
1297
+ | (string & {})
1298
+ | undefined
1299
+ /** @experimental */
1300
+ commandfor?: string | undefined
1301
+
1302
+ formAction?: string | SerializableAttributeValue | undefined
1303
+ formEnctype?: HTMLFormEncType | undefined
1304
+ formMethod?: HTMLFormMethod | undefined
1305
+ formNoValidate?: boolean | undefined
1306
+ formTarget?: string | undefined
1307
+ popoverTarget?: string | undefined
1308
+ popoverTargetAction?: "hide" | "show" | "toggle" | undefined
1309
+ }
1310
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
1311
+ height?: number | string | undefined
1312
+ width?: number | string | undefined
1313
+
1314
+ /**
1315
+ * @deprecated
1316
+ * @non-standard
1317
+ */
1318
+ "moz-opaque"?: boolean | undefined
1319
+ }
1320
+ interface CaptionHTMLAttributes<T> extends HTMLAttributes<T> {
1321
+ /** @deprecated */
1322
+ align?: "left" | "center" | "right" | undefined
1323
+ }
1324
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
1325
+ span?: number | string | undefined
1326
+
1327
+ /** @deprecated */
1328
+ align?: "left" | "center" | "right" | "justify" | "char" | undefined
1329
+ /** @deprecated */
1330
+ bgcolor?: string | undefined
1331
+ /** @deprecated */
1332
+ char?: string | undefined
1333
+ /** @deprecated */
1334
+ charoff?: string | undefined
1335
+ /** @deprecated */
1336
+ valign?: "baseline" | "bottom" | "middle" | "top" | undefined
1337
+ /** @deprecated */
1338
+ width?: number | string | undefined
1339
+ }
1340
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1341
+ span?: number | string | undefined
1342
+
1343
+ /** @deprecated */
1344
+ align?: "left" | "center" | "right" | "justify" | "char" | undefined
1345
+ /** @deprecated */
1346
+ bgcolor?: string | undefined
1347
+ /** @deprecated */
1348
+ char?: string | undefined
1349
+ /** @deprecated */
1350
+ charoff?: string | undefined
1351
+ /** @deprecated */
1352
+ valign?: "baseline" | "bottom" | "middle" | "top" | undefined
1353
+ /** @deprecated */
1354
+ width?: number | string | undefined
1355
+ }
1356
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
1357
+ value?: string | string[] | number | undefined
1358
+ }
1359
+ interface DetailsHtmlAttributes<T> extends HTMLAttributes<T> {
1360
+ name?: string | undefined
1361
+ open?: boolean | undefined
1362
+ }
1363
+ interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
1364
+ open?: boolean | undefined
1365
+ /**
1366
+ * Do not add the tabindex property to the <dialog> element as it is not interactive and does
1367
+ * not receive focus. The dialog's contents, including the close button contained in the dialog,
1368
+ * can receive focus and be interactive.
1369
+ *
1370
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#usage_notes
1371
+ */
1372
+ tabindex?: never
1373
+
1374
+ /** @experimental */
1375
+ closedby?: "any" | "closerequest" | "none" | undefined
1376
+ }
1377
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1378
+ height?: number | string | undefined
1379
+ src?: string | undefined
1380
+ type?: string | undefined
1381
+ width?: number | string | undefined
1382
+
1383
+ /** @deprecated */
1384
+ align?: "left" | "right" | "justify" | "center" | undefined
1385
+ /** @deprecated */
1386
+ name?: string | undefined
1387
+ }
1388
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
1389
+ disabled?: boolean | undefined
1390
+ form?: string | undefined
1391
+ name?: string | undefined
1392
+ }
1393
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
1394
+ "accept-charset"?: string | undefined
1395
+ action?: string | SerializableAttributeValue | undefined
1396
+ autocomplete?: "on" | "off" | undefined
1397
+ encoding?: HTMLFormEncType | undefined
1398
+ enctype?: HTMLFormEncType | undefined
1399
+ method?: HTMLFormMethod | undefined
1400
+ name?: string | undefined
1401
+ novalidate?: boolean | undefined
1402
+ rel?: string | undefined
1403
+ target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined
1404
+
1405
+ noValidate?: boolean | undefined
1406
+
1407
+ /** @deprecated */
1408
+ accept?: string | undefined
1409
+ }
1410
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
1411
+ allow?: string | undefined
1412
+ allowfullscreen?: boolean | undefined
1413
+ height?: number | string | undefined
1414
+ loading?: "eager" | "lazy" | undefined
1415
+ name?: string | undefined
1416
+ referrerpolicy?: HTMLReferrerPolicy | undefined
1417
+ sandbox?: HTMLIframeSandbox | string | undefined
1418
+ src?: string | undefined
1419
+ srcdoc?: string | undefined
1420
+ width?: number | string | undefined
1421
+
1422
+ referrerPolicy?: HTMLReferrerPolicy | undefined
1423
+
1424
+ /** @experimental */
1425
+ adauctionheaders?: boolean | undefined
1426
+ /**
1427
+ * @non-standard
1428
+ * @experimental
1429
+ */
1430
+ browsingtopics?: boolean | undefined
1431
+ /** @experimental */
1432
+ credentialless?: boolean | undefined
1433
+ /** @experimental */
1434
+ csp?: string | undefined
1435
+ /** @experimental */
1436
+ privatetoken?: string | undefined
1437
+ /** @experimental */
1438
+ sharedstoragewritable?: boolean | undefined
1439
+
1440
+ /** @deprecated */
1441
+ align?: string | undefined
1442
+ /**
1443
+ * @deprecated
1444
+ * @non-standard
1445
+ */
1446
+ allowpaymentrequest?: boolean | undefined
1447
+ /** @deprecated */
1448
+ allowtransparency?: boolean | undefined
1449
+ /** @deprecated */
1450
+ frameborder?: number | string | undefined
1451
+ /** @deprecated */
1452
+ longdesc?: string | undefined
1453
+ /** @deprecated */
1454
+ marginheight?: number | string | undefined
1455
+ /** @deprecated */
1456
+ marginwidth?: number | string | undefined
1457
+ /** @deprecated */
1458
+ scrolling?: "yes" | "no" | "auto" | undefined
1459
+ /** @deprecated */
1460
+ seamless?: boolean | undefined
1461
+ }
1462
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
1463
+ alt?: string | undefined
1464
+ crossorigin?: HTMLCrossorigin | undefined
1465
+ decoding?: "sync" | "async" | "auto" | undefined
1466
+ fetchpriority?: "high" | "low" | "auto" | undefined
1467
+ height?: number | string | undefined
1468
+ ismap?: boolean | undefined
1469
+ loading?: "eager" | "lazy" | undefined
1470
+ referrerpolicy?: HTMLReferrerPolicy | undefined
1471
+ sizes?: string | undefined
1472
+ src?: string | undefined
1473
+ srcset?: string | undefined
1474
+ usemap?: string | undefined
1475
+ width?: number | string | undefined
1476
+
1477
+ /** @experimental */
1478
+ attributionsrc?: string | undefined
1479
+ /** @experimental */
1480
+ sharedstoragewritable?: boolean | undefined
1481
+
1482
+ crossOrigin?: HTMLCrossorigin | undefined
1483
+ isMap?: boolean | undefined
1484
+ referrerPolicy?: HTMLReferrerPolicy | undefined
1485
+ srcSet?: string | undefined
1486
+ useMap?: string | undefined
1487
+
1488
+ /** @deprecated */
1489
+ align?: "top" | "middle" | "bottom" | "left" | "right" | undefined
1490
+ /** @deprecated */
1491
+ border?: string | undefined
1492
+ /** @deprecated */
1493
+ hspace?: number | string | undefined
1494
+ /** @deprecated */
1495
+ intrinsicsize?: string | undefined
1496
+ /** @deprecated */
1497
+ longdesc?: string | undefined
1498
+ /** @deprecated */
1499
+ lowsrc?: string | undefined
1500
+ /** @deprecated */
1501
+ name?: string | undefined
1502
+ /** @deprecated */
1503
+ vspace?: number | string | undefined
1504
+ }
1505
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1506
+ accept?: string | undefined
1507
+ alpha?: boolean | undefined
1508
+ alt?: string | undefined
1509
+ autocomplete?: HTMLAutocomplete | undefined
1510
+ capture?: "user" | "environment" | undefined
1511
+ checked?: boolean | undefined
1512
+ colorspace?: string | undefined
1513
+ dirname?: string | undefined
1514
+ disabled?: boolean | undefined
1515
+ form?: string | undefined
1516
+ formaction?: string | SerializableAttributeValue | undefined
1517
+ formenctype?: HTMLFormEncType | undefined
1518
+ formmethod?: HTMLFormMethod | undefined
1519
+ formnovalidate?: boolean | undefined
1520
+ formtarget?: string | undefined
1521
+ height?: number | string | undefined
1522
+ list?: string | undefined
1523
+ max?: number | string | undefined
1524
+ maxlength?: number | string | undefined
1525
+ min?: number | string | undefined
1526
+ minlength?: number | string | undefined
1527
+ multiple?: boolean | undefined
1528
+ name?: string | undefined
1529
+ pattern?: string | undefined
1530
+ placeholder?: string | undefined
1531
+ popovertarget?: string | undefined
1532
+ popovertargetaction?: "hide" | "show" | "toggle" | undefined
1533
+ readonly?: boolean | undefined
1534
+ required?: boolean | undefined
1535
+ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search#results
1536
+ results?: number | undefined
1537
+ size?: number | string | undefined
1538
+ src?: string | undefined
1539
+ step?: number | string | undefined
1540
+ type?:
1541
+ | "button"
1542
+ | "checkbox"
1543
+ | "color"
1544
+ | "date"
1545
+ | "datetime-local"
1546
+ | "email"
1547
+ | "file"
1548
+ | "hidden"
1549
+ | "image"
1550
+ | "month"
1551
+ | "number"
1552
+ | "password"
1553
+ | "radio"
1554
+ | "range"
1555
+ | "reset"
1556
+ | "search"
1557
+ | "submit"
1558
+ | "tel"
1559
+ | "text"
1560
+ | "time"
1561
+ | "url"
1562
+ | "week"
1563
+ | (string & {})
1564
+ | undefined
1565
+ value?: string | string[] | number | undefined
1566
+ width?: number | string | undefined
1567
+
1568
+ /** @non-standard */
1569
+ incremental?: boolean | undefined
1570
+
1571
+ formAction?: string | SerializableAttributeValue | undefined
1572
+ formEnctype?: HTMLFormEncType | undefined
1573
+ formMethod?: HTMLFormMethod | undefined
1574
+ formNoValidate?: boolean | undefined
1575
+ formTarget?: string | undefined
1576
+ maxLength?: number | string | undefined
1577
+ minLength?: number | string | undefined
1578
+ readOnly?: boolean | undefined
1579
+
1580
+ /** @deprecated */
1581
+ align?: string | undefined
1582
+ /** @deprecated */
1583
+ usemap?: string | undefined
1584
+ }
1585
+ interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1586
+ cite?: string | undefined
1587
+ datetime?: string | undefined
1588
+
1589
+ dateTime?: string | undefined
1590
+ }
1591
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
1592
+ /** @deprecated */
1593
+ challenge?: string | undefined
1594
+ /** @deprecated */
1595
+ disabled?: boolean | undefined
1596
+ /** @deprecated */
1597
+ form?: string | undefined
1598
+ /** @deprecated */
1599
+ keyparams?: string | undefined
1600
+ /** @deprecated */
1601
+ keytype?: string | undefined
1602
+ /** @deprecated */
1603
+ name?: string | undefined
1604
+ }
1605
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
1606
+ for?: string | undefined
1607
+ }
1608
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
1609
+ value?: number | string | undefined
1610
+
1611
+ /** @deprecated */
1612
+ type?: "1" | "a" | "A" | "i" | "I" | undefined
1613
+ }
1614
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
1615
+ as?: HTMLLinkAs | undefined
1616
+ blocking?: "render" | undefined
1617
+ color?: string | undefined
1618
+ crossorigin?: HTMLCrossorigin | undefined
1619
+ disabled?: boolean | undefined
1620
+ fetchpriority?: "high" | "low" | "auto" | undefined
1621
+ href?: string | undefined
1622
+ hreflang?: string | undefined
1623
+ imagesizes?: string | undefined
1624
+ imagesrcset?: string | undefined
1625
+ integrity?: string | undefined
1626
+ media?: string | undefined
1627
+ referrerpolicy?: HTMLReferrerPolicy | undefined
1628
+ rel?: string | undefined
1629
+ sizes?: string | undefined
1630
+ type?: string | undefined
1631
+
1632
+ crossOrigin?: HTMLCrossorigin | undefined
1633
+ referrerPolicy?: HTMLReferrerPolicy | undefined
1634
+
1635
+ /** @deprecated */
1636
+ charset?: string | undefined
1637
+ /** @deprecated */
1638
+ rev?: string | undefined
1639
+ /** @deprecated */
1640
+ target?: string | undefined
1641
+ }
1642
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1643
+ name?: string | undefined
1644
+ }
1645
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1646
+ autoplay?: boolean | undefined
1647
+ controls?: boolean | undefined
1648
+ controlslist?:
1649
+ | "nodownload"
1650
+ | "nofullscreen"
1651
+ | "noplaybackrate"
1652
+ | "noremoteplayback"
1653
+ | (string & {})
1654
+ | undefined
1655
+ crossorigin?: HTMLCrossorigin | undefined
1656
+ disableremoteplayback?: boolean | undefined
1657
+ loop?: boolean | undefined
1658
+ muted?: boolean | undefined
1659
+ preload?: "none" | "metadata" | "auto" | "" | undefined
1660
+ src?: string | undefined
1661
+
1662
+ onEncrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined
1663
+ "on:encrypted"?:
1664
+ | EventHandlerWithOptionsUnion<T, MediaEncryptedEvent>
1665
+ | undefined
1666
+ onencrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined
1667
+
1668
+ onWaitingForKey?: EventHandlerUnion<T, Event> | undefined
1669
+ "on:waitingforkey"?: EventHandlerWithOptionsUnion<T, Event> | undefined
1670
+ onwaitingforkey?: EventHandlerUnion<T, Event> | undefined
1671
+
1672
+ crossOrigin?: HTMLCrossorigin | undefined
1673
+
1674
+ mediaGroup?: string | undefined
1675
+ /** @deprecated */
1676
+ mediagroup?: string | undefined
1677
+ }
1678
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1679
+ /** @deprecated */
1680
+ compact?: boolean | undefined
1681
+ /** @deprecated */
1682
+ label?: string | undefined
1683
+ /** @deprecated */
1684
+ type?: "context" | "toolbar" | undefined
1685
+ }
1686
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1687
+ "http-equiv"?:
1688
+ | "content-security-policy"
1689
+ | "content-type"
1690
+ | "default-style"
1691
+ | "x-ua-compatible"
1692
+ | "refresh"
1693
+ | undefined
1694
+ charset?: string | undefined
1695
+ content?: string | undefined
1696
+ media?: string | undefined
1697
+ name?: string | undefined
1698
+
1699
+ /** @deprecated */
1700
+ scheme?: string | undefined
1701
+ }
1702
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1703
+ form?: string | undefined
1704
+ high?: number | string | undefined
1705
+ low?: number | string | undefined
1706
+ max?: number | string | undefined
1707
+ min?: number | string | undefined
1708
+ optimum?: number | string | undefined
1709
+ value?: string | string[] | number | undefined
1710
+ }
1711
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1712
+ cite?: string | undefined
1713
+ }
1714
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1715
+ data?: string | undefined
1716
+ form?: string | undefined
1717
+ height?: number | string | undefined
1718
+ name?: string | undefined
1719
+ type?: string | undefined
1720
+ width?: number | string | undefined
1721
+
1722
+ useMap?: string | undefined
1723
+
1724
+ /** @deprecated */
1725
+ align?: string | undefined
1726
+ /** @deprecated */
1727
+ archive?: string | undefined
1728
+ /** @deprecated */
1729
+ border?: string | undefined
1730
+ /** @deprecated */
1731
+ classid?: string | undefined
1732
+ /** @deprecated */
1733
+ code?: string | undefined
1734
+ /** @deprecated */
1735
+ codebase?: string | undefined
1736
+ /** @deprecated */
1737
+ codetype?: string | undefined
1738
+ /** @deprecated */
1739
+ declare?: boolean | undefined
1740
+ /** @deprecated */
1741
+ hspace?: number | string | undefined
1742
+ /** @deprecated */
1743
+ standby?: string | undefined
1744
+ /** @deprecated */
1745
+ usemap?: string | undefined
1746
+ /** @deprecated */
1747
+ vspace?: number | string | undefined
1748
+ /** @deprecated */
1749
+ typemustmatch?: boolean | undefined
1750
+ }
1751
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1752
+ reversed?: boolean | undefined
1753
+ start?: number | string | undefined
1754
+ type?: "1" | "a" | "A" | "i" | "I" | undefined
1755
+
1756
+ /**
1757
+ * @deprecated
1758
+ * @non-standard
1759
+ */
1760
+ compact?: boolean | undefined
1761
+ }
1762
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1763
+ disabled?: boolean | undefined
1764
+ label?: string | undefined
1765
+ }
1766
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1767
+ disabled?: boolean | undefined
1768
+ label?: string | undefined
1769
+ selected?: boolean | undefined
1770
+ value?: string | string[] | number | undefined
1771
+ }
1772
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1773
+ for?: string | undefined
1774
+ form?: string | undefined
1775
+ name?: string | undefined
1776
+ }
1777
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1778
+ /** @deprecated */
1779
+ name?: string | undefined
1780
+ /** @deprecated */
1781
+ type?: string | undefined
1782
+ /** @deprecated */
1783
+ value?: string | number | undefined
1784
+ /** @deprecated */
1785
+ valuetype?: "data" | "ref" | "object" | undefined
1786
+ }
1787
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1788
+ max?: number | string | undefined
1789
+ value?: string | string[] | number | undefined
1790
+ }
1791
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1792
+ async?: boolean | undefined
1793
+ blocking?: "render" | undefined
1794
+ crossorigin?: HTMLCrossorigin | undefined
1795
+ defer?: boolean | undefined
1796
+ fetchpriority?: "high" | "low" | "auto" | undefined
1797
+ integrity?: string | undefined
1798
+ nomodule?: boolean | undefined
1799
+ referrerpolicy?: HTMLReferrerPolicy | undefined
1800
+ src?: string | undefined
1801
+ type?:
1802
+ | "importmap"
1803
+ | "module"
1804
+ | "speculationrules"
1805
+ | (string & {})
1806
+ | undefined
1807
+
1808
+ /** @experimental */
1809
+ attributionsrc?: string | undefined
1810
+
1811
+ crossOrigin?: HTMLCrossorigin | undefined
1812
+ noModule?: boolean | undefined
1813
+ referrerPolicy?: HTMLReferrerPolicy | undefined
1814
+
1815
+ /** @deprecated */
1816
+ charset?: string | undefined
1817
+ /** @deprecated */
1818
+ event?: string | undefined
1819
+ /** @deprecated */
1820
+ language?: string | undefined
1821
+ }
1822
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1823
+ autocomplete?: HTMLAutocomplete | undefined
1824
+ disabled?: boolean | undefined
1825
+ form?: string | undefined
1826
+ multiple?: boolean | undefined
1827
+ name?: string | undefined
1828
+ required?: boolean | undefined
1829
+ size?: number | string | undefined
1830
+ value?: string | string[] | number | undefined
1831
+ }
1832
+ interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1833
+ name?: string | undefined
1834
+ }
1835
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1836
+ height?: number | string | undefined
1837
+ media?: string | undefined
1838
+ sizes?: string | undefined
1839
+ src?: string | undefined
1840
+ srcset?: string | undefined
1841
+ type?: string | undefined
1842
+ width?: number | string | undefined
1843
+ }
1844
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1845
+ blocking?: "render" | undefined
1846
+ media?: string | undefined
1847
+
1848
+ /** @deprecated */
1849
+ scoped?: boolean | undefined
1850
+ /** @deprecated */
1851
+ type?: string | undefined
1852
+ }
1853
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1854
+ colspan?: number | string | undefined
1855
+ headers?: string | undefined
1856
+ rowspan?: number | string | undefined
1857
+
1858
+ colSpan?: number | string | undefined
1859
+ rowSpan?: number | string | undefined
1860
+
1861
+ /** @deprecated */
1862
+ abbr?: string | undefined
1863
+ /** @deprecated */
1864
+ align?: "left" | "center" | "right" | "justify" | "char" | undefined
1865
+ /** @deprecated */
1866
+ axis?: string | undefined
1867
+ /** @deprecated */
1868
+ bgcolor?: string | undefined
1869
+ /** @deprecated */
1870
+ char?: string | undefined
1871
+ /** @deprecated */
1872
+ charoff?: string | undefined
1873
+ /** @deprecated */
1874
+ height?: number | string | undefined
1875
+ /** @deprecated */
1876
+ nowrap?: boolean | undefined
1877
+ /** @deprecated */
1878
+ scope?: "col" | "row" | "rowgroup" | "colgroup" | undefined
1879
+ /** @deprecated */
1880
+ valign?: "baseline" | "bottom" | "middle" | "top" | undefined
1881
+ /** @deprecated */
1882
+ width?: number | string | undefined
1883
+ }
1884
+ interface TemplateHTMLAttributes<T> extends HTMLAttributes<T> {
1885
+ shadowrootclonable?: boolean | undefined
1886
+ shadowrootcustomelementregistry?: boolean | undefined
1887
+ shadowrootdelegatesfocus?: boolean | undefined
1888
+ shadowrootmode?: "open" | "closed" | undefined
1889
+
1890
+ /** @experimental */
1891
+ shadowrootserializable?: boolean | undefined
1892
+ }
1893
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1894
+ autocomplete?: HTMLAutocomplete | undefined
1895
+ cols?: number | string | undefined
1896
+ dirname?: string | undefined
1897
+ disabled?: boolean | undefined
1898
+ form?: string | undefined
1899
+ maxlength?: number | string | undefined
1900
+ minlength?: number | string | undefined
1901
+ name?: string | undefined
1902
+ placeholder?: string | undefined
1903
+ readonly?: boolean | undefined
1904
+ required?: boolean | undefined
1905
+ rows?: number | string | undefined
1906
+ value?: string | string[] | number | undefined
1907
+ wrap?: "hard" | "soft" | "off" | undefined
1908
+
1909
+ maxLength?: number | string | undefined
1910
+ minLength?: number | string | undefined
1911
+ readOnly?: boolean | undefined
1912
+ }
1913
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1914
+ abbr?: string | undefined
1915
+ colspan?: number | string | undefined
1916
+ headers?: string | undefined
1917
+ rowspan?: number | string | undefined
1918
+ scope?: "col" | "row" | "rowgroup" | "colgroup" | undefined
1919
+
1920
+ colSpan?: number | string | undefined
1921
+ rowSpan?: number | string | undefined
1922
+
1923
+ /** @deprecated */
1924
+ align?: "left" | "center" | "right" | "justify" | "char" | undefined
1925
+ /** @deprecated */
1926
+ axis?: string | undefined
1927
+ /** @deprecated */
1928
+ bgcolor?: string | undefined
1929
+ /** @deprecated */
1930
+ char?: string | undefined
1931
+ /** @deprecated */
1932
+ charoff?: string | undefined
1933
+ /** @deprecated */
1934
+ height?: string | undefined
1935
+ /** @deprecated */
1936
+ nowrap?: boolean | undefined
1937
+ /** @deprecated */
1938
+ valign?: "baseline" | "bottom" | "middle" | "top" | undefined
1939
+ /** @deprecated */
1940
+ width?: number | string | undefined
1941
+ }
1942
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1943
+ datetime?: string | undefined
1944
+
1945
+ dateTime?: string | undefined
1946
+ }
1947
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1948
+ default?: boolean | undefined
1949
+ kind?:
1950
+ | "alternative"
1951
+ | "descriptions"
1952
+ | "main"
1953
+ | "main-desc"
1954
+ | "translation"
1955
+ | "commentary"
1956
+ | "subtitles"
1957
+ | "captions"
1958
+ | "chapters"
1959
+ | "metadata"
1960
+ | undefined
1961
+ label?: string | undefined
1962
+ src?: string | undefined
1963
+ srclang?: string | undefined
1964
+
1965
+ mediaGroup?: string | undefined
1966
+ /** @deprecated */
1967
+ mediagroup?: string | undefined
1968
+ }
1969
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1970
+ disablepictureinpicture?: boolean | undefined
1971
+ height?: number | string | undefined
1972
+ playsinline?: boolean | undefined
1973
+ poster?: string | undefined
1974
+ width?: number | string | undefined
1975
+
1976
+ onEnterPictureInPicture?:
1977
+ | EventHandlerUnion<T, PictureInPictureEvent>
1978
+ | undefined
1979
+ "on:enterpictureinpicture"?:
1980
+ | EventHandlerWithOptionsUnion<T, PictureInPictureEvent>
1981
+ | undefined
1982
+ onenterpictureinpicture?:
1983
+ | EventHandlerUnion<T, PictureInPictureEvent>
1984
+ | undefined
1985
+
1986
+ onLeavePictureInPicture?:
1987
+ | EventHandlerUnion<T, PictureInPictureEvent>
1988
+ | undefined
1989
+ "on:leavepictureinpicture"?:
1990
+ | EventHandlerWithOptionsUnion<T, PictureInPictureEvent>
1991
+ | undefined
1992
+ onleavepictureinpicture?:
1993
+ | EventHandlerUnion<T, PictureInPictureEvent>
1994
+ | undefined
1995
+ }
1996
+
1997
+ interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
1998
+ allowpopups?: boolean | undefined
1999
+ disableblinkfeatures?: string | undefined
2000
+ disablewebsecurity?: boolean | undefined
2001
+ enableblinkfeatures?: string | undefined
2002
+ httpreferrer?: string | undefined
2003
+ nodeintegration?: boolean | undefined
2004
+ nodeintegrationinsubframes?: boolean | undefined
2005
+ partition?: string | undefined
2006
+ plugins?: boolean | undefined
2007
+ preload?: string | undefined
2008
+ src?: string | undefined
2009
+ useragent?: string | undefined
2010
+ webpreferences?: string | undefined
2011
+
2012
+ // does this exists?
2013
+ allowfullscreen?: boolean | undefined
2014
+ autosize?: boolean | undefined
2015
+
2016
+ /** @deprecated */
2017
+ blinkfeatures?: string | undefined
2018
+ /** @deprecated */
2019
+ disableguestresize?: boolean | undefined
2020
+ /** @deprecated */
2021
+ guestinstance?: string | undefined
2022
+ }
2023
+
2024
+ // svg elements
2025
+ type SVGPreserveAspectRatio =
2026
+ | "none"
2027
+ | "xMinYMin"
2028
+ | "xMidYMin"
2029
+ | "xMaxYMin"
2030
+ | "xMinYMid"
2031
+ | "xMidYMid"
2032
+ | "xMaxYMid"
2033
+ | "xMinYMax"
2034
+ | "xMidYMax"
2035
+ | "xMaxYMax"
2036
+ | "xMinYMin meet"
2037
+ | "xMidYMin meet"
2038
+ | "xMaxYMin meet"
2039
+ | "xMinYMid meet"
2040
+ | "xMidYMid meet"
2041
+ | "xMaxYMid meet"
2042
+ | "xMinYMax meet"
2043
+ | "xMidYMax meet"
2044
+ | "xMaxYMax meet"
2045
+ | "xMinYMin slice"
2046
+ | "xMidYMin slice"
2047
+ | "xMaxYMin slice"
2048
+ | "xMinYMid slice"
2049
+ | "xMidYMid slice"
2050
+ | "xMaxYMid slice"
2051
+ | "xMinYMax slice"
2052
+ | "xMidYMax slice"
2053
+ | "xMaxYMax slice"
2054
+ type ImagePreserveAspectRatio =
2055
+ | SVGPreserveAspectRatio
2056
+ | "defer none"
2057
+ | "defer xMinYMin"
2058
+ | "defer xMidYMin"
2059
+ | "defer xMaxYMin"
2060
+ | "defer xMinYMid"
2061
+ | "defer xMidYMid"
2062
+ | "defer xMaxYMid"
2063
+ | "defer xMinYMax"
2064
+ | "defer xMidYMax"
2065
+ | "defer xMaxYMax"
2066
+ | "defer xMinYMin meet"
2067
+ | "defer xMidYMin meet"
2068
+ | "defer xMaxYMin meet"
2069
+ | "defer xMinYMid meet"
2070
+ | "defer xMidYMid meet"
2071
+ | "defer xMaxYMid meet"
2072
+ | "defer xMinYMax meet"
2073
+ | "defer xMidYMax meet"
2074
+ | "defer xMaxYMax meet"
2075
+ | "defer xMinYMin slice"
2076
+ | "defer xMidYMin slice"
2077
+ | "defer xMaxYMin slice"
2078
+ | "defer xMinYMid slice"
2079
+ | "defer xMidYMid slice"
2080
+ | "defer xMaxYMid slice"
2081
+ | "defer xMinYMax slice"
2082
+ | "defer xMidYMax slice"
2083
+ | "defer xMaxYMax slice"
2084
+ type SVGUnits = "userSpaceOnUse" | "objectBoundingBox"
2085
+
2086
+ /** Global `SVGElement` interface keys only. (ex not html/math) */
2087
+ interface CoreSVGAttributes<T> extends DOMAttributes<T> {
2088
+ lang?: string | undefined
2089
+ tabindex?: number | string | undefined
2090
+ xmlns?: string | undefined
2091
+
2092
+ tabIndex?: number | string | undefined
2093
+ }
2094
+
2095
+ interface StylableSVGAttributes {
2096
+ class?: string | undefined
2097
+ style?: string | undefined
2098
+ }
2099
+ interface TransformableSVGAttributes {
2100
+ transform?: string | undefined
2101
+ }
2102
+ interface ConditionalProcessingSVGAttributes {
2103
+ requiredExtensions?: string | undefined
2104
+ requiredFeatures?: string | undefined
2105
+ systemLanguage?: string | undefined
2106
+ }
2107
+ interface ExternalResourceSVGAttributes {
2108
+ externalResourcesRequired?: "true" | "false" | undefined
2109
+ }
2110
+ interface AnimationTimingSVGAttributes {
2111
+ begin?: string | undefined
2112
+ dur?: string | undefined
2113
+ end?: string | undefined
2114
+ fill?: "freeze" | "remove" | undefined
2115
+ max?: string | undefined
2116
+ min?: string | undefined
2117
+ repeatCount?: number | "indefinite" | undefined
2118
+ repeatDur?: string | undefined
2119
+ restart?: "always" | "whenNotActive" | "never" | undefined
2120
+ }
2121
+ interface AnimationValueSVGAttributes {
2122
+ by?: number | string | undefined
2123
+ calcMode?: "discrete" | "linear" | "paced" | "spline" | undefined
2124
+ from?: number | string | undefined
2125
+ keySplines?: string | undefined
2126
+ keyTimes?: string | undefined
2127
+ to?: number | string | undefined
2128
+ values?: string | undefined
2129
+ }
2130
+ interface AnimationAdditionSVGAttributes {
2131
+ accumulate?: "none" | "sum" | undefined
2132
+ additive?: "replace" | "sum" | undefined
2133
+ attributeName?: string | undefined
2134
+ }
2135
+ interface AnimationAttributeTargetSVGAttributes {
2136
+ attributeName?: string | undefined
2137
+ attributeType?: "CSS" | "XML" | "auto" | undefined
2138
+ }
2139
+ interface PresentationSVGAttributes {
2140
+ "alignment-baseline"?:
2141
+ | "auto"
2142
+ | "baseline"
2143
+ | "before-edge"
2144
+ | "text-before-edge"
2145
+ | "middle"
2146
+ | "central"
2147
+ | "after-edge"
2148
+ | "text-after-edge"
2149
+ | "ideographic"
2150
+ | "alphabetic"
2151
+ | "hanging"
2152
+ | "mathematical"
2153
+ | "inherit"
2154
+ | undefined
2155
+ "baseline-shift"?: number | string | undefined
2156
+ "clip-path"?: string | undefined
2157
+ "clip-rule"?: "nonzero" | "evenodd" | "inherit" | undefined
2158
+ "color-interpolation"?:
2159
+ | "auto"
2160
+ | "sRGB"
2161
+ | "linearRGB"
2162
+ | "inherit"
2163
+ | undefined
2164
+ "color-interpolation-filters"?:
2165
+ | "auto"
2166
+ | "sRGB"
2167
+ | "linearRGB"
2168
+ | "inherit"
2169
+ | undefined
2170
+ "color-profile"?: string | undefined
2171
+ "color-rendering"?:
2172
+ | "auto"
2173
+ | "optimizeSpeed"
2174
+ | "optimizeQuality"
2175
+ | "inherit"
2176
+ | undefined
2177
+ "dominant-baseline"?:
2178
+ | "auto"
2179
+ | "text-bottom"
2180
+ | "alphabetic"
2181
+ | "ideographic"
2182
+ | "middle"
2183
+ | "central"
2184
+ | "mathematical"
2185
+ | "hanging"
2186
+ | "text-top"
2187
+ | "inherit"
2188
+ | undefined
2189
+ "enable-background"?: string | undefined
2190
+ "fill-opacity"?: number | string | "inherit" | undefined
2191
+ "fill-rule"?: "nonzero" | "evenodd" | "inherit" | undefined
2192
+ "flood-color"?: string | undefined
2193
+ "flood-opacity"?: number | string | "inherit" | undefined
2194
+ "font-family"?: string | undefined
2195
+ "font-size"?: string | undefined
2196
+ "font-size-adjust"?: number | string | undefined
2197
+ "font-stretch"?: string | undefined
2198
+ "font-style"?: "normal" | "italic" | "oblique" | "inherit" | undefined
2199
+ "font-variant"?: string | undefined
2200
+ "font-weight"?: number | string | undefined
2201
+ "glyph-orientation-horizontal"?: string | undefined
2202
+ "glyph-orientation-vertical"?: string | undefined
2203
+ "image-rendering"?:
2204
+ | "auto"
2205
+ | "optimizeQuality"
2206
+ | "optimizeSpeed"
2207
+ | "inherit"
2208
+ | undefined
2209
+ "letter-spacing"?: number | string | undefined
2210
+ "lighting-color"?: string | undefined
2211
+ "marker-end"?: string | undefined
2212
+ "marker-mid"?: string | undefined
2213
+ "marker-start"?: string | undefined
2214
+ "pointer-events"?:
2215
+ | "bounding-box"
2216
+ | "visiblePainted"
2217
+ | "visibleFill"
2218
+ | "visibleStroke"
2219
+ | "visible"
2220
+ | "painted"
2221
+ | "color"
2222
+ | "fill"
2223
+ | "stroke"
2224
+ | "all"
2225
+ | "none"
2226
+ | "inherit"
2227
+ | undefined
2228
+ "shape-rendering"?:
2229
+ | "auto"
2230
+ | "optimizeSpeed"
2231
+ | "crispEdges"
2232
+ | "geometricPrecision"
2233
+ | "inherit"
2234
+ | undefined
2235
+ "stop-color"?: string | undefined
2236
+ "stop-opacity"?: number | string | "inherit" | undefined
2237
+ "stroke-dasharray"?: string | undefined
2238
+ "stroke-dashoffset"?: number | string | undefined
2239
+ "stroke-linecap"?: "butt" | "round" | "square" | "inherit" | undefined
2240
+ "stroke-linejoin"?:
2241
+ | "arcs"
2242
+ | "bevel"
2243
+ | "miter"
2244
+ | "miter-clip"
2245
+ | "round"
2246
+ | "inherit"
2247
+ | undefined
2248
+ "stroke-miterlimit"?: number | string | "inherit" | undefined
2249
+ "stroke-opacity"?: number | string | "inherit" | undefined
2250
+ "stroke-width"?: number | string | undefined
2251
+ "text-anchor"?: "start" | "middle" | "end" | "inherit" | undefined
2252
+ "text-decoration"?:
2253
+ | "none"
2254
+ | "underline"
2255
+ | "overline"
2256
+ | "line-through"
2257
+ | "blink"
2258
+ | "inherit"
2259
+ | undefined
2260
+ "text-rendering"?:
2261
+ | "auto"
2262
+ | "optimizeSpeed"
2263
+ | "optimizeLegibility"
2264
+ | "geometricPrecision"
2265
+ | "inherit"
2266
+ | undefined
2267
+ "unicode-bidi"?: string | undefined
2268
+ "word-spacing"?: number | string | undefined
2269
+ "writing-mode"?:
2270
+ | "lr-tb"
2271
+ | "rl-tb"
2272
+ | "tb-rl"
2273
+ | "lr"
2274
+ | "rl"
2275
+ | "tb"
2276
+ | "inherit"
2277
+ | undefined
2278
+ clip?: string | undefined
2279
+ color?: string | undefined
2280
+ cursor?: string | undefined
2281
+ direction?: "ltr" | "rtl" | "inherit" | undefined
2282
+ display?: string | undefined
2283
+ fill?: string | undefined
2284
+ filter?: string | undefined
2285
+ kerning?: string | undefined
2286
+ mask?: string | undefined
2287
+ opacity?: number | string | "inherit" | undefined
2288
+ overflow?: "visible" | "hidden" | "scroll" | "auto" | "inherit" | undefined
2289
+ pathLength?: string | number | undefined
2290
+ stroke?: string | undefined
2291
+ visibility?: "visible" | "hidden" | "collapse" | "inherit" | undefined
2292
+ }
2293
+ interface AnimationElementSVGAttributes<T>
2294
+ extends
2295
+ CoreSVGAttributes<T>,
2296
+ ExternalResourceSVGAttributes,
2297
+ ConditionalProcessingSVGAttributes
2298
+ {
2299
+ // TODO TimeEvent is currently undefined on TS
2300
+ onBegin?: EventHandlerUnion<T, Event> | undefined
2301
+ onbegin?: EventHandlerUnion<T, Event> | undefined
2302
+ "on:begin"?: EventHandlerWithOptionsUnion<T, Event> | undefined
2303
+
2304
+ // TODO TimeEvent is currently undefined on TS
2305
+ onEnd?: EventHandlerUnion<T, Event> | undefined
2306
+ onend?: EventHandlerUnion<T, Event> | undefined
2307
+ "on:end"?: EventHandlerWithOptionsUnion<T, Event> | undefined
2308
+
2309
+ // TODO TimeEvent is currently undefined on TS
2310
+ onRepeat?: EventHandlerUnion<T, Event> | undefined
2311
+ onrepeat?: EventHandlerUnion<T, Event> | undefined
2312
+ "on:repeat"?: EventHandlerWithOptionsUnion<T, Event> | undefined
2313
+ }
2314
+
2315
+ interface ContainerElementSVGAttributes<T>
2316
+ extends
2317
+ CoreSVGAttributes<T>,
2318
+ ShapeElementSVGAttributes<T>,
2319
+ Pick<
2320
+ PresentationSVGAttributes,
2321
+ | "clip-path"
2322
+ | "mask"
2323
+ | "cursor"
2324
+ | "opacity"
2325
+ | "filter"
2326
+ | "enable-background"
2327
+ | "color-interpolation"
2328
+ | "color-rendering"
2329
+ >
2330
+ {}
2331
+ interface FilterPrimitiveElementSVGAttributes<T>
2332
+ extends
2333
+ CoreSVGAttributes<T>,
2334
+ Pick<PresentationSVGAttributes, "color-interpolation-filters">
2335
+ {
2336
+ height?: number | string | undefined
2337
+ result?: string | undefined
2338
+ width?: number | string | undefined
2339
+ x?: number | string | undefined
2340
+ y?: number | string | undefined
2341
+ }
2342
+ interface SingleInputFilterSVGAttributes {
2343
+ in?: string | undefined
2344
+ }
2345
+ interface DoubleInputFilterSVGAttributes {
2346
+ in?: string | undefined
2347
+ in2?: string | undefined
2348
+ }
2349
+ interface FitToViewBoxSVGAttributes {
2350
+ preserveAspectRatio?: SVGPreserveAspectRatio | undefined
2351
+ viewBox?: string | undefined
2352
+ }
2353
+ interface GradientElementSVGAttributes<T>
2354
+ extends
2355
+ CoreSVGAttributes<T>,
2356
+ ExternalResourceSVGAttributes,
2357
+ StylableSVGAttributes
2358
+ {
2359
+ gradientTransform?: string | undefined
2360
+ gradientUnits?: SVGUnits | undefined
2361
+ href?: string | undefined
2362
+ spreadMethod?: "pad" | "reflect" | "repeat" | undefined
2363
+ }
2364
+ interface GraphicsElementSVGAttributes<T> extends
2365
+ CoreSVGAttributes<T>,
2366
+ Pick<
2367
+ PresentationSVGAttributes,
2368
+ | "clip-rule"
2369
+ | "mask"
2370
+ | "pointer-events"
2371
+ | "cursor"
2372
+ | "opacity"
2373
+ | "filter"
2374
+ | "display"
2375
+ | "visibility"
2376
+ | "color-interpolation"
2377
+ | "color-rendering"
2378
+ >
2379
+ {}
2380
+ interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
2381
+ interface NewViewportSVGAttributes<T>
2382
+ extends
2383
+ CoreSVGAttributes<T>,
2384
+ Pick<PresentationSVGAttributes, "overflow" | "clip">
2385
+ {
2386
+ viewBox?: string | undefined
2387
+ }
2388
+ interface ShapeElementSVGAttributes<T> extends
2389
+ CoreSVGAttributes<T>,
2390
+ Pick<
2391
+ PresentationSVGAttributes,
2392
+ | "color"
2393
+ | "fill"
2394
+ | "fill-rule"
2395
+ | "fill-opacity"
2396
+ | "stroke"
2397
+ | "stroke-width"
2398
+ | "stroke-linecap"
2399
+ | "stroke-linejoin"
2400
+ | "stroke-miterlimit"
2401
+ | "stroke-dasharray"
2402
+ | "stroke-dashoffset"
2403
+ | "stroke-opacity"
2404
+ | "shape-rendering"
2405
+ | "pathLength"
2406
+ >
2407
+ {}
2408
+ interface TextContentElementSVGAttributes<T>
2409
+ extends
2410
+ CoreSVGAttributes<T>,
2411
+ Pick<
2412
+ PresentationSVGAttributes,
2413
+ | "font-family"
2414
+ | "font-style"
2415
+ | "font-variant"
2416
+ | "font-weight"
2417
+ | "font-stretch"
2418
+ | "font-size"
2419
+ | "font-size-adjust"
2420
+ | "kerning"
2421
+ | "letter-spacing"
2422
+ | "word-spacing"
2423
+ | "text-decoration"
2424
+ | "glyph-orientation-horizontal"
2425
+ | "glyph-orientation-vertical"
2426
+ | "direction"
2427
+ | "unicode-bidi"
2428
+ | "text-anchor"
2429
+ | "dominant-baseline"
2430
+ | "color"
2431
+ | "fill"
2432
+ | "fill-rule"
2433
+ | "fill-opacity"
2434
+ | "stroke"
2435
+ | "stroke-width"
2436
+ | "stroke-linecap"
2437
+ | "stroke-linejoin"
2438
+ | "stroke-miterlimit"
2439
+ | "stroke-dasharray"
2440
+ | "stroke-dashoffset"
2441
+ | "stroke-opacity"
2442
+ >
2443
+ {}
2444
+ interface ZoomAndPanSVGAttributes {
2445
+ /**
2446
+ * @deprecated
2447
+ * @non-standard
2448
+ */
2449
+ zoomAndPan?: "disable" | "magnify" | undefined
2450
+ }
2451
+ interface AnimateSVGAttributes<T>
2452
+ extends
2453
+ AnimationElementSVGAttributes<T>,
2454
+ AnimationAttributeTargetSVGAttributes,
2455
+ AnimationTimingSVGAttributes,
2456
+ AnimationValueSVGAttributes,
2457
+ AnimationAdditionSVGAttributes,
2458
+ Pick<
2459
+ PresentationSVGAttributes,
2460
+ "color-interpolation" | "color-rendering"
2461
+ >
2462
+ {}
2463
+ interface AnimateMotionSVGAttributes<T>
2464
+ extends
2465
+ AnimationElementSVGAttributes<T>,
2466
+ AnimationTimingSVGAttributes,
2467
+ AnimationValueSVGAttributes,
2468
+ AnimationAdditionSVGAttributes
2469
+ {
2470
+ keyPoints?: string | undefined
2471
+ origin?: "default" | undefined
2472
+ path?: string | undefined
2473
+ rotate?: number | string | "auto" | "auto-reverse" | undefined
2474
+ }
2475
+ interface AnimateTransformSVGAttributes<T>
2476
+ extends
2477
+ AnimationElementSVGAttributes<T>,
2478
+ AnimationAttributeTargetSVGAttributes,
2479
+ AnimationTimingSVGAttributes,
2480
+ AnimationValueSVGAttributes,
2481
+ AnimationAdditionSVGAttributes
2482
+ {
2483
+ type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | undefined
2484
+ }
2485
+ interface CircleSVGAttributes<T>
2486
+ extends
2487
+ GraphicsElementSVGAttributes<T>,
2488
+ ShapeElementSVGAttributes<T>,
2489
+ ConditionalProcessingSVGAttributes,
2490
+ StylableSVGAttributes,
2491
+ TransformableSVGAttributes,
2492
+ Pick<PresentationSVGAttributes, "clip-path">
2493
+ {
2494
+ cx?: number | string | undefined
2495
+ cy?: number | string | undefined
2496
+ r?: number | string | undefined
2497
+ }
2498
+ interface ClipPathSVGAttributes<T>
2499
+ extends
2500
+ CoreSVGAttributes<T>,
2501
+ ConditionalProcessingSVGAttributes,
2502
+ ExternalResourceSVGAttributes,
2503
+ StylableSVGAttributes,
2504
+ TransformableSVGAttributes,
2505
+ Pick<PresentationSVGAttributes, "clip-path">
2506
+ {
2507
+ clipPathUnits?: SVGUnits | undefined
2508
+ }
2509
+ interface DefsSVGAttributes<T>
2510
+ extends
2511
+ ContainerElementSVGAttributes<T>,
2512
+ ConditionalProcessingSVGAttributes,
2513
+ ExternalResourceSVGAttributes,
2514
+ StylableSVGAttributes,
2515
+ TransformableSVGAttributes
2516
+ {}
2517
+ interface DescSVGAttributes<T>
2518
+ extends CoreSVGAttributes<T>, StylableSVGAttributes
2519
+ {}
2520
+ interface EllipseSVGAttributes<T>
2521
+ extends
2522
+ GraphicsElementSVGAttributes<T>,
2523
+ ShapeElementSVGAttributes<T>,
2524
+ ConditionalProcessingSVGAttributes,
2525
+ ExternalResourceSVGAttributes,
2526
+ StylableSVGAttributes,
2527
+ TransformableSVGAttributes,
2528
+ Pick<PresentationSVGAttributes, "clip-path">
2529
+ {
2530
+ cx?: number | string | undefined
2531
+ cy?: number | string | undefined
2532
+ rx?: number | string | undefined
2533
+ ry?: number | string | undefined
2534
+ }
2535
+ interface FeBlendSVGAttributes<T>
2536
+ extends
2537
+ FilterPrimitiveElementSVGAttributes<T>,
2538
+ DoubleInputFilterSVGAttributes,
2539
+ StylableSVGAttributes
2540
+ {
2541
+ mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | undefined
2542
+ }
2543
+ interface FeColorMatrixSVGAttributes<T>
2544
+ extends
2545
+ FilterPrimitiveElementSVGAttributes<T>,
2546
+ SingleInputFilterSVGAttributes,
2547
+ StylableSVGAttributes
2548
+ {
2549
+ type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | undefined
2550
+ values?: string | undefined
2551
+ }
2552
+ interface FeComponentTransferSVGAttributes<T>
2553
+ extends
2554
+ FilterPrimitiveElementSVGAttributes<T>,
2555
+ SingleInputFilterSVGAttributes,
2556
+ StylableSVGAttributes
2557
+ {}
2558
+ interface FeCompositeSVGAttributes<T>
2559
+ extends
2560
+ FilterPrimitiveElementSVGAttributes<T>,
2561
+ DoubleInputFilterSVGAttributes,
2562
+ StylableSVGAttributes
2563
+ {
2564
+ k1?: number | string | undefined
2565
+ k2?: number | string | undefined
2566
+ k3?: number | string | undefined
2567
+ k4?: number | string | undefined
2568
+ operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | undefined
2569
+ }
2570
+ interface FeConvolveMatrixSVGAttributes<T>
2571
+ extends
2572
+ FilterPrimitiveElementSVGAttributes<T>,
2573
+ SingleInputFilterSVGAttributes,
2574
+ StylableSVGAttributes
2575
+ {
2576
+ bias?: number | string | undefined
2577
+ divisor?: number | string | undefined
2578
+ edgeMode?: "duplicate" | "wrap" | "none" | undefined
2579
+ kernelMatrix?: string | undefined
2580
+ kernelUnitLength?: number | string | undefined
2581
+ order?: number | string | undefined
2582
+ preserveAlpha?: "true" | "false" | undefined
2583
+ targetX?: number | string | undefined
2584
+ targetY?: number | string | undefined
2585
+ }
2586
+ interface FeDiffuseLightingSVGAttributes<T>
2587
+ extends
2588
+ FilterPrimitiveElementSVGAttributes<T>,
2589
+ SingleInputFilterSVGAttributes,
2590
+ StylableSVGAttributes,
2591
+ Pick<PresentationSVGAttributes, "color" | "lighting-color">
2592
+ {
2593
+ diffuseConstant?: number | string | undefined
2594
+ kernelUnitLength?: number | string | undefined
2595
+ surfaceScale?: number | string | undefined
2596
+ }
2597
+ interface FeDisplacementMapSVGAttributes<T>
2598
+ extends
2599
+ FilterPrimitiveElementSVGAttributes<T>,
2600
+ DoubleInputFilterSVGAttributes,
2601
+ StylableSVGAttributes
2602
+ {
2603
+ scale?: number | string | undefined
2604
+ xChannelSelector?: "R" | "G" | "B" | "A" | undefined
2605
+ yChannelSelector?: "R" | "G" | "B" | "A" | undefined
2606
+ }
2607
+ interface FeDistantLightSVGAttributes<T>
2608
+ extends LightSourceElementSVGAttributes<T>
2609
+ {
2610
+ azimuth?: number | string | undefined
2611
+ elevation?: number | string | undefined
2612
+ }
2613
+ interface FeDropShadowSVGAttributes<T>
2614
+ extends
2615
+ CoreSVGAttributes<T>,
2616
+ FilterPrimitiveElementSVGAttributes<T>,
2617
+ StylableSVGAttributes,
2618
+ Pick<
2619
+ PresentationSVGAttributes,
2620
+ "color" | "flood-color" | "flood-opacity"
2621
+ >
2622
+ {
2623
+ dx?: number | string | undefined
2624
+ dy?: number | string | undefined
2625
+ stdDeviation?: number | string | undefined
2626
+ }
2627
+ interface FeFloodSVGAttributes<T>
2628
+ extends
2629
+ FilterPrimitiveElementSVGAttributes<T>,
2630
+ StylableSVGAttributes,
2631
+ Pick<
2632
+ PresentationSVGAttributes,
2633
+ "color" | "flood-color" | "flood-opacity"
2634
+ >
2635
+ {}
2636
+ interface FeFuncSVGAttributes<T> extends CoreSVGAttributes<T> {
2637
+ amplitude?: number | string | undefined
2638
+ exponent?: number | string | undefined
2639
+ intercept?: number | string | undefined
2640
+ offset?: number | string | undefined
2641
+ slope?: number | string | undefined
2642
+ tableValues?: string | undefined
2643
+ type?: "identity" | "table" | "discrete" | "linear" | "gamma" | undefined
2644
+ }
2645
+ interface FeGaussianBlurSVGAttributes<T>
2646
+ extends
2647
+ FilterPrimitiveElementSVGAttributes<T>,
2648
+ SingleInputFilterSVGAttributes,
2649
+ StylableSVGAttributes
2650
+ {
2651
+ stdDeviation?: number | string | undefined
2652
+ }
2653
+ interface FeImageSVGAttributes<T>
2654
+ extends
2655
+ FilterPrimitiveElementSVGAttributes<T>,
2656
+ ExternalResourceSVGAttributes,
2657
+ StylableSVGAttributes
2658
+ {
2659
+ href?: string | undefined
2660
+ preserveAspectRatio?: SVGPreserveAspectRatio | undefined
2661
+ }
2662
+ interface FeMergeSVGAttributes<T>
2663
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes
2664
+ {}
2665
+ interface FeMergeNodeSVGAttributes<T>
2666
+ extends CoreSVGAttributes<T>, SingleInputFilterSVGAttributes
2667
+ {}
2668
+ interface FeMorphologySVGAttributes<T>
2669
+ extends
2670
+ FilterPrimitiveElementSVGAttributes<T>,
2671
+ SingleInputFilterSVGAttributes,
2672
+ StylableSVGAttributes
2673
+ {
2674
+ operator?: "erode" | "dilate" | undefined
2675
+ radius?: number | string | undefined
2676
+ }
2677
+ interface FeOffsetSVGAttributes<T>
2678
+ extends
2679
+ FilterPrimitiveElementSVGAttributes<T>,
2680
+ SingleInputFilterSVGAttributes,
2681
+ StylableSVGAttributes
2682
+ {
2683
+ dx?: number | string | undefined
2684
+ dy?: number | string | undefined
2685
+ }
2686
+ interface FePointLightSVGAttributes<T>
2687
+ extends LightSourceElementSVGAttributes<T>
2688
+ {
2689
+ x?: number | string | undefined
2690
+ y?: number | string | undefined
2691
+ z?: number | string | undefined
2692
+ }
2693
+ interface FeSpecularLightingSVGAttributes<T>
2694
+ extends
2695
+ FilterPrimitiveElementSVGAttributes<T>,
2696
+ SingleInputFilterSVGAttributes,
2697
+ StylableSVGAttributes,
2698
+ Pick<PresentationSVGAttributes, "color" | "lighting-color">
2699
+ {
2700
+ kernelUnitLength?: number | string | undefined
2701
+ specularConstant?: string | undefined
2702
+ specularExponent?: string | undefined
2703
+ surfaceScale?: string | undefined
2704
+ }
2705
+ interface FeSpotLightSVGAttributes<T>
2706
+ extends LightSourceElementSVGAttributes<T>
2707
+ {
2708
+ limitingConeAngle?: number | string | undefined
2709
+ pointsAtX?: number | string | undefined
2710
+ pointsAtY?: number | string | undefined
2711
+ pointsAtZ?: number | string | undefined
2712
+ specularExponent?: number | string | undefined
2713
+ x?: number | string | undefined
2714
+ y?: number | string | undefined
2715
+ z?: number | string | undefined
2716
+ }
2717
+ interface FeTileSVGAttributes<T>
2718
+ extends
2719
+ FilterPrimitiveElementSVGAttributes<T>,
2720
+ SingleInputFilterSVGAttributes,
2721
+ StylableSVGAttributes
2722
+ {}
2723
+ interface FeTurbulanceSVGAttributes<T>
2724
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes
2725
+ {
2726
+ baseFrequency?: number | string | undefined
2727
+ numOctaves?: number | string | undefined
2728
+ seed?: number | string | undefined
2729
+ stitchTiles?: "stitch" | "noStitch" | undefined
2730
+ type?: "fractalNoise" | "turbulence" | undefined
2731
+ }
2732
+ interface FilterSVGAttributes<T>
2733
+ extends
2734
+ CoreSVGAttributes<T>,
2735
+ ExternalResourceSVGAttributes,
2736
+ StylableSVGAttributes
2737
+ {
2738
+ filterRes?: number | string | undefined
2739
+ filterUnits?: SVGUnits | undefined
2740
+ height?: number | string | undefined
2741
+ primitiveUnits?: SVGUnits | undefined
2742
+ width?: number | string | undefined
2743
+ x?: number | string | undefined
2744
+ y?: number | string | undefined
2745
+ }
2746
+ interface ForeignObjectSVGAttributes<T>
2747
+ extends
2748
+ NewViewportSVGAttributes<T>,
2749
+ ConditionalProcessingSVGAttributes,
2750
+ ExternalResourceSVGAttributes,
2751
+ StylableSVGAttributes,
2752
+ TransformableSVGAttributes,
2753
+ Pick<PresentationSVGAttributes, "display" | "visibility">
2754
+ {
2755
+ height?: number | string | undefined
2756
+ width?: number | string | undefined
2757
+ x?: number | string | undefined
2758
+ y?: number | string | undefined
2759
+ }
2760
+ interface GSVGAttributes<T>
2761
+ extends
2762
+ ContainerElementSVGAttributes<T>,
2763
+ ConditionalProcessingSVGAttributes,
2764
+ ExternalResourceSVGAttributes,
2765
+ StylableSVGAttributes,
2766
+ TransformableSVGAttributes,
2767
+ Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility">
2768
+ {}
2769
+ interface ImageSVGAttributes<T>
2770
+ extends
2771
+ NewViewportSVGAttributes<T>,
2772
+ GraphicsElementSVGAttributes<T>,
2773
+ ConditionalProcessingSVGAttributes,
2774
+ StylableSVGAttributes,
2775
+ TransformableSVGAttributes,
2776
+ Pick<
2777
+ PresentationSVGAttributes,
2778
+ "clip-path" | "color-profile" | "image-rendering"
2779
+ >
2780
+ {
2781
+ height?: number | string | undefined
2782
+ href?: string | undefined
2783
+ preserveAspectRatio?: ImagePreserveAspectRatio | undefined
2784
+ width?: number | string | undefined
2785
+ x?: number | string | undefined
2786
+ y?: number | string | undefined
2787
+ }
2788
+ interface LineSVGAttributes<T>
2789
+ extends
2790
+ GraphicsElementSVGAttributes<T>,
2791
+ ShapeElementSVGAttributes<T>,
2792
+ ConditionalProcessingSVGAttributes,
2793
+ ExternalResourceSVGAttributes,
2794
+ StylableSVGAttributes,
2795
+ TransformableSVGAttributes,
2796
+ Pick<
2797
+ PresentationSVGAttributes,
2798
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
2799
+ >
2800
+ {
2801
+ x1?: number | string | undefined
2802
+ x2?: number | string | undefined
2803
+ y1?: number | string | undefined
2804
+ y2?: number | string | undefined
2805
+ }
2806
+ interface LinearGradientSVGAttributes<T>
2807
+ extends GradientElementSVGAttributes<T>
2808
+ {
2809
+ x1?: number | string | undefined
2810
+ x2?: number | string | undefined
2811
+ y1?: number | string | undefined
2812
+ y2?: number | string | undefined
2813
+ }
2814
+ interface MarkerSVGAttributes<T>
2815
+ extends
2816
+ ContainerElementSVGAttributes<T>,
2817
+ ExternalResourceSVGAttributes,
2818
+ StylableSVGAttributes,
2819
+ FitToViewBoxSVGAttributes,
2820
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip">
2821
+ {
2822
+ markerHeight?: number | string | undefined
2823
+ markerUnits?: "strokeWidth" | "userSpaceOnUse" | undefined
2824
+ markerWidth?: number | string | undefined
2825
+ orient?: string | undefined
2826
+ refX?: number | string | undefined
2827
+ refY?: number | string | undefined
2828
+ }
2829
+ interface MaskSVGAttributes<T>
2830
+ extends
2831
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2832
+ ConditionalProcessingSVGAttributes,
2833
+ ExternalResourceSVGAttributes,
2834
+ StylableSVGAttributes,
2835
+ Pick<PresentationSVGAttributes, "clip-path">
2836
+ {
2837
+ height?: number | string | undefined
2838
+ maskContentUnits?: SVGUnits | undefined
2839
+ maskUnits?: SVGUnits | undefined
2840
+ width?: number | string | undefined
2841
+ x?: number | string | undefined
2842
+ y?: number | string | undefined
2843
+ }
2844
+ interface MetadataSVGAttributes<T> extends CoreSVGAttributes<T> {}
2845
+ interface MPathSVGAttributes<T> extends CoreSVGAttributes<T> {}
2846
+ interface PathSVGAttributes<T>
2847
+ extends
2848
+ GraphicsElementSVGAttributes<T>,
2849
+ ShapeElementSVGAttributes<T>,
2850
+ ConditionalProcessingSVGAttributes,
2851
+ ExternalResourceSVGAttributes,
2852
+ StylableSVGAttributes,
2853
+ TransformableSVGAttributes,
2854
+ Pick<
2855
+ PresentationSVGAttributes,
2856
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
2857
+ >
2858
+ {
2859
+ d?: string | undefined
2860
+ pathLength?: number | string | undefined
2861
+ }
2862
+ interface PatternSVGAttributes<T>
2863
+ extends
2864
+ ContainerElementSVGAttributes<T>,
2865
+ ConditionalProcessingSVGAttributes,
2866
+ ExternalResourceSVGAttributes,
2867
+ StylableSVGAttributes,
2868
+ FitToViewBoxSVGAttributes,
2869
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip">
2870
+ {
2871
+ height?: number | string | undefined
2872
+ href?: string | undefined
2873
+ patternContentUnits?: SVGUnits | undefined
2874
+ patternTransform?: string | undefined
2875
+ patternUnits?: SVGUnits | undefined
2876
+ width?: number | string | undefined
2877
+ x?: number | string | undefined
2878
+ y?: number | string | undefined
2879
+ }
2880
+ interface PolygonSVGAttributes<T>
2881
+ extends
2882
+ GraphicsElementSVGAttributes<T>,
2883
+ ShapeElementSVGAttributes<T>,
2884
+ ConditionalProcessingSVGAttributes,
2885
+ ExternalResourceSVGAttributes,
2886
+ StylableSVGAttributes,
2887
+ TransformableSVGAttributes,
2888
+ Pick<
2889
+ PresentationSVGAttributes,
2890
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
2891
+ >
2892
+ {
2893
+ points?: string | undefined
2894
+ }
2895
+ interface PolylineSVGAttributes<T>
2896
+ extends
2897
+ GraphicsElementSVGAttributes<T>,
2898
+ ShapeElementSVGAttributes<T>,
2899
+ ConditionalProcessingSVGAttributes,
2900
+ ExternalResourceSVGAttributes,
2901
+ StylableSVGAttributes,
2902
+ TransformableSVGAttributes,
2903
+ Pick<
2904
+ PresentationSVGAttributes,
2905
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
2906
+ >
2907
+ {
2908
+ points?: string | undefined
2909
+ }
2910
+ interface RadialGradientSVGAttributes<T>
2911
+ extends GradientElementSVGAttributes<T>
2912
+ {
2913
+ cx?: number | string | undefined
2914
+ cy?: number | string | undefined
2915
+ fx?: number | string | undefined
2916
+ fy?: number | string | undefined
2917
+ r?: number | string | undefined
2918
+ }
2919
+ interface RectSVGAttributes<T>
2920
+ extends
2921
+ GraphicsElementSVGAttributes<T>,
2922
+ ShapeElementSVGAttributes<T>,
2923
+ ConditionalProcessingSVGAttributes,
2924
+ ExternalResourceSVGAttributes,
2925
+ StylableSVGAttributes,
2926
+ TransformableSVGAttributes,
2927
+ Pick<PresentationSVGAttributes, "clip-path">
2928
+ {
2929
+ height?: number | string | undefined
2930
+ rx?: number | string | undefined
2931
+ ry?: number | string | undefined
2932
+ width?: number | string | undefined
2933
+ x?: number | string | undefined
2934
+ y?: number | string | undefined
2935
+ }
2936
+ interface SetSVGAttributes<T>
2937
+ extends
2938
+ AnimationElementSVGAttributes<T>,
2939
+ StylableSVGAttributes,
2940
+ AnimationTimingSVGAttributes
2941
+ {}
2942
+ interface StopSVGAttributes<T>
2943
+ extends
2944
+ CoreSVGAttributes<T>,
2945
+ StylableSVGAttributes,
2946
+ Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity">
2947
+ {
2948
+ offset?: number | string | undefined
2949
+ }
2950
+ interface SvgSVGAttributes<T>
2951
+ extends
2952
+ ContainerElementSVGAttributes<T>,
2953
+ NewViewportSVGAttributes<T>,
2954
+ ConditionalProcessingSVGAttributes,
2955
+ ExternalResourceSVGAttributes,
2956
+ StylableSVGAttributes,
2957
+ FitToViewBoxSVGAttributes,
2958
+ ZoomAndPanSVGAttributes,
2959
+ PresentationSVGAttributes,
2960
+ WindowEventMap<T>
2961
+ {
2962
+ "xmlns:xlink"?: string | undefined
2963
+ [`xmlns:${string}`]?: string | undefined
2964
+ contentScriptType?: string | undefined
2965
+ contentStyleType?: string | undefined
2966
+ height?: number | string | undefined
2967
+ width?: number | string | undefined
2968
+ x?: number | string | undefined
2969
+ xmlns?: string | undefined
2970
+ y?: number | string | undefined
2971
+
2972
+ /** @deprecated */
2973
+ baseProfile?: string | undefined
2974
+ /** @deprecated */
2975
+ version?: string | undefined
2976
+ }
2977
+ interface SwitchSVGAttributes<T>
2978
+ extends
2979
+ ContainerElementSVGAttributes<T>,
2980
+ ConditionalProcessingSVGAttributes,
2981
+ ExternalResourceSVGAttributes,
2982
+ StylableSVGAttributes,
2983
+ TransformableSVGAttributes,
2984
+ Pick<PresentationSVGAttributes, "display" | "visibility">
2985
+ {}
2986
+ interface SymbolSVGAttributes<T>
2987
+ extends
2988
+ ContainerElementSVGAttributes<T>,
2989
+ NewViewportSVGAttributes<T>,
2990
+ ExternalResourceSVGAttributes,
2991
+ StylableSVGAttributes,
2992
+ FitToViewBoxSVGAttributes,
2993
+ Pick<PresentationSVGAttributes, "clip-path">
2994
+ {
2995
+ height?: number | string | undefined
2996
+ preserveAspectRatio?: SVGPreserveAspectRatio | undefined
2997
+ refX?: number | string | undefined
2998
+ refY?: number | string | undefined
2999
+ viewBox?: string | undefined
3000
+ width?: number | string | undefined
3001
+ x?: number | string | undefined
3002
+ y?: number | string | undefined
3003
+ }
3004
+ interface TextSVGAttributes<T>
3005
+ extends
3006
+ TextContentElementSVGAttributes<T>,
3007
+ GraphicsElementSVGAttributes<T>,
3008
+ ConditionalProcessingSVGAttributes,
3009
+ ExternalResourceSVGAttributes,
3010
+ StylableSVGAttributes,
3011
+ TransformableSVGAttributes,
3012
+ Pick<
3013
+ PresentationSVGAttributes,
3014
+ "clip-path" | "writing-mode" | "text-rendering"
3015
+ >
3016
+ {
3017
+ dx?: number | string | undefined
3018
+ dy?: number | string | undefined
3019
+ lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined
3020
+ rotate?: number | string | undefined
3021
+ textLength?: number | string | undefined
3022
+ x?: number | string | undefined
3023
+ y?: number | string | undefined
3024
+ }
3025
+ interface TextPathSVGAttributes<T>
3026
+ extends
3027
+ TextContentElementSVGAttributes<T>,
3028
+ ConditionalProcessingSVGAttributes,
3029
+ ExternalResourceSVGAttributes,
3030
+ StylableSVGAttributes,
3031
+ Pick<
3032
+ PresentationSVGAttributes,
3033
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
3034
+ >
3035
+ {
3036
+ href?: string | undefined
3037
+ method?: "align" | "stretch" | undefined
3038
+ spacing?: "auto" | "exact" | undefined
3039
+ startOffset?: number | string | undefined
3040
+ }
3041
+ interface TSpanSVGAttributes<T>
3042
+ extends
3043
+ TextContentElementSVGAttributes<T>,
3044
+ ConditionalProcessingSVGAttributes,
3045
+ ExternalResourceSVGAttributes,
3046
+ StylableSVGAttributes,
3047
+ Pick<
3048
+ PresentationSVGAttributes,
3049
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
3050
+ >
3051
+ {
3052
+ dx?: number | string | undefined
3053
+ dy?: number | string | undefined
3054
+ lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined
3055
+ rotate?: number | string | undefined
3056
+ textLength?: number | string | undefined
3057
+ x?: number | string | undefined
3058
+ y?: number | string | undefined
3059
+ }
3060
+ /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
3061
+ interface UseSVGAttributes<T>
3062
+ extends
3063
+ CoreSVGAttributes<T>,
3064
+ StylableSVGAttributes,
3065
+ ConditionalProcessingSVGAttributes,
3066
+ GraphicsElementSVGAttributes<T>,
3067
+ PresentationSVGAttributes,
3068
+ ExternalResourceSVGAttributes,
3069
+ TransformableSVGAttributes
3070
+ {
3071
+ height?: number | string | undefined
3072
+ href?: string | undefined
3073
+ width?: number | string | undefined
3074
+ x?: number | string | undefined
3075
+ y?: number | string | undefined
3076
+ }
3077
+ interface ViewSVGAttributes<T>
3078
+ extends
3079
+ CoreSVGAttributes<T>,
3080
+ ExternalResourceSVGAttributes,
3081
+ FitToViewBoxSVGAttributes,
3082
+ ZoomAndPanSVGAttributes
3083
+ {
3084
+ viewTarget?: string | undefined
3085
+ }
3086
+
3087
+ // math elements
3088
+
3089
+ /** Global `MathMLElement` interface keys only. (ex not html/svg) */
3090
+ interface MathMLAttributes<T> extends DOMAttributes<T> {
3091
+ dir?: HTMLDir | undefined
3092
+ displaystyle?: boolean | undefined
3093
+ scriptlevel?: string | undefined
3094
+ xmlns?: string | undefined
3095
+
3096
+ /** @deprecated */
3097
+ href?: string | undefined
3098
+ /** @deprecated */
3099
+ mathbackground?: string | undefined
3100
+ /** @deprecated */
3101
+ mathcolor?: string | undefined
3102
+ /** @deprecated */
3103
+ mathsize?: string | undefined
3104
+ }
3105
+
3106
+ interface MathMLAnnotationElementAttributes<T> extends MathMLAttributes<T> {
3107
+ encoding?: string | undefined
3108
+
3109
+ /** @deprecated */
3110
+ src?: string | undefined
3111
+ }
3112
+ interface MathMLAnnotationXmlElementAttributes<T>
3113
+ extends MathMLAttributes<T>
3114
+ {
3115
+ encoding?: string | undefined
3116
+
3117
+ /** @deprecated */
3118
+ src?: string | undefined
3119
+ }
3120
+ interface MathMLMactionElementAttributes<T> extends MathMLAttributes<T> {
3121
+ /**
3122
+ * @deprecated
3123
+ * @non-standard
3124
+ */
3125
+ actiontype?: "statusline" | "toggle" | undefined
3126
+ /**
3127
+ * @deprecated
3128
+ * @non-standard
3129
+ */
3130
+ selection?: string | undefined
3131
+ }
3132
+ interface MathMLMathElementAttributes<T> extends MathMLAttributes<T> {
3133
+ display?: "block" | "inline" | undefined
3134
+ }
3135
+ interface MathMLMerrorElementAttributes<T> extends MathMLAttributes<T> {}
3136
+ interface MathMLMfracElementAttributes<T> extends MathMLAttributes<T> {
3137
+ linethickness?: string | undefined
3138
+
3139
+ /**
3140
+ * @deprecated
3141
+ * @non-standard
3142
+ */
3143
+ denomalign?: "center" | "left" | "right" | undefined
3144
+ /**
3145
+ * @deprecated
3146
+ * @non-standard
3147
+ */
3148
+ numalign?: "center" | "left" | "right" | undefined
3149
+ }
3150
+ interface MathMLMiElementAttributes<T> extends MathMLAttributes<T> {
3151
+ mathvariant?: "normal" | undefined
3152
+ }
3153
+
3154
+ interface MathMLMmultiscriptsElementAttributes<T>
3155
+ extends MathMLAttributes<T>
3156
+ {
3157
+ /**
3158
+ * @deprecated
3159
+ * @non-standard
3160
+ */
3161
+ subscriptshift?: string | undefined
3162
+ /**
3163
+ * @deprecated
3164
+ * @non-standard
3165
+ */
3166
+ superscriptshift?: string | undefined
3167
+ }
3168
+ interface MathMLMnElementAttributes<T> extends MathMLAttributes<T> {}
3169
+ interface MathMLMoElementAttributes<T> extends MathMLAttributes<T> {
3170
+ fence?: boolean | undefined
3171
+ form?: "prefix" | "infix" | "postfix" | undefined
3172
+ largeop?: boolean | undefined
3173
+ lspace?: string | undefined
3174
+ maxsize?: string | undefined
3175
+ minsize?: string | undefined
3176
+ movablelimits?: boolean | undefined
3177
+ rspace?: string | undefined
3178
+ separator?: boolean | undefined
3179
+ stretchy?: boolean | undefined
3180
+ symmetric?: boolean | undefined
3181
+
3182
+ /** @non-standard */
3183
+ accent?: boolean | undefined
3184
+ }
3185
+ interface MathMLMoverElementAttributes<T> extends MathMLAttributes<T> {
3186
+ accent?: boolean | undefined
3187
+ }
3188
+ interface MathMLMpaddedElementAttributes<T> extends MathMLAttributes<T> {
3189
+ depth?: string | undefined
3190
+ height?: string | undefined
3191
+ lspace?: string | undefined
3192
+ voffset?: string | undefined
3193
+ width?: string | undefined
3194
+ }
3195
+ interface MathMLMphantomElementAttributes<T> extends MathMLAttributes<T> {}
3196
+ interface MathMLMprescriptsElementAttributes<T> extends MathMLAttributes<T> {}
3197
+ interface MathMLMrootElementAttributes<T> extends MathMLAttributes<T> {}
3198
+ interface MathMLMrowElementAttributes<T> extends MathMLAttributes<T> {}
3199
+ interface MathMLMsElementAttributes<T> extends MathMLAttributes<T> {
3200
+ /** @deprecated */
3201
+ lquote?: string | undefined
3202
+ /** @deprecated */
3203
+ rquote?: string | undefined
3204
+ }
3205
+ interface MathMLMspaceElementAttributes<T> extends MathMLAttributes<T> {
3206
+ depth?: string | undefined
3207
+ height?: string | undefined
3208
+ width?: string | undefined
3209
+ }
3210
+ interface MathMLMsqrtElementAttributes<T> extends MathMLAttributes<T> {}
3211
+ interface MathMLMstyleElementAttributes<T> extends MathMLAttributes<T> {
3212
+ /**
3213
+ * @deprecated
3214
+ * @non-standard
3215
+ */
3216
+ background?: string | undefined
3217
+ /**
3218
+ * @deprecated
3219
+ * @non-standard
3220
+ */
3221
+ color?: string | undefined
3222
+ /**
3223
+ * @deprecated
3224
+ * @non-standard
3225
+ */
3226
+ fontsize?: string | undefined
3227
+ /**
3228
+ * @deprecated
3229
+ * @non-standard
3230
+ */
3231
+ fontstyle?: string | undefined
3232
+ /**
3233
+ * @deprecated
3234
+ * @non-standard
3235
+ */
3236
+ fontweight?: string | undefined
3237
+
3238
+ /** @deprecated */
3239
+ scriptminsize?: string | undefined
3240
+ /** @deprecated */
3241
+ scriptsizemultiplier?: string | undefined
3242
+ }
3243
+ interface MathMLMsubElementAttributes<T> extends MathMLAttributes<T> {
3244
+ /**
3245
+ * @deprecated
3246
+ * @non-standard
3247
+ */
3248
+ subscriptshift?: string | undefined
3249
+ }
3250
+ interface MathMLMsubsupElementAttributes<T> extends MathMLAttributes<T> {
3251
+ /**
3252
+ * @deprecated
3253
+ * @non-standard
3254
+ */
3255
+ subscriptshift?: string | undefined
3256
+ /**
3257
+ * @deprecated
3258
+ * @non-standard
3259
+ */
3260
+ superscriptshift?: string | undefined
3261
+ }
3262
+ interface MathMLMsupElementAttributes<T> extends MathMLAttributes<T> {
3263
+ /**
3264
+ * @deprecated
3265
+ * @non-standard
3266
+ */
3267
+ superscriptshift?: string | undefined
3268
+ }
3269
+ interface MathMLMtableElementAttributes<T> extends MathMLAttributes<T> {
3270
+ /** @non-standard */
3271
+ align?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined
3272
+ /** @non-standard */
3273
+ columnalign?: "center" | "left" | "right" | undefined
3274
+ /** @non-standard */
3275
+ columnlines?: "dashed" | "none" | "solid" | undefined
3276
+ /** @non-standard */
3277
+ columnspacing?: string | undefined
3278
+ /** @non-standard */
3279
+ frame?: "dashed" | "none" | "solid" | undefined
3280
+ /** @non-standard */
3281
+ framespacing?: string | undefined
3282
+ /** @non-standard */
3283
+ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined
3284
+ /** @non-standard */
3285
+ rowlines?: "dashed" | "none" | "solid" | undefined
3286
+ /** @non-standard */
3287
+ rowspacing?: string | undefined
3288
+ /** @non-standard */
3289
+ width?: string | undefined
3290
+ }
3291
+ interface MathMLMtdElementAttributes<T> extends MathMLAttributes<T> {
3292
+ columnspan?: number | string | undefined
3293
+ rowspan?: number | string | undefined
3294
+ /** @non-standard */
3295
+ columnalign?: "center" | "left" | "right" | undefined
3296
+ /** @non-standard */
3297
+ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined
3298
+ }
3299
+ interface MathMLMtextElementAttributes<T> extends MathMLAttributes<T> {}
3300
+ interface MathMLMtrElementAttributes<T> extends MathMLAttributes<T> {
3301
+ /** @non-standard */
3302
+ columnalign?: "center" | "left" | "right" | undefined
3303
+ /** @non-standard */
3304
+ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined
3305
+ }
3306
+ interface MathMLMunderElementAttributes<T> extends MathMLAttributes<T> {
3307
+ accentunder?: "" | boolean | undefined
3308
+ }
3309
+ interface MathMLMunderoverElementAttributes<T> extends MathMLAttributes<T> {
3310
+ accent?: "" | boolean | undefined
3311
+ accentunder?: "" | boolean | undefined
3312
+ }
3313
+ interface MathMLSemanticsElementAttributes<T> extends MathMLAttributes<T> {}
3314
+
3315
+ /* MathMLDeprecatedElements */
3316
+
3317
+ interface MathMLMencloseElementAttributes<T> extends MathMLAttributes<T> {
3318
+ /** @non-standard */
3319
+ notation?: string | undefined
3320
+ }
3321
+ interface MathMLMfencedElementAttributes<T> extends MathMLAttributes<T> {
3322
+ close?: string | undefined
3323
+ open?: string | undefined
3324
+ separators?: string | undefined
3325
+ }
3326
+
3327
+ /** @type {HTMLElementTagNameMap} */
3328
+ interface HTMLElementTags {
3329
+ /**
3330
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
3331
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
3332
+ */
3333
+ a: AnchorHTMLAttributes<HTMLAnchorElement>
3334
+ /**
3335
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
3336
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3337
+ */
3338
+ abbr: HTMLAttributes<HTMLElement>
3339
+ /**
3340
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
3341
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3342
+ */
3343
+ address: HTMLAttributes<HTMLElement>
3344
+ /**
3345
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
3346
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement
3347
+ */
3348
+ area: AreaHTMLAttributes<HTMLAreaElement>
3349
+ /**
3350
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
3351
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3352
+ */
3353
+ article: HTMLAttributes<HTMLElement>
3354
+ /**
3355
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
3356
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3357
+ */
3358
+ aside: HTMLAttributes<HTMLElement>
3359
+ /**
3360
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
3361
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement
3362
+ */
3363
+ audio: AudioHTMLAttributes<HTMLAudioElement>
3364
+ /**
3365
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
3366
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3367
+ */
3368
+ b: HTMLAttributes<HTMLElement>
3369
+ /**
3370
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
3371
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement
3372
+ */
3373
+ base: BaseHTMLAttributes<HTMLBaseElement>
3374
+ /**
3375
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
3376
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3377
+ */
3378
+ bdi: HTMLAttributes<HTMLElement>
3379
+ /**
3380
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
3381
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3382
+ */
3383
+ bdo: BdoHTMLAttributes<HTMLElement>
3384
+ /**
3385
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
3386
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3387
+ */
3388
+ blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement>
3389
+ /**
3390
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
3391
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement
3392
+ */
3393
+ body: BodyHTMLAttributes<HTMLBodyElement>
3394
+ /**
3395
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
3396
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement
3397
+ */
3398
+ br: HTMLAttributes<HTMLBRElement>
3399
+ /**
3400
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
3401
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement
3402
+ */
3403
+ button: ButtonHTMLAttributes<HTMLButtonElement>
3404
+ /**
3405
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
3406
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement
3407
+ */
3408
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement>
3409
+ /**
3410
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
3411
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement
3412
+ */
3413
+ caption: CaptionHTMLAttributes<HTMLTableCaptionElement>
3414
+ /**
3415
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
3416
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3417
+ */
3418
+ cite: HTMLAttributes<HTMLElement>
3419
+ /**
3420
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
3421
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3422
+ */
3423
+ code: HTMLAttributes<HTMLElement>
3424
+ /**
3425
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
3426
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3427
+ */
3428
+ col: ColHTMLAttributes<HTMLTableColElement>
3429
+ /**
3430
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
3431
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3432
+ */
3433
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement>
3434
+ /**
3435
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
3436
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement
3437
+ */
3438
+ data: DataHTMLAttributes<HTMLDataElement>
3439
+ /**
3440
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
3441
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement
3442
+ */
3443
+ datalist: HTMLAttributes<HTMLDataListElement>
3444
+ /**
3445
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
3446
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3447
+ */
3448
+ dd: HTMLAttributes<HTMLElement>
3449
+ /**
3450
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
3451
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3452
+ */
3453
+ del: ModHTMLAttributes<HTMLModElement>
3454
+ /**
3455
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
3456
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement
3457
+ */
3458
+ details: DetailsHtmlAttributes<HTMLDetailsElement>
3459
+ /**
3460
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
3461
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3462
+ */
3463
+ dfn: HTMLAttributes<HTMLElement>
3464
+ /**
3465
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
3466
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
3467
+ */
3468
+ dialog: DialogHtmlAttributes<HTMLDialogElement>
3469
+ /**
3470
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
3471
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
3472
+ */
3473
+ div: HTMLAttributes<HTMLDivElement>
3474
+ /**
3475
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
3476
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement
3477
+ */
3478
+ dl: HTMLAttributes<HTMLDListElement>
3479
+ /**
3480
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
3481
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3482
+ */
3483
+ dt: HTMLAttributes<HTMLElement>
3484
+ /**
3485
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
3486
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3487
+ */
3488
+ em: HTMLAttributes<HTMLElement>
3489
+ /**
3490
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
3491
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement
3492
+ */
3493
+ embed: EmbedHTMLAttributes<HTMLEmbedElement>
3494
+ /**
3495
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
3496
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement
3497
+ */
3498
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>
3499
+ /**
3500
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
3501
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3502
+ */
3503
+ figcaption: HTMLAttributes<HTMLElement>
3504
+ /**
3505
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
3506
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3507
+ */
3508
+ figure: HTMLAttributes<HTMLElement>
3509
+ /**
3510
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
3511
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3512
+ */
3513
+ footer: HTMLAttributes<HTMLElement>
3514
+ /**
3515
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
3516
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
3517
+ */
3518
+ form: FormHTMLAttributes<HTMLFormElement>
3519
+ /**
3520
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1
3521
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3522
+ */
3523
+ h1: HTMLAttributes<HTMLHeadingElement>
3524
+ /**
3525
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2
3526
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3527
+ */
3528
+ h2: HTMLAttributes<HTMLHeadingElement>
3529
+ /**
3530
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3
3531
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3532
+ */
3533
+ h3: HTMLAttributes<HTMLHeadingElement>
3534
+ /**
3535
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4
3536
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3537
+ */
3538
+ h4: HTMLAttributes<HTMLHeadingElement>
3539
+ /**
3540
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5
3541
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3542
+ */
3543
+ h5: HTMLAttributes<HTMLHeadingElement>
3544
+ /**
3545
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6
3546
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3547
+ */
3548
+ h6: HTMLAttributes<HTMLHeadingElement>
3549
+ /**
3550
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
3551
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement
3552
+ */
3553
+ head: HTMLAttributes<HTMLHeadElement>
3554
+ /**
3555
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
3556
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3557
+ */
3558
+ header: HTMLAttributes<HTMLElement>
3559
+ /**
3560
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
3561
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3562
+ */
3563
+ hgroup: HTMLAttributes<HTMLElement>
3564
+ /**
3565
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
3566
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement
3567
+ */
3568
+ hr: HTMLAttributes<HTMLHRElement>
3569
+ /**
3570
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
3571
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement
3572
+ */
3573
+ html: HTMLAttributes<HTMLHtmlElement>
3574
+ /**
3575
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
3576
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3577
+ */
3578
+ i: HTMLAttributes<HTMLElement>
3579
+ /**
3580
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
3581
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement
3582
+ */
3583
+ iframe: IframeHTMLAttributes<HTMLIFrameElement>
3584
+ /**
3585
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
3586
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
3587
+ */
3588
+ img: ImgHTMLAttributes<HTMLImageElement>
3589
+ /**
3590
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
3591
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
3592
+ */
3593
+ input: InputHTMLAttributes<HTMLInputElement>
3594
+ /**
3595
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
3596
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3597
+ */
3598
+ ins: ModHTMLAttributes<HTMLModElement>
3599
+ /**
3600
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
3601
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3602
+ */
3603
+ kbd: HTMLAttributes<HTMLElement>
3604
+ /**
3605
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
3606
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement
3607
+ */
3608
+ label: LabelHTMLAttributes<HTMLLabelElement>
3609
+ /**
3610
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
3611
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement
3612
+ */
3613
+ legend: HTMLAttributes<HTMLLegendElement>
3614
+ /**
3615
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
3616
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement
3617
+ */
3618
+ li: LiHTMLAttributes<HTMLLIElement>
3619
+ /**
3620
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
3621
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement
3622
+ */
3623
+ link: LinkHTMLAttributes<HTMLLinkElement>
3624
+ /**
3625
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
3626
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3627
+ */
3628
+ main: HTMLAttributes<HTMLElement>
3629
+ /**
3630
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
3631
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement
3632
+ */
3633
+ map: MapHTMLAttributes<HTMLMapElement>
3634
+ /**
3635
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
3636
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3637
+ */
3638
+ mark: HTMLAttributes<HTMLElement>
3639
+ /**
3640
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
3641
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement
3642
+ */
3643
+ menu: MenuHTMLAttributes<HTMLMenuElement>
3644
+ /**
3645
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
3646
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement
3647
+ */
3648
+ meta: MetaHTMLAttributes<HTMLMetaElement>
3649
+ /**
3650
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
3651
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement
3652
+ */
3653
+ meter: MeterHTMLAttributes<HTMLMeterElement>
3654
+ /**
3655
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
3656
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3657
+ */
3658
+ nav: HTMLAttributes<HTMLElement>
3659
+ /**
3660
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
3661
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3662
+ */
3663
+ noscript: HTMLAttributes<HTMLElement>
3664
+ /**
3665
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
3666
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement
3667
+ */
3668
+ object: ObjectHTMLAttributes<HTMLObjectElement>
3669
+ /**
3670
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
3671
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement
3672
+ */
3673
+ ol: OlHTMLAttributes<HTMLOListElement>
3674
+ /**
3675
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
3676
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement
3677
+ */
3678
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>
3679
+ /**
3680
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
3681
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement
3682
+ */
3683
+ option: OptionHTMLAttributes<HTMLOptionElement>
3684
+ /**
3685
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
3686
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement
3687
+ */
3688
+ output: OutputHTMLAttributes<HTMLOutputElement>
3689
+ /**
3690
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
3691
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement
3692
+ */
3693
+ p: HTMLAttributes<HTMLParagraphElement>
3694
+ /**
3695
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
3696
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement
3697
+ */
3698
+ picture: HTMLAttributes<HTMLPictureElement>
3699
+ /**
3700
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
3701
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement
3702
+ */
3703
+ pre: HTMLAttributes<HTMLPreElement>
3704
+ /**
3705
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
3706
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement
3707
+ */
3708
+ progress: ProgressHTMLAttributes<HTMLProgressElement>
3709
+ /**
3710
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
3711
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3712
+ */
3713
+ q: QuoteHTMLAttributes<HTMLQuoteElement>
3714
+ /**
3715
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
3716
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3717
+ */
3718
+ rp: HTMLAttributes<HTMLElement>
3719
+ /**
3720
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
3721
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3722
+ */
3723
+ rt: HTMLAttributes<HTMLElement>
3724
+ /**
3725
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
3726
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3727
+ */
3728
+ ruby: HTMLAttributes<HTMLElement>
3729
+ /**
3730
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
3731
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3732
+ */
3733
+ s: HTMLAttributes<HTMLElement>
3734
+ /**
3735
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
3736
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3737
+ */
3738
+ samp: HTMLAttributes<HTMLElement>
3739
+ /**
3740
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
3741
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement
3742
+ */
3743
+ script: ScriptHTMLAttributes<HTMLScriptElement>
3744
+ /**
3745
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
3746
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3747
+ */
3748
+ search: HTMLAttributes<HTMLElement>
3749
+ /**
3750
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
3751
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3752
+ */
3753
+ section: HTMLAttributes<HTMLElement>
3754
+ /**
3755
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
3756
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
3757
+ */
3758
+ select: SelectHTMLAttributes<HTMLSelectElement>
3759
+ /**
3760
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
3761
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement
3762
+ */
3763
+ slot: HTMLSlotElementAttributes<HTMLSlotElement>
3764
+ /**
3765
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
3766
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3767
+ */
3768
+ small: HTMLAttributes<HTMLElement>
3769
+ /**
3770
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
3771
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement
3772
+ */
3773
+ source: SourceHTMLAttributes<HTMLSourceElement>
3774
+ /**
3775
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
3776
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement
3777
+ */
3778
+ span: HTMLAttributes<HTMLSpanElement>
3779
+ /**
3780
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
3781
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3782
+ */
3783
+ strong: HTMLAttributes<HTMLElement>
3784
+ /**
3785
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
3786
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement
3787
+ */
3788
+ style: StyleHTMLAttributes<HTMLStyleElement>
3789
+ /**
3790
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
3791
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3792
+ */
3793
+ sub: HTMLAttributes<HTMLElement>
3794
+ /**
3795
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
3796
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3797
+ */
3798
+ summary: HTMLAttributes<HTMLElement>
3799
+ /**
3800
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
3801
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3802
+ */
3803
+ sup: HTMLAttributes<HTMLElement>
3804
+ /**
3805
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
3806
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement
3807
+ */
3808
+ table: HTMLAttributes<HTMLTableElement>
3809
+ /**
3810
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
3811
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3812
+ */
3813
+ tbody: HTMLAttributes<HTMLTableSectionElement>
3814
+ /**
3815
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
3816
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3817
+ */
3818
+ td: TdHTMLAttributes<HTMLTableCellElement>
3819
+ /**
3820
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
3821
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement
3822
+ */
3823
+ template: TemplateHTMLAttributes<HTMLTemplateElement>
3824
+ /**
3825
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
3826
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement
3827
+ */
3828
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement>
3829
+ /**
3830
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
3831
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3832
+ */
3833
+ tfoot: HTMLAttributes<HTMLTableSectionElement>
3834
+ /**
3835
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
3836
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3837
+ */
3838
+ th: ThHTMLAttributes<HTMLTableCellElement>
3839
+ /**
3840
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
3841
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3842
+ */
3843
+ thead: HTMLAttributes<HTMLTableSectionElement>
3844
+ /**
3845
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
3846
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement
3847
+ */
3848
+ time: TimeHTMLAttributes<HTMLTimeElement>
3849
+ /**
3850
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
3851
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement
3852
+ */
3853
+ title: HTMLAttributes<HTMLTitleElement>
3854
+ /**
3855
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
3856
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement
3857
+ */
3858
+ tr: HTMLAttributes<HTMLTableRowElement>
3859
+ /**
3860
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
3861
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement
3862
+ */
3863
+ track: TrackHTMLAttributes<HTMLTrackElement>
3864
+ /**
3865
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
3866
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3867
+ */
3868
+ u: HTMLAttributes<HTMLElement>
3869
+ /**
3870
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
3871
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement
3872
+ */
3873
+ ul: HTMLAttributes<HTMLUListElement>
3874
+ /**
3875
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
3876
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3877
+ */
3878
+ var: HTMLAttributes<HTMLElement>
3879
+ /**
3880
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
3881
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement
3882
+ */
3883
+ video: VideoHTMLAttributes<HTMLVideoElement>
3884
+ /**
3885
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
3886
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3887
+ */
3888
+ wbr: HTMLAttributes<HTMLElement>
3889
+ /** @url https://www.electronjs.org/docs/latest/api/webview-tag */
3890
+ webview: WebViewHTMLAttributes<HTMLElement>
3891
+ }
3892
+ /** @type {HTMLElementDeprecatedTagNameMap} */
3893
+ interface HTMLElementDeprecatedTags {
3894
+ /**
3895
+ * @deprecated
3896
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big
3897
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3898
+ */
3899
+ big: HTMLAttributes<HTMLElement>
3900
+ /**
3901
+ * @deprecated
3902
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
3903
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3904
+ */
3905
+ keygen: KeygenHTMLAttributes<HTMLUnknownElement>
3906
+ /**
3907
+ * @deprecated
3908
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
3909
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3910
+ */
3911
+ menuitem: HTMLAttributes<HTMLUnknownElement>
3912
+ /**
3913
+ * @deprecated
3914
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
3915
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement
3916
+ */
3917
+ param: ParamHTMLAttributes<HTMLParamElement>
3918
+ }
3919
+ /** @type {SVGElementTagNameMap} */
3920
+ interface SVGElementTags {
3921
+ /**
3922
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate
3923
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement
3924
+ */
3925
+ animate: AnimateSVGAttributes<SVGAnimateElement>
3926
+ /**
3927
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
3928
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement
3929
+ */
3930
+ animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement>
3931
+ /**
3932
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform
3933
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement
3934
+ */
3935
+ animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement>
3936
+ /**
3937
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
3938
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement
3939
+ */
3940
+ circle: CircleSVGAttributes<SVGCircleElement>
3941
+ /**
3942
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
3943
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement
3944
+ */
3945
+ clipPath: ClipPathSVGAttributes<SVGClipPathElement>
3946
+ /**
3947
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
3948
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement
3949
+ */
3950
+ defs: DefsSVGAttributes<SVGDefsElement>
3951
+ /**
3952
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
3953
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement
3954
+ */
3955
+ desc: DescSVGAttributes<SVGDescElement>
3956
+ /**
3957
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
3958
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement
3959
+ */
3960
+ ellipse: EllipseSVGAttributes<SVGEllipseElement>
3961
+ /**
3962
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend
3963
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement
3964
+ */
3965
+ feBlend: FeBlendSVGAttributes<SVGFEBlendElement>
3966
+ /**
3967
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix
3968
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement
3969
+ */
3970
+ feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement>
3971
+ /**
3972
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
3973
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElemen
3974
+ */
3975
+ feComponentTransfer: FeComponentTransferSVGAttributes<
3976
+ SVGFEComponentTransferElement
3977
+ >
3978
+ /**
3979
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
3980
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement
3981
+ */
3982
+ feComposite: FeCompositeSVGAttributes<SVGFECompositeElement>
3983
+ /**
3984
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix
3985
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement
3986
+ */
3987
+ feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement>
3988
+ /**
3989
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
3990
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement
3991
+ */
3992
+ feDiffuseLighting: FeDiffuseLightingSVGAttributes<
3993
+ SVGFEDiffuseLightingElement
3994
+ >
3995
+ /**
3996
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
3997
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement
3998
+ */
3999
+ feDisplacementMap: FeDisplacementMapSVGAttributes<
4000
+ SVGFEDisplacementMapElement
4001
+ >
4002
+ /**
4003
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
4004
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
4005
+ */
4006
+ feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement>
4007
+ /**
4008
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow
4009
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement
4010
+ */
4011
+ feDropShadow: FeDropShadowSVGAttributes<SVGFEDropShadowElement>
4012
+ /**
4013
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood
4014
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement
4015
+ */
4016
+ feFlood: FeFloodSVGAttributes<SVGFEFloodElement>
4017
+ /**
4018
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA
4019
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement
4020
+ */
4021
+ feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement>
4022
+ /**
4023
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB
4024
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement
4025
+ */
4026
+ feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement>
4027
+ /**
4028
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG
4029
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement
4030
+ */
4031
+ feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement>
4032
+ /**
4033
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR
4034
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement
4035
+ */
4036
+ feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement>
4037
+ /**
4038
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur
4039
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement
4040
+ */
4041
+ feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement>
4042
+ /**
4043
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage
4044
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement
4045
+ */
4046
+ feImage: FeImageSVGAttributes<SVGFEImageElement>
4047
+ /**
4048
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge
4049
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement
4050
+ */
4051
+ feMerge: FeMergeSVGAttributes<SVGFEMergeElement>
4052
+ /**
4053
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode
4054
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement
4055
+ */
4056
+ feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement>
4057
+ /**
4058
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology
4059
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement
4060
+ */
4061
+ feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement>
4062
+ /**
4063
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset
4064
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement
4065
+ */
4066
+ feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement>
4067
+ /**
4068
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight
4069
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement
4070
+ */
4071
+ fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement>
4072
+ /**
4073
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
4074
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement
4075
+ */
4076
+ feSpecularLighting: FeSpecularLightingSVGAttributes<
4077
+ SVGFESpecularLightingElement
4078
+ >
4079
+ /**
4080
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
4081
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement
4082
+ */
4083
+ feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement>
4084
+ /**
4085
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile
4086
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement
4087
+ */
4088
+ feTile: FeTileSVGAttributes<SVGFETileElement>
4089
+ /**
4090
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence
4091
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement
4092
+ */
4093
+ feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement>
4094
+ /**
4095
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
4096
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement
4097
+ */
4098
+ filter: FilterSVGAttributes<SVGFilterElement>
4099
+ /**
4100
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
4101
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement
4102
+ */
4103
+ foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement>
4104
+ /**
4105
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
4106
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement
4107
+ */
4108
+ g: GSVGAttributes<SVGGElement>
4109
+ /**
4110
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
4111
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement
4112
+ */
4113
+ image: ImageSVGAttributes<SVGImageElement>
4114
+ /**
4115
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line
4116
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement
4117
+ */
4118
+ line: LineSVGAttributes<SVGLineElement>
4119
+ /**
4120
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
4121
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement
4122
+ */
4123
+ linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement>
4124
+ /**
4125
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
4126
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement
4127
+ */
4128
+ marker: MarkerSVGAttributes<SVGMarkerElement>
4129
+ /**
4130
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask
4131
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement
4132
+ */
4133
+ mask: MaskSVGAttributes<SVGMaskElement>
4134
+ /**
4135
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata
4136
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement
4137
+ */
4138
+ metadata: MetadataSVGAttributes<SVGMetadataElement>
4139
+ /**
4140
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath
4141
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement
4142
+ */
4143
+ mpath: MPathSVGAttributes<SVGMPathElement>
4144
+ /**
4145
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
4146
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement
4147
+ */
4148
+ path: PathSVGAttributes<SVGPathElement>
4149
+ /**
4150
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern
4151
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement
4152
+ */
4153
+ pattern: PatternSVGAttributes<SVGPatternElement>
4154
+ /**
4155
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
4156
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement
4157
+ */
4158
+ polygon: PolygonSVGAttributes<SVGPolygonElement>
4159
+ /**
4160
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
4161
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement
4162
+ */
4163
+ polyline: PolylineSVGAttributes<SVGPolylineElement>
4164
+ /**
4165
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient
4166
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement
4167
+ */
4168
+ radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement>
4169
+ /**
4170
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
4171
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement
4172
+ */
4173
+ rect: RectSVGAttributes<SVGRectElement>
4174
+ /**
4175
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set
4176
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement
4177
+ */
4178
+ set: SetSVGAttributes<SVGSetElement>
4179
+ /**
4180
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop
4181
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement
4182
+ */
4183
+ stop: StopSVGAttributes<SVGStopElement>
4184
+ /**
4185
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
4186
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement
4187
+ */
4188
+ svg: SvgSVGAttributes<SVGSVGElement>
4189
+ /**
4190
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch
4191
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement
4192
+ */
4193
+ switch: SwitchSVGAttributes<SVGSwitchElement>
4194
+ /**
4195
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol
4196
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement
4197
+ */
4198
+ symbol: SymbolSVGAttributes<SVGSymbolElement>
4199
+ /**
4200
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
4201
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement
4202
+ */
4203
+ text: TextSVGAttributes<SVGTextElement>
4204
+ /**
4205
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath
4206
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement
4207
+ */
4208
+ textPath: TextPathSVGAttributes<SVGTextPathElement>
4209
+ /**
4210
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan
4211
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement
4212
+ */
4213
+ tspan: TSpanSVGAttributes<SVGTSpanElement>
4214
+ /**
4215
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
4216
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement
4217
+ */
4218
+ use: UseSVGAttributes<SVGUseElement>
4219
+ /**
4220
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view
4221
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement
4222
+ */
4223
+ view: ViewSVGAttributes<SVGViewElement>
4224
+ }
4225
+
4226
+ interface MathMLElementTags {
4227
+ /**
4228
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation
4229
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4230
+ */
4231
+ annotation: MathMLAnnotationElementAttributes<MathMLElement>
4232
+ /**
4233
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation-xml
4234
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4235
+ */
4236
+ "annotation-xml": MathMLAnnotationXmlElementAttributes<MathMLElement>
4237
+ /**
4238
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math
4239
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4240
+ */
4241
+ math: MathMLMathElementAttributes<MathMLElement>
4242
+ /**
4243
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror
4244
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4245
+ */
4246
+ merror: MathMLMerrorElementAttributes<MathMLElement>
4247
+ /**
4248
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac
4249
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4250
+ */
4251
+ mfrac: MathMLMfracElementAttributes<MathMLElement>
4252
+ /**
4253
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi
4254
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4255
+ */
4256
+ mi: MathMLMiElementAttributes<MathMLElement>
4257
+ /**
4258
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts
4259
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4260
+ */
4261
+ mmultiscripts: MathMLMmultiscriptsElementAttributes<MathMLElement>
4262
+ /**
4263
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mn
4264
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4265
+ */
4266
+ mn: MathMLMnElementAttributes<MathMLElement>
4267
+ /**
4268
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo
4269
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4270
+ */
4271
+ mo: MathMLMoElementAttributes<MathMLElement>
4272
+ /**
4273
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mover
4274
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4275
+ */
4276
+ mover: MathMLMoverElementAttributes<MathMLElement>
4277
+ /**
4278
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded
4279
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4280
+ */
4281
+ mpadded: MathMLMpaddedElementAttributes<MathMLElement>
4282
+ /**
4283
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mphantom
4284
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4285
+ */
4286
+ mphantom: MathMLMphantomElementAttributes<MathMLElement>
4287
+ /**
4288
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mprescripts
4289
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4290
+ */
4291
+ mprescripts: MathMLMprescriptsElementAttributes<MathMLElement>
4292
+ /**
4293
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot
4294
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4295
+ */
4296
+ mroot: MathMLMrootElementAttributes<MathMLElement>
4297
+ /**
4298
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mrow
4299
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4300
+ */
4301
+ mrow: MathMLMrowElementAttributes<MathMLElement>
4302
+ /**
4303
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms
4304
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4305
+ */
4306
+ ms: MathMLMsElementAttributes<MathMLElement>
4307
+ /**
4308
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace
4309
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4310
+ */
4311
+ mspace: MathMLMspaceElementAttributes<MathMLElement>
4312
+ /**
4313
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt
4314
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4315
+ */
4316
+ msqrt: MathMLMsqrtElementAttributes<MathMLElement>
4317
+ /**
4318
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle
4319
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4320
+ */
4321
+ mstyle: MathMLMstyleElementAttributes<MathMLElement>
4322
+ /**
4323
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub
4324
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4325
+ */
4326
+ msub: MathMLMsubElementAttributes<MathMLElement>
4327
+ /**
4328
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup
4329
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4330
+ */
4331
+ msubsup: MathMLMsubsupElementAttributes<MathMLElement>
4332
+ /**
4333
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup
4334
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4335
+ */
4336
+ msup: MathMLMsupElementAttributes<MathMLElement>
4337
+ /**
4338
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable
4339
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4340
+ */
4341
+ mtable: MathMLMtableElementAttributes<MathMLElement>
4342
+ /**
4343
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd
4344
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4345
+ */
4346
+ mtd: MathMLMtdElementAttributes<MathMLElement>
4347
+ /**
4348
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtext
4349
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4350
+ */
4351
+ mtext: MathMLMtextElementAttributes<MathMLElement>
4352
+ /**
4353
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr
4354
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4355
+ */
4356
+ mtr: MathMLMtrElementAttributes<MathMLElement>
4357
+ /**
4358
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munder
4359
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4360
+ */
4361
+ munder: MathMLMunderElementAttributes<MathMLElement>
4362
+ /**
4363
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munderover
4364
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4365
+ */
4366
+ munderover: MathMLMunderoverElementAttributes<MathMLElement>
4367
+ /**
4368
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics
4369
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4370
+ */
4371
+ semantics: MathMLSemanticsElementAttributes<MathMLElement>
4372
+ /**
4373
+ * @non-standard
4374
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose
4375
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4376
+ */
4377
+ menclose: MathMLMencloseElementAttributes<MathMLElement>
4378
+ /**
4379
+ * @deprecated
4380
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction
4381
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4382
+ */
4383
+ maction: MathMLMactionElementAttributes<MathMLElement>
4384
+ /**
4385
+ * @deprecated
4386
+ * @non-standard
4387
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced
4388
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4389
+ */
4390
+ mfenced: MathMLMfencedElementAttributes<MathMLElement>
4391
+ }
4392
+
4393
+ export interface IntrinsicElements
4394
+ extends
4395
+ HTMLElementTags,
4396
+ HTMLElementDeprecatedTags,
4397
+ SVGElementTags,
4398
+ MathMLElementTags
4399
+ {
4400
+ [elemName: string]: DOMAttributes<HTMLElement>
4401
+ }
4402
+ }