solid-js 2.0.0-beta.1 → 2.0.0-beta.10

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