@solidjs/web 2.0.0-rc.7 → 2.0.0-rc.8

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