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