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