marko 5.25.4 → 5.25.5

Sign up to get free protection for your applications and to get access to all the features.
package/tags-html.d.ts ADDED
@@ -0,0 +1,4598 @@
1
+ import * as csstype from "csstype";
2
+
3
+ /**
4
+ * Potential improvements:
5
+ * - Share properties between input interfaces
6
+ * - Add more interfaces of `Link` which restrict specific attributes based on type.
7
+ * - Isolate some event handlers to specific elements (eg media events).
8
+ * - Create more interface for individual aria roles.
9
+ */
10
+
11
+ declare global {
12
+ namespace Marko {
13
+ interface NativeTags {
14
+ a: Tag<_.Marko·Inputᐸʺaʺᐳ>;
15
+ abbr: Tag<_.Marko·Inputᐸʺabbrʺᐳ>;
16
+ address: Tag<_.Marko·Inputᐸʺaddressʺᐳ>;
17
+ area: Tag<_.Marko·Inputᐸʺareaʺᐳ>;
18
+ article: Tag<_.Marko·Inputᐸʺarticleʺᐳ>;
19
+ aside: Tag<_.Marko·Inputᐸʺasideʺᐳ>;
20
+ audio: Tag<_.Marko·Inputᐸʺaudioʺᐳ>;
21
+ b: Tag<_.Marko·Inputᐸʺbʺᐳ>;
22
+ base: Tag<_.Marko·Inputᐸʺbaseʺᐳ>;
23
+ bdi: Tag<_.Marko·Inputᐸʺbdiʺᐳ>;
24
+ bdo: Tag<_.Marko·Inputᐸʺbdoʺᐳ>;
25
+ blockquote: Tag<_.Marko·Inputᐸʺblockquoteʺᐳ>;
26
+ body: Tag<_.Marko·Inputᐸʺbodyʺᐳ>;
27
+ br: Tag<_.Marko·Inputᐸʺbrʺᐳ>;
28
+ button: Tag<_.Marko·Inputᐸʺbuttonʺᐳ>;
29
+ canvas: Tag<_.Marko·Inputᐸʺcanvasʺᐳ>;
30
+ caption: Tag<_.Marko·Inputᐸʺcaptionʺᐳ>;
31
+ cite: Tag<_.Marko·Inputᐸʺciteʺᐳ>;
32
+ code: Tag<_.Marko·Inputᐸʺcodeʺᐳ>;
33
+ col: Tag<_.Marko·Inputᐸʺcolʺᐳ>;
34
+ colgroup: Tag<_.Marko·Inputᐸʺcolgroupʺᐳ>;
35
+ data: Tag<_.Marko·Inputᐸʺdataʺᐳ>;
36
+ datalist: Tag<_.Marko·Inputᐸʺdatalistʺᐳ>;
37
+ dd: Tag<_.Marko·Inputᐸʺddʺᐳ>;
38
+ del: Tag<_.Marko·Inputᐸʺdelʺᐳ>;
39
+ details: Tag<_.Marko·Inputᐸʺdetailsʺᐳ>;
40
+ dfn: Tag<_.Marko·Inputᐸʺdfnʺᐳ>;
41
+ dialog: Tag<_.Marko·Inputᐸʺdialogʺᐳ>;
42
+ div: Tag<_.Marko·Inputᐸʺdivʺᐳ>;
43
+ dl: Tag<_.Marko·Inputᐸʺdlʺᐳ>;
44
+ dt: Tag<_.Marko·Inputᐸʺdtʺᐳ>;
45
+ em: Tag<_.Marko·Inputᐸʺemʺᐳ>;
46
+ embed: Tag<_.Marko·Inputᐸʺembedʺᐳ>;
47
+ fieldset: Tag<_.Marko·Inputᐸʺfieldsetʺᐳ>;
48
+ figcaption: Tag<_.Marko·Inputᐸʺfigcaptionʺᐳ>;
49
+ figure: Tag<_.Marko·Inputᐸʺfigureʺᐳ>;
50
+ footer: Tag<_.Marko·Inputᐸʺfooterʺᐳ>;
51
+ form: Tag<_.Marko·Inputᐸʺformʺᐳ>;
52
+ h1: Tag<_.Marko·Inputᐸʺh1ʺᐳ>;
53
+ h2: Tag<_.Marko·Inputᐸʺh2ʺᐳ>;
54
+ h3: Tag<_.Marko·Inputᐸʺh3ʺᐳ>;
55
+ h4: Tag<_.Marko·Inputᐸʺh4ʺᐳ>;
56
+ h5: Tag<_.Marko·Inputᐸʺh5ʺᐳ>;
57
+ h6: Tag<_.Marko·Inputᐸʺh6ʺᐳ>;
58
+ head: Tag<_.Marko·Inputᐸʺheadʺᐳ>;
59
+ header: Tag<_.Marko·Inputᐸʺheaderʺᐳ>;
60
+ hgroup: Tag<_.Marko·Inputᐸʺhgroupʺᐳ>;
61
+ hr: Tag<_.Marko·Inputᐸʺhrʺᐳ>;
62
+ html: Tag<_.Marko·Inputᐸʺhtmlʺᐳ>;
63
+ i: Tag<_.Marko·Inputᐸʺiʺᐳ>;
64
+ iframe: Tag<_.Marko·Inputᐸʺiframeʺᐳ>;
65
+ img: Tag<_.Marko·Inputᐸʺimgʺᐳ>;
66
+ input: Tag<_.Marko·Inputᐸʺinputʺᐳ>;
67
+ ins: Tag<_.Marko·Inputᐸʺinsʺᐳ>;
68
+ kbd: Tag<_.Marko·Inputᐸʺkbdʺᐳ>;
69
+ label: Tag<_.Marko·Inputᐸʺlabelʺᐳ>;
70
+ legend: Tag<_.Marko·Inputᐸʺlegendʺᐳ>;
71
+ li: Tag<_.Marko·Inputᐸʺliʺᐳ>;
72
+ link: Tag<_.Marko·Inputᐸʺlinkʺᐳ>;
73
+ main: Tag<_.Marko·Inputᐸʺmainʺᐳ>;
74
+ map: Tag<_.Marko·Inputᐸʺmapʺᐳ>;
75
+ mark: Tag<_.Marko·Inputᐸʺmarkʺᐳ>;
76
+ menu: Tag<_.Marko·Inputᐸʺmenuʺᐳ>;
77
+ meta: Tag<_.Marko·Inputᐸʺmetaʺᐳ>;
78
+ meter: Tag<_.Marko·Inputᐸʺmeterʺᐳ>;
79
+ nav: Tag<_.Marko·Inputᐸʺnavʺᐳ>;
80
+ noscript: Tag<_.Marko·Inputᐸʺnoscriptʺᐳ>;
81
+ object: Tag<_.Marko·Inputᐸʺobjectʺᐳ>;
82
+ ol: Tag<_.Marko·Inputᐸʺolʺᐳ>;
83
+ optgroup: Tag<_.Marko·Inputᐸʺoptgroupʺᐳ>;
84
+ option: Tag<_.Marko·Inputᐸʺoptionʺᐳ>;
85
+ output: Tag<_.Marko·Inputᐸʺoutputʺᐳ>;
86
+ p: Tag<_.Marko·Inputᐸʺpʺᐳ>;
87
+ picture: Tag<_.Marko·Inputᐸʺpictureʺᐳ>;
88
+ pre: Tag<_.Marko·Inputᐸʺpreʺᐳ>;
89
+ progress: Tag<_.Marko·Inputᐸʺprogressʺᐳ>;
90
+ q: Tag<_.Marko·Inputᐸʺqʺᐳ>;
91
+ rp: Tag<_.Marko·Inputᐸʺrpʺᐳ>;
92
+ rt: Tag<_.Marko·Inputᐸʺrtʺᐳ>;
93
+ ruby: Tag<_.Marko·Inputᐸʺrubyʺᐳ>;
94
+ s: Tag<_.Marko·Inputᐸʺsʺᐳ>;
95
+ samp: Tag<_.Marko·Inputᐸʺsampʺᐳ>;
96
+ script: Tag<_.Marko·Inputᐸʺscriptʺᐳ>;
97
+ section: Tag<_.Marko·Inputᐸʺsectionʺᐳ>;
98
+ select: Tag<_.Marko·Inputᐸʺselectʺᐳ>;
99
+ slot: Tag<_.Marko·Inputᐸʺslotʺᐳ>;
100
+ small: Tag<_.Marko·Inputᐸʺsmallʺᐳ>;
101
+ source: Tag<_.Marko·Inputᐸʺsourceʺᐳ>;
102
+ span: Tag<_.Marko·Inputᐸʺspanʺᐳ>;
103
+ strong: Tag<_.Marko·Inputᐸʺstrongʺᐳ>;
104
+ style: Tag<_.Marko·Inputᐸʺstyleʺᐳ>;
105
+ sub: Tag<_.Marko·Inputᐸʺsubʺᐳ>;
106
+ summary: Tag<_.Marko·Inputᐸʺsummaryʺᐳ>;
107
+ sup: Tag<_.Marko·Inputᐸʺsupʺᐳ>;
108
+ table: Tag<_.Marko·Inputᐸʺtableʺᐳ>;
109
+ tbody: Tag<_.Marko·Inputᐸʺtbodyʺᐳ>;
110
+ td: Tag<_.Marko·Inputᐸʺtdʺᐳ>;
111
+ template: Tag<_.Marko·Inputᐸʺtemplateʺᐳ>;
112
+ textarea: Tag<_.Marko·Inputᐸʺtextareaʺᐳ>;
113
+ tfoot: Tag<_.Marko·Inputᐸʺtfootʺᐳ>;
114
+ th: Tag<_.Marko·Inputᐸʺthʺᐳ>;
115
+ thead: Tag<_.Marko·Inputᐸʺtheadʺᐳ>;
116
+ time: Tag<_.Marko·Inputᐸʺtimeʺᐳ>;
117
+ title: Tag<_.Marko·Inputᐸʺtitleʺᐳ>;
118
+ tr: Tag<_.Marko·Inputᐸʺtrʺᐳ>;
119
+ track: Tag<_.Marko·Inputᐸʺtrackʺᐳ>;
120
+ u: Tag<_.Marko·Inputᐸʺuʺᐳ>;
121
+ ul: Tag<_.Marko·Inputᐸʺulʺᐳ>;
122
+ var: Tag<_.Marko·Inputᐸʺvarʺᐳ>;
123
+ video: Tag<_.Marko·Inputᐸʺvideoʺᐳ>;
124
+ wbr: Tag<_.Marko·Inputᐸʺwbrʺᐳ>;
125
+ }
126
+
127
+ namespace HTML {
128
+ interface A extends HTMLAttributes<HTMLAnchorElement> {
129
+ /**
130
+ * Specifies whether to download the resource, or the name of the file to download.
131
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download
132
+ */
133
+ download?: AttrBooleanOrString;
134
+
135
+ /**
136
+ * Specifies the URL of the linked resource.
137
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-href
138
+ */
139
+ href?: AttrString;
140
+
141
+ /**
142
+ * Specifies the language of the linked resource.
143
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-hreflang
144
+ */
145
+ hreflang?: AttrString;
146
+
147
+ /**
148
+ * Specifies the intended media type for the linked resource.
149
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-link-media
150
+ */
151
+ media?: AttrString;
152
+
153
+ /**
154
+ * Specifies a space-separated list of URLs to send a ping request to when the link is followed.
155
+ * @see https://html.spec.whatwg.org/multipage/links.html#ping
156
+ */
157
+ ping?: AttrString;
158
+
159
+ /**
160
+ * Specifies the referrer policy for the linked resource.
161
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-referrerpolicy
162
+ */
163
+ referrerpolicy?: AttrReferrerPolicy;
164
+
165
+ /**
166
+ * Specifies the relationship between the current document and the linked resource.
167
+ * @see https://html.spec.whatwg.org/multipage/links.html#linkTypes
168
+ */
169
+ rel?:
170
+ | AttrMissing
171
+ | "alternate"
172
+ | "author"
173
+ | "bookmark"
174
+ | "external"
175
+ | "help"
176
+ | "license"
177
+ | "next"
178
+ | "nofollow"
179
+ | "noopener"
180
+ | "noreferrer"
181
+ | "opener"
182
+ | "prev"
183
+ | "search"
184
+ | "tag"
185
+ | (string & {});
186
+
187
+ /**
188
+ * Specifies the browsing context for the linked resource.
189
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-target
190
+ */
191
+ target?: AttrTarget;
192
+
193
+ /**
194
+ * Specifies the MIME type of the linked resource.
195
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-type
196
+ */
197
+ type?: AttrString;
198
+
199
+ /** @deprecated */
200
+ charset?: AttrString;
201
+
202
+ /** @deprecated */
203
+ coords?: AttrString;
204
+
205
+ /** @deprecated */
206
+ name?: AttrString;
207
+
208
+ /** @deprecated */
209
+ rev?: AttrString;
210
+
211
+ /** @deprecated */
212
+ shape?: AttrString;
213
+ }
214
+
215
+ interface Abbr extends HTMLAttributes<HTMLElement> {}
216
+ interface Address extends HTMLAttributes<HTMLElement> {}
217
+ interface Area extends HTMLAttributes<HTMLAreaElement> {
218
+ /**
219
+ * Specifies an alternative text for the area.
220
+ * @see https://html.spec.whatwg.org/multipage/image-maps.html#attr-area-alt
221
+ */
222
+ alt?: AttrString;
223
+
224
+ /**
225
+ * Specifies the coordinates of the area's shape.
226
+ * @see https://html.spec.whatwg.org/multipage/image-maps.html#attr-area-coords
227
+ */
228
+ coords?: AttrString;
229
+
230
+ /**
231
+ * Specifies whether to download the resource, or the name of the file to download.
232
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download
233
+ */
234
+ download?: A["download"];
235
+
236
+ /**
237
+ * Specifies the URL of the linked resource.
238
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-href
239
+ */
240
+ href?: A["href"];
241
+
242
+ /**
243
+ * Specifies the language of the linked resource.
244
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-hreflang
245
+ */
246
+ hreflang?: A["hreflang"];
247
+
248
+ /**
249
+ * Specifies a space-separated list of URLs to send a ping request to when the link is followed.
250
+ * @see https://html.spec.whatwg.org/multipage/links.html#ping
251
+ */
252
+ ping?: A["ping"];
253
+
254
+ /**
255
+ * Specifies the referrer policy for the linked resource.
256
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-referrerpolicy
257
+ */
258
+ referrerpolicy?: A["referrerpolicy"];
259
+
260
+ /**
261
+ * Specifies the relationship between the current document and the linked resource.
262
+ * @see https://html.spec.whatwg.org/multipage/links.html#linkTypes
263
+ */
264
+ rel?: A["rel"];
265
+
266
+ /**
267
+ * Specifies the shape of the clickable region on the area.
268
+ * @see https://html.spec.whatwg.org/multipage/image-maps.html#attr-area-shape
269
+ */
270
+ shape?: AttrMissing | "rect" | "circle" | "poly" | "default";
271
+
272
+ /**
273
+ * Specifies the browsing context for the linked resource.
274
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-target
275
+ */
276
+ target?: A["target"];
277
+
278
+ /** @deprecated */
279
+ name?: AttrString;
280
+
281
+ /** @deprecated */
282
+ nohref?: AttrString;
283
+
284
+ /** @deprecated */
285
+ type?: AttrString;
286
+ }
287
+ interface Article extends HTMLAttributes<HTMLElement> {}
288
+ interface Aside extends HTMLAttributes<HTMLElement> {}
289
+ interface Audio extends HTMLAttributes<HTMLAudioElement> {
290
+ /**
291
+ * Specifies whether the audio should start playing automatically.
292
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-autoplay
293
+ */
294
+ autoplay?: AttrBoolean;
295
+
296
+ /**
297
+ * Specifies whether the audio controls should be displayed.
298
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-controls
299
+ */
300
+ controls?: AttrBoolean;
301
+
302
+ /**
303
+ * Specifies the controls to be shown or hidden on the audio player.
304
+ * @see https://wicg.github.io/controls-list/explainer.html
305
+ */
306
+ controlslist?:
307
+ | AttrMissing
308
+ | "nodownload"
309
+ | "nofullscreen"
310
+ | "noplaybackrate"
311
+ | "noremoteplayback"
312
+ | (string & {});
313
+
314
+ /**
315
+ * Specifies the CORS settings for the audio resource.
316
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-crossorigin
317
+ */
318
+ crossorigin?: AttrCrossOrigin;
319
+
320
+ /**
321
+ * Specifies whether to disable remote playback of the audio.
322
+ * @see https://www.w3.org/TR/remote-playback/#the-disableremoteplayback-attribute
323
+ */
324
+ disableremoteplayback?: AttrBoolean;
325
+
326
+ /**
327
+ * Specifies whether the audio should start over again when finished.
328
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-loop
329
+ */
330
+ loop?: AttrBoolean;
331
+
332
+ /**
333
+ * Specifies whether the audio should be muted by default.
334
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-muted
335
+ */
336
+ muted?: AttrBoolean;
337
+
338
+ /**
339
+ * Specifies the type of preloading for the audio.
340
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-preload
341
+ */
342
+ preload?: AttrBoolean | "none" | "metadata" | "auto";
343
+
344
+ /**
345
+ * Specifies the URL of the audio resource.
346
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-src
347
+ */
348
+ src?: AttrString;
349
+ }
350
+
351
+ interface B extends HTMLAttributes<HTMLElement> {}
352
+ interface Base extends HTMLAttributes<HTMLBaseElement> {
353
+ /**
354
+ * Specifies the base URL for resolving relative URLs within the document.
355
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-base-href
356
+ */
357
+ href?: AttrString;
358
+
359
+ /**
360
+ * Specifies the default browsing context for links and forms in the document.
361
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-base-target
362
+ */
363
+ target?: AttrTarget;
364
+ }
365
+ interface BDI extends HTMLAttributes<HTMLElement> {}
366
+ interface BDO extends HTMLAttributes<HTMLElement> {}
367
+ interface BlockQuote extends HTMLAttributes<HTMLQuoteElement> {
368
+ /**
369
+ * Specifies the URL of the source document or quoted content.
370
+ * @see https://html.spec.whatwg.org/multipage/grouping-content.html#attr-blockquote-cite
371
+ */
372
+ cite?: AttrString;
373
+ }
374
+ interface Body extends HTMLAttributes<HTMLBodyElement> {
375
+ /**
376
+ * Fires after printing the document.
377
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-afterprint
378
+ */
379
+ onAfterPrint?: AttrEventHandler<Event, HTMLBodyElement>;
380
+ "on-afterprint"?: this["onAfterPrint"];
381
+
382
+ /**
383
+ * Fires before printing the document.
384
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeprint
385
+ */
386
+ onBeforePrint?: AttrEventHandler<Event, HTMLBodyElement>;
387
+ "on-beforeprint"?: this["onBeforePrint"];
388
+
389
+ /**
390
+ * Fired when the page is about to be unloaded, in case the page would like to show a warning prompt.
391
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeunload
392
+ */
393
+ onBeforeUnload?: AttrEventHandler<BeforeUnloadEvent, HTMLBodyElement>;
394
+ "on-beforeunload"?: this["onBeforeUnload"];
395
+
396
+ /**
397
+ * Fired when the fragment part of the document's URL changes.
398
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-hashchange
399
+ */
400
+ onHashChange?: AttrEventHandler<HashChangeEvent, HTMLBodyElement>;
401
+ "on-hashchange"?: this["onHashChange"];
402
+
403
+ /**
404
+ * Fired when the user's preferred languages change.
405
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-languagechange
406
+ */
407
+ onLanguageChange?: AttrEventHandler<Event, HTMLBodyElement>;
408
+ "on-languagechange"?: this["onLanguageChange"];
409
+
410
+ /**
411
+ * Fired when the window receives a message.
412
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-message
413
+ */
414
+ onMessage?: AttrEventHandler<MessageEvent, HTMLBodyElement>;
415
+ "on-message"?: this["onMessage"];
416
+
417
+ /**
418
+ * Fired when the window receives an error message.
419
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-messageerror
420
+ */
421
+ onMessageError?: AttrEventHandler<MessageEvent, HTMLBodyElement>;
422
+ "on-messageerror"?: this["onMessageError"];
423
+
424
+ /**
425
+ * Fired when the network connection is lost.
426
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-offline
427
+ */
428
+ onOffline?: AttrEventHandler<Event, HTMLBodyElement>;
429
+ "on-offline"?: this["onOffline"];
430
+
431
+ /**
432
+ * Fired when the network connection is recovered.
433
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-online
434
+ */
435
+ onOnline?: AttrEventHandler<Event, HTMLBodyElement>;
436
+ "on-online"?: this["onOnline"];
437
+
438
+ /**
439
+ * Fired when the page's session history entry stops being the active entry.
440
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-pagehide
441
+ */
442
+ onPageHide?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
443
+ "on-pagehide"?: this["onPageHide"];
444
+
445
+ /**
446
+ * Fired when the page's session history entry becomes the active entry.
447
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-pageshow
448
+ */
449
+ onPageShow?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
450
+ "on-pageshow"?: this["onPageShow"];
451
+
452
+ /**
453
+ * Fired when the window's session history is popped.
454
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-popstate
455
+ */
456
+ onPopState?: AttrEventHandler<PopStateEvent, HTMLBodyElement>;
457
+ "on-popstate"?: this["onPopState"];
458
+
459
+ /**
460
+ * Fires when a previously-unhandled promise rejection becomes handled.
461
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-rejectionhandled
462
+ */
463
+ onRejectionHandled?: AttrEventHandler<Event, HTMLBodyElement>;
464
+ "on-rejectionhandled"?: this["onRejectionHandled"];
465
+
466
+ /**
467
+ * Fired when the corresponding localStorage or sessionStorage storage areas change.
468
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-storage
469
+ */
470
+ onStorage?: AttrEventHandler<StorageEvent, HTMLBodyElement>;
471
+ "on-storage"?: this["onStorage"];
472
+
473
+ /**
474
+ * Fired when a promise rejection goes unhandled.
475
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-unhandledrejection
476
+ */
477
+ onUnhandledRejection?: AttrEventHandler<
478
+ PromiseRejectionEvent,
479
+ HTMLBodyElement
480
+ >;
481
+ "on-unhandledrejection"?: this["onUnhandledRejection"];
482
+
483
+ /**
484
+ * Fired when the page is going away.
485
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-unload
486
+ */
487
+ onUnload?: AttrEventHandler<Event, HTMLBodyElement>;
488
+ "on-unload"?: this["onUnload"];
489
+
490
+ /** @deprecated */
491
+ alink?: AttrString;
492
+
493
+ /** @deprecated */
494
+ background?: AttrString;
495
+
496
+ /** @deprecated */
497
+ bgcolor?: AttrString;
498
+
499
+ /** @deprecated */
500
+ link?: AttrString;
501
+
502
+ /** @deprecated */
503
+ text?: AttrString;
504
+
505
+ /** @deprecated */
506
+ vlink?: AttrString;
507
+
508
+ /** @deprecated */
509
+ bottommargin?: AttrStringOrNumber;
510
+
511
+ /** @deprecated */
512
+ leftmargin?: AttrStringOrNumber;
513
+
514
+ /** @deprecated */
515
+ rightmargin?: AttrStringOrNumber;
516
+
517
+ /** @deprecated */
518
+ topmargin?: AttrStringOrNumber;
519
+ }
520
+
521
+ interface Br extends HTMLAttributes<HTMLBRElement> {
522
+ /** @deprecated */
523
+ clear?: AttrString;
524
+ }
525
+ interface Button extends HTMLAttributes<HTMLButtonElement> {
526
+ /**
527
+ * Specifies whether the button should be disabled.
528
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
529
+ */
530
+ disabled?: AttrBoolean;
531
+
532
+ /**
533
+ * Specifies the form element associated with the button.
534
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fae-form
535
+ */
536
+ form?: AttrString;
537
+
538
+ /**
539
+ * Specifies the URL of the form's action when the button is clicked.
540
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fs-formaction
541
+ */
542
+ formaction?: Form["action"];
543
+
544
+ /**
545
+ * Specifies the enctype attribute for the form when the button is clicked.
546
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fs-formenctype
547
+ */
548
+ formenctype?: Form["enctype"];
549
+
550
+ /**
551
+ * Specifies the method attribute for the form when the button is clicked.
552
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fs-formmethod
553
+ */
554
+ formmethod?: Form["method"];
555
+
556
+ /**
557
+ * Specifies whether the form should not validate when the button is clicked.
558
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fs-formnovalidate
559
+ */
560
+ formnovalidate?: Form["novalidate"];
561
+
562
+ /**
563
+ * Specifies the target attribute for the form when the button is clicked.
564
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fs-formtarget
565
+ */
566
+ formtarget?: Form["target"];
567
+
568
+ /**
569
+ * Specifies the name of the button.
570
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
571
+ */
572
+ name?: AttrString;
573
+
574
+ /**
575
+ * Specifies the type of the button.
576
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type
577
+ */
578
+ type?: AttrMissing | "submit" | "reset" | "button";
579
+
580
+ /**
581
+ * Specifies the value of the button.
582
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-value
583
+ */
584
+ value?: AttrString;
585
+
586
+ /**
587
+ * Specifies the target element for the popover.
588
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
589
+ */
590
+ popovertarget?: AttrString;
591
+
592
+ /**
593
+ * Specifies the action to perform on the popover target.
594
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
595
+ */
596
+ popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
597
+ }
598
+ interface Canvas extends HTMLAttributes<HTMLCanvasElement> {
599
+ /**
600
+ * Specifies the height of the canvas element.
601
+ * @see https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-height
602
+ */
603
+ height?: AttrStringOrNumber;
604
+
605
+ /**
606
+ * Specifies the width of the canvas element.
607
+ * @see https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-width
608
+ */
609
+ width?: AttrStringOrNumber;
610
+ }
611
+ interface Caption extends HTMLAttributes<HTMLTableCaptionElement> {
612
+ /** @deprecated */
613
+ align?: AttrString;
614
+ }
615
+ interface Cite extends HTMLAttributes<HTMLElement> {}
616
+ interface Code extends HTMLAttributes<HTMLElement> {}
617
+ interface Col extends HTMLAttributes<HTMLTableColElement> {
618
+ /**
619
+ * Specifies how many columns in the table the `<col>` element spans.
620
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-col-span
621
+ */
622
+ span?: AttrStringOrNumber;
623
+
624
+ /** @deprecated */
625
+ align?: AttrString;
626
+
627
+ /** @deprecated */
628
+ char?: AttrString;
629
+
630
+ /** @deprecated */
631
+ charoff?: AttrStringOrNumber;
632
+
633
+ /** @deprecated */
634
+ valign?: AttrString;
635
+
636
+ /** @deprecated */
637
+ width?: AttrStringOrNumber;
638
+ }
639
+ interface ColGroup extends HTMLAttributes<HTMLTableColElement> {
640
+ /**
641
+ * Specifies how many columns in the table the `<colgroup>` element spans.
642
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-colgroup-span
643
+ */
644
+ span?: AttrStringOrNumber;
645
+
646
+ /** @deprecated */
647
+ align?: AttrString;
648
+
649
+ /** @deprecated */
650
+ bgcolor?: AttrString;
651
+
652
+ /** @deprecated */
653
+ char?: AttrString;
654
+
655
+ /** @deprecated */
656
+ charoff?: AttrStringOrNumber;
657
+
658
+ /** @deprecated */
659
+ valign?: AttrString;
660
+ }
661
+ interface Data extends HTMLAttributes<HTMLDataElement> {
662
+ /**
663
+ * Specifies the machine-readable value of the `<data>` element.
664
+ * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-data-value
665
+ */
666
+ value?: AttrStringOrNumber;
667
+ }
668
+
669
+ interface DataList extends HTMLAttributes<HTMLDataListElement> {}
670
+ interface DD extends HTMLAttributes<HTMLElement> {
671
+ /** @deprecated */
672
+ nowrap?: AttrYesNoString;
673
+ }
674
+ interface Del extends HTMLAttributes<HTMLModElement> {
675
+ /**
676
+ * Specifies the URL of the source of the quote or change.
677
+ * @see https://html.spec.whatwg.org/multipage/edits.html#attr-mod-cite
678
+ */
679
+ cite?: AttrString;
680
+
681
+ /**
682
+ * Specifies the date and time of the quote or change.
683
+ * @see https://html.spec.whatwg.org/multipage/edits.html#attr-mod-datetime
684
+ */
685
+ datetime?: AttrString;
686
+ }
687
+ interface Details extends HTMLAttributes<HTMLDetailsElement> {
688
+ /**
689
+ * Specifies whether the `<details>` element is open.
690
+ * @see https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-details-open
691
+ */
692
+ open?: AttrBoolean;
693
+ }
694
+ interface Dfn extends HTMLAttributes<HTMLElement> {}
695
+ interface Dialog extends HTMLAttributes<HTMLDialogElement> {
696
+ /**
697
+ * Specifies whether the `<dialog>` element is open.
698
+ * @see https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-open
699
+ */
700
+ open?: AttrBoolean;
701
+ }
702
+ interface Div extends HTMLAttributes<HTMLDivElement> {}
703
+ interface DL extends HTMLAttributes<HTMLDListElement> {}
704
+ interface DT extends HTMLAttributes<HTMLElement> {}
705
+ interface Em extends HTMLAttributes<HTMLElement> {}
706
+ interface Embed extends HTMLAttributes<HTMLEmbedElement> {
707
+ /**
708
+ * Specifies the height of the embedded content.
709
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
710
+ */
711
+ height?: AttrStringOrNumber;
712
+
713
+ /**
714
+ * Specifies the URL of the resource to embed.
715
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-embed-src
716
+ */
717
+ src?: AttrString;
718
+
719
+ /**
720
+ * Specifies the MIME type of the embedded content.
721
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-embed-type
722
+ */
723
+ type?: AttrString;
724
+
725
+ /**
726
+ * Specifies the width of the embedded content.
727
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
728
+ */
729
+ width?: AttrStringOrNumber;
730
+ }
731
+ interface FieldSet extends HTMLAttributes<HTMLFieldSetElement> {
732
+ /**
733
+ * Specifies whether the `<fieldset>` element is disabled.
734
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fieldset-disabled
735
+ */
736
+ disabled?: AttrBoolean;
737
+ /**
738
+ * Specifies associated form for the `<fieldset>`.
739
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
740
+ */
741
+ form?: AttrString;
742
+ /**
743
+ * Specifies the name of the `<fieldset>` on the form.elements api.
744
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
745
+ * @see HTMLFormElement.elements
746
+ */
747
+ name?: AttrString;
748
+ }
749
+ interface FigCaption extends HTMLAttributes<HTMLElement> {}
750
+ interface Figure extends HTMLAttributes<HTMLElement> {}
751
+ interface Form extends HTMLAttributes<HTMLElement> {
752
+ /**
753
+ * Specifies the character encodings that are to be used for the form submission.
754
+ * @see https://html.spec.whatwg.org/multipage/forms.html#attr-form-accept-charset
755
+ */
756
+ "accept-charset"?: AttrString;
757
+ /**
758
+ * Specifies the URL which the form data will be submitted to.
759
+ * @see https://html.spec.whatwg.org/multipage/forms.html#attr-fs-action
760
+ */
761
+ action?: AttrString;
762
+ /**
763
+ * Controls whether the browser should automatically complete form input values.
764
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
765
+ */
766
+ autocomplete?: AttrOnOff;
767
+ /**
768
+ * Specifies the content type used to submit the form to the server.
769
+ * @see https://html.spec.whatwg.org/multipage/forms.html#attr-form-enctype
770
+ */
771
+ enctype?:
772
+ | AttrMissing
773
+ | "application/x-www-form-urlencoded"
774
+ | "multipart/form-data"
775
+ | "text/plain";
776
+ /**
777
+ * Specifies the HTTP method used to submit the form to the server.
778
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-method
779
+ */
780
+ method?:
781
+ | AttrMissing
782
+ | "POST"
783
+ | "post"
784
+ | "GET"
785
+ | "get"
786
+ | "dialog"
787
+ | "DIALOG";
788
+ /**
789
+ * The name attribute represents the form's name within the forms collection.
790
+ * @see https://html.spec.whatwg.org/multipage/forms.html#attr-form-name
791
+ * @see Document.forms
792
+ */
793
+ name?: AttrString;
794
+ /**
795
+ * Indicates that the form should not be validated when submitted.
796
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-novalidate
797
+ */
798
+ novalidate?: AttrBoolean;
799
+ /**
800
+ * Specifies the relationship between the current document and the linked document.
801
+ * @see https://html.spec.whatwg.org/multipage/links.html#linkTypes
802
+ */
803
+ rel?:
804
+ | AttrMissing
805
+ | "external"
806
+ | "help"
807
+ | "license"
808
+ | "next"
809
+ | "nofollow"
810
+ | "noopener"
811
+ | "noreferrer"
812
+ | "opener"
813
+ | "prev"
814
+ | "search"
815
+ | (string & {});
816
+ /**
817
+ * Specifies the browsing context in which the linked resource will be opened.
818
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-target
819
+ */
820
+ target?: AttrTarget;
821
+ /** @deprecated */
822
+ accept?: AttrString;
823
+ }
824
+ interface H1 extends HTMLAttributes<HTMLFormElement> {}
825
+ interface H2 extends HTMLAttributes<HTMLHeadingElement> {}
826
+ interface H3 extends HTMLAttributes<HTMLHeadingElement> {}
827
+ interface H4 extends HTMLAttributes<HTMLHeadingElement> {}
828
+ interface H5 extends HTMLAttributes<HTMLHeadingElement> {}
829
+ interface H6 extends HTMLAttributes<HTMLHeadingElement> {}
830
+ interface Footer extends HTMLAttributes<HTMLHeadingElement> {}
831
+ interface Head extends HTMLAttributes<HTMLHeadElement> {
832
+ /** @deprecated */
833
+ profile?: AttrString;
834
+ }
835
+ interface Header extends HTMLAttributes<HTMLElement> {}
836
+ interface HGroup extends HTMLAttributes<HTMLElement> {}
837
+ interface HR extends HTMLAttributes<HTMLHRElement> {
838
+ /** @deprecated */
839
+ align?: AttrMissing | "left" | "center" | "right";
840
+ /** @deprecated */
841
+ color?: AttrString;
842
+ /** @deprecated */
843
+ noshade?: AttrBoolean;
844
+ /** @deprecated */
845
+ size?: AttrStringOrNumber;
846
+ /** @deprecated */
847
+ width?: AttrStringOrNumber;
848
+ }
849
+ interface HTML extends HTMLAttributes<HTMLHtmlElement> {
850
+ /** @deprecated */
851
+ xmlns?: AttrString;
852
+ /** @deprecated */
853
+ manifest?: AttrString;
854
+ /** @deprecated */
855
+ version?: AttrString;
856
+ }
857
+ interface I extends HTMLAttributes<HTMLElement> {}
858
+ interface IFrame extends HTMLAttributes<HTMLIFrameElement> {
859
+ /**
860
+ * A space-separated list of permissions that are granted to the content inside the frame.
861
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-allow
862
+ */
863
+ allow?: AttrString;
864
+ /**
865
+ * Indicates whether the iframe can be displayed in fullscreen mode.
866
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-allowfullscreen
867
+ */
868
+ allowfullscreen?: AttrBoolean;
869
+ /**
870
+ * The height of the iframe.
871
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
872
+ */
873
+ height?: AttrStringOrNumber;
874
+ /**
875
+ * Indicates whether the browser should eagerly load the frame's contents or not.
876
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-loading
877
+ */
878
+ loading?: AttrMissing | "eager" | "lazy";
879
+ /**
880
+ * A name or keyword that can be used to refer to the iframe from elsewhere in the document.
881
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-name
882
+ */
883
+ name?: AttrString;
884
+ /**
885
+ * Specifies the referrer policy for the iframe.
886
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-referrerpolicy
887
+ */
888
+ referrerpolicy?: AttrReferrerPolicy;
889
+ /**
890
+ * A set of sandbox flags that are applied to the iframe.
891
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-sandbox
892
+ */
893
+ sandbox?:
894
+ | AttrMissing
895
+ | "allow-downloads-without-user-activation"
896
+ | "allow-downloads"
897
+ | "allow-forms"
898
+ | "allow-modals"
899
+ | "allow-orientation-lock"
900
+ | "allow-pointer-lock"
901
+ | "allow-popups-to-escape-sandbox"
902
+ | "allow-popups"
903
+ | "allow-presentation"
904
+ | "allow-same-origin"
905
+ | "allow-scripts"
906
+ | "allow-storage-access-by-user-activation"
907
+ | "allow-top-navigation-by-user-activation"
908
+ | "allow-top-navigation-to-custom-protocols"
909
+ | "allow-top-navigation"
910
+ | (string & {});
911
+ /**
912
+ * The URL of the page to embed in the iframe.
913
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-src
914
+ */
915
+ src?: AttrString;
916
+ /**
917
+ * A document to render inside the iframe.
918
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-srcdoc
919
+ */
920
+ srcdoc?: AttrString;
921
+ /**
922
+ * The width of the iframe.
923
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
924
+ */
925
+ width?: AttrStringOrNumber;
926
+ /** @deprecated */
927
+ align?: AttrString;
928
+ /** @deprecated */
929
+ frameborder?: AttrStringOrNumber;
930
+ /** @deprecated */
931
+ longdesc?: AttrString;
932
+ /** @deprecated */
933
+ marginheight?: AttrStringOrNumber;
934
+ /** @deprecated */
935
+ marginwidth?: AttrStringOrNumber;
936
+ /** @deprecated */
937
+ scrolling?: AttrYesNoString | "auto";
938
+ }
939
+ interface Img extends HTMLAttributes<HTMLImageElement> {
940
+ /**
941
+ * The alternative text for the image, displayed when the image cannot be loaded or
942
+ * rendered. This is useful for accessibility purposes.
943
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-alt
944
+ */
945
+ alt?: AttrString;
946
+
947
+ /**
948
+ * A CORS setting attribute that determines if the image should be fetched with CORS or not.
949
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-crossorigin
950
+ */
951
+ crossorigin?: AttrCrossOrigin;
952
+
953
+ /**
954
+ * Specifies the decoding mode for the image, which can be "sync", "async", or "auto".
955
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-decoding
956
+ */
957
+ decoding?: AttrMissing | "sync" | "async" | "auto";
958
+
959
+ /**
960
+ * Sets the fetch priority of the image, which can be "auto", "high", or "low".
961
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-fetchpriority
962
+ */
963
+ fetchpriority?: AttrMissing | "auto" | "high" | "low";
964
+
965
+ /**
966
+ * The height of the image, either as a string (CSS length value) or a number (pixels).
967
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-dim-height
968
+ */
969
+ height?: AttrStringOrNumber;
970
+
971
+ /**
972
+ * Indicates that the image is part of a server-side image map.
973
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-ismap
974
+ */
975
+ ismap?: AttrBoolean;
976
+
977
+ /**
978
+ * Specifies the loading behavior of the image, which can be "eager" or "lazy".
979
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-loading
980
+ */
981
+ loading?: AttrMissing | "eager" | "lazy";
982
+
983
+ /**
984
+ * Sets the referrer policy for the image request.
985
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-referrerpolicy
986
+ */
987
+ referrerpolicy?: AttrReferrerPolicy;
988
+
989
+ /**
990
+ * A string containing size descriptors for responsive images.
991
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-sizes
992
+ */
993
+ sizes?: AttrString;
994
+
995
+ /**
996
+ * The URL of the image to display.
997
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-src
998
+ */
999
+ src?: AttrString;
1000
+
1001
+ /**
1002
+ * A string containing URL and size descriptor pairs for responsive images.
1003
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-srcset
1004
+ */
1005
+ srcset?: AttrString;
1006
+
1007
+ /**
1008
+ * The URL of a client-side image map to associate with the image.
1009
+ * @see https://html.spec.whatwg.org/multipage/image-maps.html#attr-hyperlink-usemap
1010
+ */
1011
+ usemap?: AttrString;
1012
+
1013
+ /**
1014
+ * The width of the image, either as a string (CSS length value) or a number (pixels
1015
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-dim-width
1016
+ */
1017
+ width?: AttrStringOrNumber;
1018
+
1019
+ /** @deprecated */
1020
+ align?: AttrMissing | "left" | "center" | "right" | "justify" | "char";
1021
+ /** @deprecated */
1022
+ border?: AttrStringOrNumber;
1023
+ /** @deprecated */
1024
+ hspace?: AttrStringOrNumber;
1025
+ /** @deprecated */
1026
+ longdesc?: AttrString;
1027
+ /** @deprecated */
1028
+ name?: AttrString;
1029
+ /** @deprecated */
1030
+ vspace?: AttrStringOrNumber;
1031
+ }
1032
+ interface Input extends HTMLAttributes<HTMLInputElement> {
1033
+ /**
1034
+ * Indicates whether the input should be disabled or not. When disabled,
1035
+ * the input will not be interactable or submitted with the form.
1036
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
1037
+ */
1038
+ disabled?: AttrBoolean;
1039
+
1040
+ /**
1041
+ * The ID of the form element that this input is associated with.
1042
+ * This allows the input to be associated with a form even if it is
1043
+ * not a direct descendant of the form element.
1044
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
1045
+ */
1046
+ form?: AttrString;
1047
+
1048
+ /**
1049
+ * The name attribute of the input element, which is used as a key
1050
+ * when submitting the form data. Also the named used in the form.elements.
1051
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
1052
+ * @see HTMLFormElement.elements
1053
+ */
1054
+ name?: AttrString;
1055
+ }
1056
+
1057
+ interface InputButton extends Input {
1058
+ /**
1059
+ * The input type, set to "button" for this interface.
1060
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1061
+ */
1062
+ type: "button";
1063
+
1064
+ /**
1065
+ * Specifies the target element for the popover.
1066
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1067
+ */
1068
+ popovertarget?: AttrString;
1069
+
1070
+ /**
1071
+ * Specifies the action to perform on the popover target.
1072
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1073
+ */
1074
+ popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
1075
+
1076
+ /**
1077
+ * The value attribute for the button input, which can be used as a label or identifier.
1078
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1079
+ */
1080
+ value?: AttrStringOrNumber;
1081
+ }
1082
+
1083
+ interface InputCheckbox extends Input {
1084
+ /**
1085
+ * The input type, set to "checkbox" for this interface.
1086
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1087
+ */
1088
+ type: "checkbox";
1089
+
1090
+ /**
1091
+ * Indicates whether the checkbox should be checked or not.
1092
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-checked
1093
+ */
1094
+ checked?: AttrBoolean;
1095
+
1096
+ /**
1097
+ * Indicates whether the checkbox is required to be checked for the form to be submitted.
1098
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1099
+ */
1100
+ required?: AttrBoolean;
1101
+
1102
+ /**
1103
+ * The value attribute for the checkbox input, which can be used as a label or identifier.
1104
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1105
+ */
1106
+ value?: AttrStringOrNumber;
1107
+ }
1108
+
1109
+ interface InputColor extends Input {
1110
+ /**
1111
+ * The input type, set to "color" for this interface.
1112
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1113
+ */
1114
+ type: "color";
1115
+
1116
+ /**
1117
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1118
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1119
+ */
1120
+ autocomplete?: AttrOnOff;
1121
+
1122
+ /**
1123
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1124
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1125
+ */
1126
+ list?: AttrString;
1127
+
1128
+ /**
1129
+ * The value attribute for the color input, representing a color value.
1130
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1131
+ */
1132
+ value?: AttrString;
1133
+ }
1134
+
1135
+ interface InputDate extends Input {
1136
+ /**
1137
+ * The input type, set to "date" for this interface.
1138
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1139
+ */
1140
+ type: "date";
1141
+
1142
+ /**
1143
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1144
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1145
+ */
1146
+ autocomplete?: AttrOnOff;
1147
+
1148
+ /**
1149
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1150
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1151
+ */
1152
+ list?: AttrString;
1153
+
1154
+ /**
1155
+ * The maximum allowed value for the input.
1156
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
1157
+ */
1158
+ max?: AttrString;
1159
+
1160
+ /**
1161
+ * The minimum allowed value for the input.
1162
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
1163
+ */
1164
+ min?: AttrString;
1165
+
1166
+ /**
1167
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1168
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1169
+ */
1170
+ readonly?: AttrBoolean;
1171
+
1172
+ /**
1173
+ * Indicates whether the input is required to have a value for the form to be submitted.
1174
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1175
+ */
1176
+ required?: AttrBoolean;
1177
+
1178
+ /**
1179
+ * Specifies the allowed number intervals for the input value.
1180
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
1181
+ */
1182
+ step?: AttrString;
1183
+
1184
+ /**
1185
+ * The value attribute for the date input, representing a date value.
1186
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1187
+ */
1188
+ value?: AttrString;
1189
+ }
1190
+
1191
+ interface InputDateTimeLocal extends Input {
1192
+ /**
1193
+ * The input type, set to "datetime-local" for this interface.
1194
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1195
+ */
1196
+ type: "datetime-local";
1197
+
1198
+ /**
1199
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1200
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1201
+ */
1202
+ autocomplete?: AttrOnOff;
1203
+
1204
+ /**
1205
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1206
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1207
+ */
1208
+ list?: AttrString;
1209
+
1210
+ /**
1211
+ * The maximum allowed value for the input.
1212
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
1213
+ */
1214
+ max?: AttrString;
1215
+
1216
+ /**
1217
+ * The minimum allowed value for the input.
1218
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
1219
+ */
1220
+ min?: AttrString;
1221
+
1222
+ /**
1223
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1224
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1225
+ */
1226
+ readonly?: AttrBoolean;
1227
+
1228
+ /**
1229
+ * Indicates whether the input is required to have a value for the form to be submitted.
1230
+ * @see https://html.spec.whatwg
1231
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1232
+ */
1233
+ required?: AttrBoolean;
1234
+
1235
+ /**
1236
+ * Specifies the allowed number intervals for the input value.
1237
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
1238
+ */
1239
+ step?: AttrString;
1240
+
1241
+ /**
1242
+ * The value attribute for the datetime-local input, representing a date and time value.
1243
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1244
+ */
1245
+ value?: AttrString;
1246
+ }
1247
+ interface InputEmail extends Input {
1248
+ /**
1249
+ * The input type, set to "email" for this interface.
1250
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1251
+ */
1252
+ type: "email";
1253
+
1254
+ /**
1255
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1256
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1257
+ */
1258
+ autocomplete?: AttrOnOff;
1259
+
1260
+ /**
1261
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1262
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1263
+ */
1264
+ list?: AttrString;
1265
+
1266
+ /**
1267
+ * The maximum allowed length for the input value.
1268
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
1269
+ */
1270
+ maxlength?: AttrStringOrNumber;
1271
+
1272
+ /**
1273
+ * The minimum allowed length for the input value.
1274
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
1275
+ */
1276
+ minlength?: AttrStringOrNumber;
1277
+
1278
+ /**
1279
+ * Indicates whether the input should allow multiple email addresses or not.
1280
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple
1281
+ */
1282
+ multiple?: AttrBoolean;
1283
+
1284
+ /**
1285
+ * A regular expression that the input value must match for the form to be submitted.
1286
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
1287
+ */
1288
+ pattern?: AttrString;
1289
+
1290
+ /**
1291
+ * A short hint to display in the input field before the user enters a value.
1292
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
1293
+ */
1294
+ placeholder?: AttrString;
1295
+
1296
+ /**
1297
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1298
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1299
+ */
1300
+ readonly?: AttrBoolean;
1301
+
1302
+ /**
1303
+ * Indicates whether the input is required to have a value for the form to be submitted.
1304
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1305
+ */
1306
+ required?: AttrBoolean;
1307
+
1308
+ /**
1309
+ * The visible width of the input field in average character widths.
1310
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
1311
+ */
1312
+ size?: AttrStringOrNumber;
1313
+
1314
+ /**
1315
+ * The value attribute for the email input, representing an email address value.
1316
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1317
+ */
1318
+ value?: AttrString;
1319
+ }
1320
+ interface InputFile extends Input {
1321
+ /**
1322
+ * The input type, set to "file" for this interface.
1323
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1324
+ */
1325
+ type: "file";
1326
+
1327
+ /**
1328
+ * A comma-separated list of file types that the input should accept.
1329
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
1330
+ */
1331
+ accept?: AttrString;
1332
+
1333
+ /**
1334
+ * Indicates whether the input should use a specific capture method.
1335
+ * "user" indicates the front camera, "environment" indicates the rear camera.
1336
+ * @see https://w3c.github.io/html-media-capture/#dfn-capture
1337
+ */
1338
+ capture?: AttrBoolean | "user" | "environment";
1339
+
1340
+ /**
1341
+ * Indicates whether the input should allow the selection of multiple files or not.
1342
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple
1343
+ */
1344
+ multiple?: AttrBoolean;
1345
+
1346
+ /**
1347
+ * Indicates whether the input is required to have a value for the form to be submitted.
1348
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1349
+ */
1350
+ required?: AttrBoolean;
1351
+ }
1352
+ interface InputHidden extends Input {
1353
+ /**
1354
+ * The input type, set to "hidden" for this interface.
1355
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1356
+ */
1357
+ type: "hidden";
1358
+
1359
+ /**
1360
+ * The value attribute for the hidden input, representing a hidden value.
1361
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1362
+ */
1363
+ value?: AttrStringOrNumber;
1364
+ }
1365
+ interface InputImage extends Input {
1366
+ /**
1367
+ * The input type, set to "image" for this interface.
1368
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1369
+ */
1370
+ type: "image";
1371
+
1372
+ /**
1373
+ * The alternate text for the image, displayed if the image cannot be loaded.
1374
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-alt
1375
+ */
1376
+ alt?: AttrString;
1377
+
1378
+ /**
1379
+ * The URL of the image file.
1380
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-src
1381
+ */
1382
+ src?: AttrString;
1383
+
1384
+ /**
1385
+ * The height of the image in pixels.
1386
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
1387
+ */
1388
+ height?: AttrStringOrNumber;
1389
+
1390
+ /**
1391
+ * The width of the image in pixels.
1392
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
1393
+ */
1394
+ width?: AttrStringOrNumber;
1395
+
1396
+ /**
1397
+ * The URL of the form processing endpoint when the input image is used for form submission.
1398
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formaction
1399
+ */
1400
+ formaction?: Form["action"];
1401
+
1402
+ /**
1403
+ * The encoding type for the form data when the input image is used for form submission.
1404
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype
1405
+ */
1406
+ formenctype?: Form["enctype"];
1407
+
1408
+ /**
1409
+ * The HTTP method to use when the input image is used for form submission.
1410
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod
1411
+ */
1412
+ formmethod?: Form["method"];
1413
+
1414
+ /**
1415
+ * Indicates whether form validation should be skipped when the input image is used for form submission.
1416
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formnovalidate
1417
+ */
1418
+ formnovalidate?: Form["novalidate"];
1419
+
1420
+ /**
1421
+ * The browsing context for displaying the response after form submission when the input image is used.
1422
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formtarget
1423
+ */
1424
+ formtarget?: Form["target"];
1425
+
1426
+ /**
1427
+ * Specifies the target element for the popover.
1428
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1429
+ */
1430
+ popovertarget?: AttrString;
1431
+
1432
+ /**
1433
+ * Specifies the action to perform on the popover target.
1434
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1435
+ */
1436
+ popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
1437
+
1438
+ /**
1439
+ * The value attribute for the image input, representing a value to submit with the form.
1440
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1441
+ */
1442
+ value?: AttrStringOrNumber;
1443
+ }
1444
+
1445
+ interface InputMonth extends Input {
1446
+ /**
1447
+ * The input type, set to "month" for this interface.
1448
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1449
+ */
1450
+ type: "month";
1451
+
1452
+ /**
1453
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1454
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1455
+ */
1456
+ autocomplete?: AttrOnOff;
1457
+
1458
+ /**
1459
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1460
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1461
+ */
1462
+ list?: AttrString;
1463
+
1464
+ /**
1465
+ * The maximum allowed value for the input.
1466
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
1467
+ */
1468
+ max?: AttrString;
1469
+
1470
+ /**
1471
+ * The minimum allowed value for the input.
1472
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
1473
+ */
1474
+ min?: AttrString;
1475
+
1476
+ /**
1477
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1478
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1479
+ */
1480
+ readonly?: AttrBoolean;
1481
+
1482
+ /**
1483
+ * Indicates whether the input is required to have a value for the form to be submitted.
1484
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1485
+ */
1486
+ required?: AttrBoolean;
1487
+
1488
+ /**
1489
+ * Specifies the allowed number intervals for the input value.
1490
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
1491
+ */
1492
+ step?: AttrString;
1493
+
1494
+ /**
1495
+ * The value attribute for the month input, representing a month value.
1496
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1497
+ */
1498
+ value?: AttrString;
1499
+ }
1500
+ interface InputNumber extends Input {
1501
+ /**
1502
+ * The input type, set to "number" for this interface.
1503
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1504
+ */
1505
+ type: "number";
1506
+
1507
+ /**
1508
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1509
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1510
+ */
1511
+ autocomplete?: AttrOnOff;
1512
+
1513
+ /**
1514
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1515
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1516
+ */
1517
+ list?: AttrString;
1518
+
1519
+ /**
1520
+ * The maximum allowed value for the input.
1521
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
1522
+ */
1523
+ max?: AttrStringOrNumber;
1524
+
1525
+ /**
1526
+ * The minimum allowed value for the input.
1527
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
1528
+ */
1529
+ min?: AttrStringOrNumber;
1530
+
1531
+ /**
1532
+ * A short hint to display in the input field before the user enters a value.
1533
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
1534
+ */
1535
+ placeholder?: AttrString;
1536
+
1537
+ /**
1538
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1539
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1540
+ */
1541
+ readonly?: AttrBoolean;
1542
+ /**
1543
+ * Indicates whether the input is required to have a value for the form to be submitted.
1544
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1545
+ */
1546
+ required?: AttrBoolean;
1547
+
1548
+ /**
1549
+ * Specifies the allowed number intervals for the input value.
1550
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
1551
+ */
1552
+ step?: AttrStringOrNumber;
1553
+
1554
+ /**
1555
+ * The value attribute for the month input, representing a month value.
1556
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1557
+ */
1558
+ value?: AttrStringOrNumber;
1559
+ }
1560
+ interface InputRadio extends Input {
1561
+ /**
1562
+ * The input type, set to "radio" for this interface.
1563
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1564
+ */
1565
+ type: "radio";
1566
+
1567
+ /**
1568
+ * Indicates whether the radio should be checked or not.
1569
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-checked
1570
+ */
1571
+ checked?: AttrBoolean;
1572
+
1573
+ /**
1574
+ * Indicates whether the radio is required to be checked for the form to be submitted.
1575
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1576
+ */
1577
+ required?: AttrBoolean;
1578
+
1579
+ /**
1580
+ * The value attribute for the radio input, which can be used as a label or identifier.
1581
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1582
+ */
1583
+ value?: AttrStringOrNumber;
1584
+ }
1585
+ interface InputRange extends Input {
1586
+ /**
1587
+ * The input type, set to "range" for this interface.
1588
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1589
+ */
1590
+ type: "range";
1591
+
1592
+ /**
1593
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1594
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1595
+ */
1596
+ autocomplete?: AttrOnOff;
1597
+ /**
1598
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1599
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1600
+ */
1601
+ list?: AttrString;
1602
+
1603
+ /**
1604
+ * The maximum allowed value for the input.
1605
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
1606
+ */
1607
+ max?: AttrStringOrNumber;
1608
+
1609
+ /**
1610
+ * The minimum allowed value for the input.
1611
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
1612
+ */
1613
+ min?: AttrStringOrNumber;
1614
+
1615
+ /**
1616
+ * Specifies the allowed number intervals for the input value.
1617
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
1618
+ */
1619
+ step?: AttrStringOrNumber;
1620
+
1621
+ /**
1622
+ * The value attribute for the month input, representing a month value.
1623
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1624
+ */
1625
+ value?: AttrStringOrNumber;
1626
+ }
1627
+ interface InputReset extends Input {
1628
+ /**
1629
+ * The input type, set to "reset" for this interface.
1630
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1631
+ */
1632
+ type: "reset";
1633
+
1634
+ /**
1635
+ * Specifies the target element for the popover.
1636
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1637
+ */
1638
+ popovertarget?: AttrString;
1639
+
1640
+ /**
1641
+ * Specifies the action to perform on the popover target.
1642
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1643
+ */
1644
+ popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
1645
+ }
1646
+ interface InputSubmit extends Input {
1647
+ /**
1648
+ * The input type, set to "submit" for this interface.
1649
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1650
+ */
1651
+ type: "submit";
1652
+
1653
+ /**
1654
+ * The URL of the form processing endpoint when the input image is used for form submission.
1655
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formaction
1656
+ */
1657
+ formaction?: Form["action"];
1658
+
1659
+ /**
1660
+ * The encoding type for the form data when the input image is used for form submission.
1661
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype
1662
+ */
1663
+ formenctype?: Form["enctype"];
1664
+
1665
+ /**
1666
+ * The HTTP method to use when the input image is used for form submission.
1667
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod
1668
+ */
1669
+ formmethod?: Form["method"];
1670
+
1671
+ /**
1672
+ * Indicates whether form validation should be skipped when the input image is used for form submission.
1673
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formnovalidate
1674
+ */
1675
+ formnovalidate?: Form["novalidate"];
1676
+
1677
+ /**
1678
+ * The browsing context for displaying the response after form submission when the input image is used.
1679
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formtarget
1680
+ */
1681
+ formtarget?: Form["target"];
1682
+
1683
+ /**
1684
+ * Specifies the target element for the popover.
1685
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1686
+ */
1687
+ popovertarget?: AttrString;
1688
+
1689
+ /**
1690
+ * Specifies the action to perform on the popover target.
1691
+ * @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
1692
+ */
1693
+ popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
1694
+
1695
+ /**
1696
+ * The value attribute for the month input, representing a month value.
1697
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1698
+ */
1699
+ value?: AttrString;
1700
+ }
1701
+ interface InputTel extends Input {
1702
+ /**
1703
+ * The input type, set to "tel" for this interface.
1704
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1705
+ */
1706
+ type: "tel";
1707
+
1708
+ /**
1709
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1710
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1711
+ */
1712
+ autocomplete?: AttrOnOff;
1713
+
1714
+ /**
1715
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1716
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1717
+ */
1718
+ list?: AttrString;
1719
+
1720
+ /**
1721
+ * The maximum number of characters allowed in the input.
1722
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
1723
+ */
1724
+ maxlength?: AttrStringOrNumber;
1725
+
1726
+ /**
1727
+ * The minimum number of characters required in the input.
1728
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
1729
+ */
1730
+ minlength?: AttrStringOrNumber;
1731
+
1732
+ /**
1733
+ * A regular expression pattern to be matched by the input value.
1734
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
1735
+ */
1736
+ pattern?: AttrString;
1737
+
1738
+ /**
1739
+ * A short hint to display in the input field before the user enters a value.
1740
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
1741
+ */
1742
+ placeholder?: AttrString;
1743
+
1744
+ /**
1745
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1746
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1747
+ */
1748
+ readonly?: AttrBoolean;
1749
+
1750
+ /**
1751
+ * Indicates whether the input is required to have a value for the form to be submitted.
1752
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1753
+ */
1754
+ required?: AttrBoolean;
1755
+
1756
+ /**
1757
+ * The number of characters wide the input field should be displayed.
1758
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
1759
+ */
1760
+ size?: AttrStringOrNumber;
1761
+
1762
+ /**
1763
+ * The value attribute for the tel input, representing a telephone number value.
1764
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1765
+ */
1766
+ value?: AttrString;
1767
+ }
1768
+
1769
+ interface InputURL extends Input {
1770
+ /**
1771
+ * The input type, set to "url" for this interface.
1772
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1773
+ */
1774
+ type: "url";
1775
+
1776
+ /**
1777
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1778
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1779
+ */
1780
+ autocomplete?: AttrOnOff;
1781
+
1782
+ /**
1783
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1784
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1785
+ */
1786
+ list?: AttrString;
1787
+
1788
+ /**
1789
+ * The maximum number of characters allowed in the input.
1790
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
1791
+ */
1792
+ maxlength?: AttrStringOrNumber;
1793
+
1794
+ /**
1795
+ * The minimum number of characters required in the input.
1796
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
1797
+ */
1798
+ minlength?: AttrStringOrNumber;
1799
+
1800
+ /**
1801
+ * A regular expression pattern to be matched by the input value.
1802
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
1803
+ */
1804
+ pattern?: AttrString;
1805
+
1806
+ /**
1807
+ * A short hint to display in the input field before the user enters a value.
1808
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
1809
+ */
1810
+ placeholder?: AttrString;
1811
+
1812
+ /**
1813
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1814
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1815
+ */
1816
+ readonly?: AttrBoolean;
1817
+
1818
+ /**
1819
+ * Indicates whether the input is required to have a value for the form to be submitted.
1820
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1821
+ */
1822
+ required?: AttrBoolean;
1823
+
1824
+ /**
1825
+ * The number of characters wide the input field should be displayed.
1826
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
1827
+ */
1828
+ size?: AttrStringOrNumber;
1829
+
1830
+ /**
1831
+ * The value attribute for the tel input, representing a telephone number value.
1832
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1833
+ */
1834
+ value?: AttrString;
1835
+ }
1836
+ interface InputPassword extends Input {
1837
+ /**
1838
+ * The input type, set to "password" for this interface.
1839
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1840
+ */
1841
+ type: "password";
1842
+
1843
+ /**
1844
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1845
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1846
+ */
1847
+ autocomplete?: AttrOnOff;
1848
+
1849
+ /**
1850
+ * The maximum number of characters allowed in the input.
1851
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
1852
+ */
1853
+ maxlength?: AttrStringOrNumber;
1854
+
1855
+ /**
1856
+ * The minimum number of characters required in the input.
1857
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
1858
+ */
1859
+ minlength?: AttrStringOrNumber;
1860
+
1861
+ /**
1862
+ * A regular expression pattern to be matched by the input value.
1863
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
1864
+ */
1865
+ pattern?: AttrString;
1866
+
1867
+ /**
1868
+ * A short hint to display in the input field before the user enters a value.
1869
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
1870
+ */
1871
+ placeholder?: AttrString;
1872
+
1873
+ /**
1874
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1875
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1876
+ */
1877
+ readonly?: AttrBoolean;
1878
+
1879
+ /**
1880
+ * Indicates whether the input is required to have a value for the form to be submitted.
1881
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1882
+ */
1883
+ required?: AttrBoolean;
1884
+
1885
+ /**
1886
+ * The number of characters wide the input field should be displayed.
1887
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
1888
+ */
1889
+ size?: AttrStringOrNumber;
1890
+
1891
+ /**
1892
+ * The value attribute for the tel input, representing a telephone number value.
1893
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1894
+ */
1895
+ value?: AttrString;
1896
+ }
1897
+ interface InputText extends Input {
1898
+ /**
1899
+ * The input type for this interface.
1900
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1901
+ */
1902
+ type?: "text" | "search" | "email"; // TODO: split interfaces
1903
+
1904
+ /**
1905
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1906
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1907
+ */
1908
+ autocomplete?: AttrOnOff;
1909
+
1910
+ /**
1911
+ * Enables the submission of the directionality of the element.
1912
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-dirname
1913
+ */
1914
+ dirname?: AttrString;
1915
+
1916
+ /**
1917
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1918
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1919
+ */
1920
+ list?: AttrString;
1921
+
1922
+ /**
1923
+ * The maximum number of characters allowed in the input.
1924
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
1925
+ */
1926
+ maxlength?: AttrStringOrNumber;
1927
+
1928
+ /**
1929
+ * The minimum number of characters required in the input.
1930
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
1931
+ */
1932
+ minlength?: AttrStringOrNumber;
1933
+
1934
+ /**
1935
+ * A regular expression pattern to be matched by the input value.
1936
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
1937
+ */
1938
+ pattern?: AttrString;
1939
+
1940
+ /**
1941
+ * A short hint to display in the input field before the user enters a value.
1942
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
1943
+ */
1944
+ placeholder?: AttrString;
1945
+
1946
+ /**
1947
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
1948
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
1949
+ */
1950
+ readonly?: AttrBoolean;
1951
+
1952
+ /**
1953
+ * Indicates whether the input is required to have a value for the form to be submitted.
1954
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
1955
+ */
1956
+ required?: AttrBoolean;
1957
+
1958
+ /**
1959
+ * The number of characters wide the input field should be displayed.
1960
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
1961
+ */
1962
+ size?: AttrStringOrNumber;
1963
+
1964
+ /**
1965
+ * The value attribute for input.
1966
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
1967
+ */
1968
+ value?: AttrStringOrNumber;
1969
+ }
1970
+ interface InputTime extends Input {
1971
+ /**
1972
+ * The input type, set to "time" for this interface.
1973
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
1974
+ */
1975
+ type: "time";
1976
+
1977
+ /**
1978
+ * Specifies whether the input field should have autocomplete enabled or disabled.
1979
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
1980
+ */
1981
+ autocomplete?: AttrOnOff;
1982
+
1983
+ /**
1984
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
1985
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
1986
+ */
1987
+ list?: AttrString;
1988
+
1989
+ /**
1990
+ * The maximum allowed value for the input.
1991
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
1992
+ */
1993
+ max?: AttrString;
1994
+
1995
+ /**
1996
+ * The minimum allowed value for the input.
1997
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
1998
+ */
1999
+ min?: AttrString;
2000
+
2001
+ /**
2002
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
2003
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
2004
+ */
2005
+ readonly?: AttrBoolean;
2006
+
2007
+ /**
2008
+ * Indicates whether the input is required to have a value for the form to be submitted.
2009
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
2010
+ */
2011
+ required?: AttrBoolean;
2012
+
2013
+ /**
2014
+ * Specifies the allowed number intervals for the input value.
2015
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
2016
+ */
2017
+ step?: AttrString;
2018
+
2019
+ /**
2020
+ * The value attribute for the time input, representing a time value.
2021
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
2022
+ */
2023
+ value?: AttrString;
2024
+ }
2025
+
2026
+ interface InputWeek extends Input {
2027
+ /**
2028
+ * The input type, set to "week" for this interface.
2029
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
2030
+ */
2031
+ type: "week";
2032
+
2033
+ /**
2034
+ * Specifies whether the input field should have autocomplete enabled or disabled.
2035
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
2036
+ */
2037
+ autocomplete?: AttrOnOff;
2038
+
2039
+ /**
2040
+ * The ID of a <datalist> element that provides a list of suggested values for the input.
2041
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
2042
+ */
2043
+ list?: AttrString;
2044
+
2045
+ /**
2046
+ * The maximum allowed value for the input.
2047
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
2048
+ */
2049
+ max?: AttrString;
2050
+
2051
+ /**
2052
+ * The minimum allowed value for the input.
2053
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
2054
+ */
2055
+ min?: AttrString;
2056
+
2057
+ /**
2058
+ * Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
2059
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
2060
+ */
2061
+ readonly?: AttrBoolean;
2062
+
2063
+ /**
2064
+ * Indicates whether the input is required to have a value for the form to be submitted.
2065
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
2066
+ */
2067
+ required?: AttrBoolean;
2068
+
2069
+ /**
2070
+ * Specifies the allowed number intervals for the input value.
2071
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
2072
+ */
2073
+ step?: AttrString;
2074
+
2075
+ /**
2076
+ * The value attribute for the time input, representing a time value.
2077
+ * @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
2078
+ */
2079
+ value?: AttrString;
2080
+ }
2081
+ interface Ins extends HTMLAttributes<HTMLModElement> {
2082
+ /**
2083
+ * A URI for a resource that explains the reason for the insertion.
2084
+ * @see https://html.spec.whatwg.org/multipage/edits.html#attr-mod-cite
2085
+ */
2086
+ cite?: AttrString;
2087
+
2088
+ /**
2089
+ * The date and time when the element's contents were inserted, in the format "YYYY-MM-DDThh:mm:ssZ".
2090
+ * @see https://html.spec.whatwg.org/multipage/edits.html#attr-mod-datetime
2091
+ */
2092
+ datetime?: AttrString;
2093
+ }
2094
+
2095
+ interface Kbd extends HTMLAttributes<HTMLElement> {}
2096
+ interface Label extends HTMLAttributes<HTMLLabelElement> {
2097
+ /**
2098
+ * The ID of a form control that this label is associated with.
2099
+ * @see https://html.spec.whatwg.org/multipage/forms.html#attr-label-for
2100
+ */
2101
+ for?: AttrString;
2102
+
2103
+ /**
2104
+ * The ID of the form element that this label is associated with, if the form control is not a descendant of the label element.
2105
+ * Note that this attribute is non standard.
2106
+ *
2107
+ * @see https://www.w3schools.com/tags//att_label_form.asp
2108
+ */
2109
+ form?: AttrString;
2110
+ }
2111
+
2112
+ interface Legend extends HTMLAttributes<HTMLLegendElement> {}
2113
+ interface LI extends HTMLAttributes<HTMLLIElement> {
2114
+ /**
2115
+ * The value used to determine the ordinal value of the list item.
2116
+ * @see https://html.spec.whatwg.org/multipage/grouping-content.html#attr-li-value
2117
+ */
2118
+ value?: AttrStringOrNumber;
2119
+
2120
+ /** @deprecated */
2121
+ type?: AttrString;
2122
+ }
2123
+ // TODO break into multiple interfaces based on rel?
2124
+ interface Link extends HTMLAttributes<HTMLLinkElement> {
2125
+ /**
2126
+ * Specifies the type of resource for the preload request.
2127
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-as
2128
+ */
2129
+ as?:
2130
+ | AttrMissing
2131
+ | "audio"
2132
+ | "document"
2133
+ | "embed"
2134
+ | "fetch"
2135
+ | "font"
2136
+ | "image"
2137
+ | "object"
2138
+ | "script"
2139
+ | "style"
2140
+ | "track"
2141
+ | "video"
2142
+ | "worker";
2143
+
2144
+ /**
2145
+ * Specifies whether the link should block rendering or not.
2146
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-blocking
2147
+ */
2148
+ blocking?: AttrMissing | "render";
2149
+
2150
+ /**
2151
+ * Specifies how the CORS requests for the element should be handled.
2152
+ * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes
2153
+ */
2154
+ crossorigin?: AttrCrossOrigin;
2155
+
2156
+ /**
2157
+ * Indicates if the link element is disabled.
2158
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-disabled
2159
+ */
2160
+ disabled?: AttrBoolean;
2161
+
2162
+ /**
2163
+ * Specifies the priority for the fetch request.
2164
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-fetchpriority
2165
+ */
2166
+ fetchpriority?: AttrMissing | "auto" | "high" | "low";
2167
+
2168
+ /**
2169
+ * Specifies the URL of the linked resource.
2170
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-href
2171
+ */
2172
+ href?: AttrString;
2173
+
2174
+ /**
2175
+ * Specifies the language of the linked resource.
2176
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-hreflang
2177
+ */
2178
+ hreflang?: AttrString;
2179
+
2180
+ /**
2181
+ * Specifies the sizes for image resources.
2182
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-imagesizes
2183
+ */
2184
+ imagesizes?: AttrString;
2185
+
2186
+ /**
2187
+ * Specifies a set of source sizes for responsive images.
2188
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-imagesrcset
2189
+ */
2190
+ imagesrcset?: AttrString;
2191
+
2192
+ /**
2193
+ * Allows a resource to be fetched with a cryptographic hash, ensuring the integrity of the resource.
2194
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-integrity
2195
+ */
2196
+ integrity?: AttrString;
2197
+
2198
+ /**
2199
+ * Specifies the media for which the linked resource is designed.
2200
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-media
2201
+ */
2202
+ media?: AttrString;
2203
+
2204
+ /**
2205
+ * Specifies the referrer policy for the request initiated by the link element.
2206
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-referrerpolicy
2207
+ */
2208
+ referrerpolicy?: AttrReferrerPolicy;
2209
+
2210
+ /**
2211
+ * Specifies the relationship between the current document and the linked resource.
2212
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-rel
2213
+ */
2214
+ rel?:
2215
+ | AttrMissing
2216
+ | "alternate"
2217
+ | "author"
2218
+ | "bookmark"
2219
+ | "canonical"
2220
+ | "dns-prefetch"
2221
+ | "external"
2222
+ | "help"
2223
+ | "icon"
2224
+ | "manifest"
2225
+ | "modulepreload"
2226
+ | "license"
2227
+ | "next"
2228
+ | "pingback"
2229
+ | "preconnect"
2230
+ | "prefetch"
2231
+ | "preload"
2232
+ | "prev"
2233
+ | "search"
2234
+ | "stylesheet"
2235
+ | (string & {});
2236
+
2237
+ /**
2238
+ * Specifies the size of the resource for rel="icon" or rel="apple-touch-icon".
2239
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-sizes
2240
+ */
2241
+ sizes?: AttrString;
2242
+
2243
+ /**
2244
+ * Specifies the MIME type of the linked resource.
2245
+ * @see https://html.spec.whatwg.org/multipage/links.html#attr-link-type
2246
+ */
2247
+ type?: AttrString;
2248
+
2249
+ /** @deprecated */
2250
+ charset?: AttrString;
2251
+
2252
+ /** @deprecated */
2253
+ rev?: AttrString;
2254
+ }
2255
+
2256
+ interface Main extends HTMLAttributes<HTMLElement> {}
2257
+ interface Map extends HTMLAttributes<HTMLMapElement> {
2258
+ /**
2259
+ * Specifies the name of the map.
2260
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-map-name
2261
+ */
2262
+ name?: AttrString;
2263
+ }
2264
+ interface Mark extends HTMLAttributes<HTMLElement> {}
2265
+ interface Menu extends HTMLAttributes<HTMLMenuElement> {
2266
+ /**
2267
+ * Specifies the title of the menu.
2268
+ * @see https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-menu-label
2269
+ */
2270
+ label?: AttrString;
2271
+
2272
+ /**
2273
+ * Specifies the type of the menu, either a context menu or a toolbar.
2274
+ * @see https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-menu-type
2275
+ */
2276
+ type?: AttrMissing | "context" | "toolbar";
2277
+ }
2278
+ interface Meta extends HTMLAttributes<HTMLMetaElement> {
2279
+ /**
2280
+ * Specifies the character encoding for the HTML document.
2281
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-charset
2282
+ */
2283
+ charset?: AttrString;
2284
+
2285
+ /**
2286
+ * Specifies the value associated with the http-equiv or name attribute.
2287
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-content
2288
+ */
2289
+ content?: AttrString;
2290
+
2291
+ /**
2292
+ * Specifies a pragma directive to affect the behavior of the user agent or server.
2293
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv
2294
+ */
2295
+ "http-equiv"?:
2296
+ | AttrMissing
2297
+ | "Content-Security-Policy"
2298
+ | "Content-Type"
2299
+ | "Default-Style"
2300
+ | "Refresh"
2301
+ | "X-UA-Compatible";
2302
+
2303
+ /**
2304
+ * Specifies the metadata name for the content attribute.
2305
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-name
2306
+ */
2307
+ name?: AttrString;
2308
+ }
2309
+ interface Meter extends HTMLAttributes<HTMLMeterElement> {
2310
+ /**
2311
+ * Specifies the upper bound of the high end of the measured range.
2312
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-high
2313
+ */
2314
+ high?: AttrStringOrNumber;
2315
+
2316
+ /**
2317
+ * Specifies the lower bound of the low end of the measured range.
2318
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-low
2319
+ */
2320
+ low?: AttrStringOrNumber;
2321
+
2322
+ /**
2323
+ * Specifies the maximum value of the range.
2324
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-max
2325
+ */
2326
+ max?: AttrStringOrNumber;
2327
+
2328
+ /**
2329
+ * Specifies the minimum value of the range.
2330
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-min
2331
+ */
2332
+ min?: AttrStringOrNumber;
2333
+
2334
+ /**
2335
+ * Specifies the value that is considered optimal.
2336
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-optimum
2337
+ */
2338
+ optimum?: AttrStringOrNumber;
2339
+
2340
+ /**
2341
+ * Specifies the current value of the meter.
2342
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-value
2343
+ */
2344
+ value?: AttrStringOrNumber;
2345
+ }
2346
+
2347
+ interface Nav extends HTMLAttributes<HTMLElement> {}
2348
+ interface NoScript extends HTMLAttributes<HTMLElement> {}
2349
+ interface Object extends HTMLAttributes<HTMLObjectElement> {
2350
+ /**
2351
+ * Specifies the URL of the resource to be embedded.
2352
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-data
2353
+ */
2354
+ data?: AttrString;
2355
+
2356
+ /**
2357
+ * Associates the object element with a form element.
2358
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
2359
+ */
2360
+ form?: AttrString;
2361
+
2362
+ /**
2363
+ * Specifies the height of the object element.
2364
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
2365
+ */
2366
+ height?: AttrStringOrNumber;
2367
+
2368
+ /**
2369
+ * Specifies the name of the object element.
2370
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-name
2371
+ */
2372
+ name?: AttrString;
2373
+
2374
+ /**
2375
+ * Specifies the MIME type of the resource.
2376
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-type
2377
+ */
2378
+ type?: AttrString;
2379
+
2380
+ /**
2381
+ * Specifies a client-side image map to be used with the object element.
2382
+ * @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-usemap
2383
+ */
2384
+ usemap?: AttrString;
2385
+
2386
+ /**
2387
+ * Specifies the width of the object element.
2388
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
2389
+ */
2390
+ width?: AttrStringOrNumber;
2391
+
2392
+ /** @deprecated */
2393
+ archive?: AttrString;
2394
+ /** @deprecated */
2395
+ border?: AttrString;
2396
+ /** @deprecated */
2397
+ classid?: AttrString;
2398
+ /** @deprecated */
2399
+ codebase?: AttrString;
2400
+ /** @deprecated */
2401
+ codetype?: AttrString;
2402
+ /** @deprecated */
2403
+ declare?: AttrBoolean;
2404
+ /** @deprecated */
2405
+ standby?: AttrString;
2406
+ }
2407
+ interface OL extends HTMLAttributes<HTMLOListElement> {
2408
+ /**
2409
+ * Specifies whether the list items are numbered in reverse order.
2410
+ * @see https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-reversed
2411
+ */
2412
+ reversed?: AttrBoolean;
2413
+
2414
+ /**
2415
+ * Specifies the starting value of the list items.
2416
+ * @see https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-start
2417
+ */
2418
+ start?: AttrStringOrNumber;
2419
+
2420
+ /**
2421
+ * Specifies the numbering type of the list items.
2422
+ * @see https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type
2423
+ */
2424
+ type?: AttrMissing | "1" | "a" | "A" | "i" | "I";
2425
+ }
2426
+ interface OptGroup extends HTMLAttributes<HTMLOptGroupElement> {
2427
+ /**
2428
+ * Specifies that the option group is disabled.
2429
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-optgroup-disabled
2430
+ */
2431
+ disabled?: AttrBoolean;
2432
+
2433
+ /**
2434
+ * Specifies a label for the option group.
2435
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-optgroup-label
2436
+ */
2437
+ label?: AttrString;
2438
+ }
2439
+ interface Option extends HTMLAttributes<HTMLOptionElement> {
2440
+ /**
2441
+ * Specifies that the option is disabled.
2442
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-disabled
2443
+ */
2444
+ disabled?: AttrBoolean;
2445
+
2446
+ /**
2447
+ * Specifies a label for the option element.
2448
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-label
2449
+ */
2450
+ label?: AttrString;
2451
+
2452
+ /**
2453
+ * Specifies that the option element is selected by default.
2454
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-selected
2455
+ */
2456
+ selected?: AttrBoolean;
2457
+
2458
+ /**
2459
+ * Specifies the value of the option element.
2460
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-value
2461
+ */
2462
+ value?: AttrStringOrNumber;
2463
+ }
2464
+ interface Output extends HTMLAttributes<HTMLOutputElement> {
2465
+ /**
2466
+ * Specifies the ID of the form element that this output element is associated with.
2467
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-output-for
2468
+ */
2469
+ for?: AttrString;
2470
+
2471
+ /**
2472
+ * Specifies the ID of the form that this output element belongs to.
2473
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
2474
+ */
2475
+ form?: AttrString;
2476
+
2477
+ /**
2478
+ * Specifies the name of the output element.
2479
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
2480
+ */
2481
+ name?: AttrString;
2482
+ }
2483
+
2484
+ interface P extends HTMLAttributes<HTMLParagraphElement> {}
2485
+ interface Picture extends HTMLAttributes<HTMLPictureElement> {}
2486
+ interface Pre extends HTMLAttributes<HTMLPreElement> {
2487
+ /** @deprecated */
2488
+ cols?: AttrStringOrNumber;
2489
+ /** @deprecated */
2490
+ width?: AttrStringOrNumber;
2491
+ /** @deprecated */
2492
+ wrap?: AttrString;
2493
+ }
2494
+ interface Progress extends HTMLAttributes<HTMLProgressElement> {
2495
+ /**
2496
+ * Specifies the maximum value of the progress bar.
2497
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-progress-max
2498
+ */
2499
+ max?: AttrStringOrNumber;
2500
+
2501
+ /**
2502
+ * Specifies the current value of the progress bar.
2503
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-progress-value
2504
+ */
2505
+ value?: AttrStringOrNumber;
2506
+ }
2507
+
2508
+ interface Q extends HTMLAttributes<HTMLQuoteElement> {
2509
+ /**
2510
+ * Specifies the URL of the source document or message that the quotation came from.
2511
+ * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-q-cite
2512
+ */
2513
+ cite?: AttrString;
2514
+ }
2515
+
2516
+ interface RP extends HTMLAttributes<HTMLElement> {}
2517
+ interface RT extends HTMLAttributes<HTMLElement> {}
2518
+ interface Ruby extends HTMLAttributes<HTMLElement> {}
2519
+ interface S extends HTMLAttributes<HTMLElement> {}
2520
+ interface Samp extends HTMLAttributes<HTMLElement> {}
2521
+ interface Script extends HTMLAttributes<HTMLScriptElement> {
2522
+ /**
2523
+ * Specifies that the script should be executed asynchronously.
2524
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-async
2525
+ */
2526
+ async?: AttrBoolean;
2527
+
2528
+ /**
2529
+ * Specifies that the script should be fetched and executed after the page is rendered.
2530
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-blocking
2531
+ */
2532
+ blocking?: AttrMissing | "render";
2533
+
2534
+ /**
2535
+ * Specifies whether CORS (Cross-Origin Resource Sharing) requests should be used when fetching the script.
2536
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-crossorigin
2537
+ */
2538
+ crossorigin?: AttrCrossOrigin;
2539
+
2540
+ /**
2541
+ * Specifies that the script should be executed after the page is parsed, but before the document is loaded.
2542
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-defer
2543
+ */
2544
+ defer?: AttrBoolean;
2545
+
2546
+ /**
2547
+ * Specifies the priority level for fetching the script.
2548
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-fetchpriority
2549
+ */
2550
+ fetchpriority?: AttrMissing | "auto" | "high" | "low";
2551
+
2552
+ /**
2553
+ * Specifies the integrity hash for the script.
2554
+ * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-link-integrity
2555
+ */
2556
+ integrity?: AttrString;
2557
+
2558
+ /**
2559
+ * Specifies that the script should be ignored if the browser doesn't support modules.
2560
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule
2561
+ */
2562
+ nomodule?: AttrBoolean;
2563
+
2564
+ /**
2565
+ * Specifies the referrer policy for the script.
2566
+ * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-link-referrerpolicy
2567
+ */
2568
+ referrerpolicy?: AttrReferrerPolicy;
2569
+
2570
+ /**
2571
+ * Specifies the URL of the script.
2572
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-src
2573
+ */
2574
+ src?: AttrString;
2575
+
2576
+ /**
2577
+ * Specifies the type of the script.
2578
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type
2579
+ */
2580
+ type?:
2581
+ | AttrMissing
2582
+ | "application/javascript"
2583
+ | "module"
2584
+ | "import-map"
2585
+ | (string & {});
2586
+
2587
+ /** @deprecated */
2588
+ charset?: AttrString;
2589
+ /** @deprecated */
2590
+ language?: AttrString;
2591
+ }
2592
+
2593
+ interface Section extends HTMLAttributes<HTMLElement> {}
2594
+ interface Select extends HTMLAttributes<HTMLSelectElement> {
2595
+ /**
2596
+ * Controls whether the browser should automatically complete the value for the select.
2597
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
2598
+ */
2599
+ autocomplete?: AttrOnOff;
2600
+
2601
+ /**
2602
+ * Indicates whether the select element should be disabled or not.
2603
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
2604
+ */
2605
+ disabled?: AttrBoolean;
2606
+
2607
+ /**
2608
+ * Specifies the form element associated with the select.
2609
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-fae-form
2610
+ */
2611
+ form?: AttrString;
2612
+
2613
+ /**
2614
+ * Indicates that multiple options can be selected.
2615
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-multiple
2616
+ */
2617
+ multiple?: AttrBoolean;
2618
+
2619
+ /**
2620
+ * The name attribute of the select element, which is used as a key
2621
+ * when submitting the form data. Also the named used in the form.elements.
2622
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
2623
+ * @see HTMLFormElement.elements
2624
+ */
2625
+ name?: AttrString;
2626
+
2627
+ /**
2628
+ * Indicates whether a selection is required or not for the select.
2629
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-required
2630
+ */
2631
+ required?: AttrBoolean;
2632
+
2633
+ /**
2634
+ * Specifies how many options are visible at once.
2635
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-size
2636
+ */
2637
+ size?: AttrStringOrNumber;
2638
+ }
2639
+
2640
+ interface Slot extends HTMLAttributes<HTMLSlotElement> {
2641
+ /**
2642
+ * Used to assign slots to other elements
2643
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-slot-name
2644
+ */
2645
+ name?: AttrString;
2646
+ }
2647
+
2648
+ interface Small extends HTMLAttributes<HTMLElement> {}
2649
+ interface Source extends HTMLAttributes<HTMLSourceElement> {
2650
+ /**
2651
+ * Specifies the MIME type of the resource provided by the <source> element.
2652
+ * Helps the browser decide if it can play the resource or not.
2653
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-type
2654
+ */
2655
+ type?: AttrString;
2656
+
2657
+ /**
2658
+ * Specifies the URL of the media resource for the <source> element.
2659
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-src
2660
+ */
2661
+ src?: AttrString;
2662
+
2663
+ /**
2664
+ * Specifies a list of image sources for the <source> element when used inside a <picture> element.
2665
+ * Provides a way to offer multiple image formats or resolutions.
2666
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-srcset
2667
+ */
2668
+ srcset?: AttrString;
2669
+
2670
+ /**
2671
+ * Specifies the sizes of the images provided in the srcset attribute for the <source> element.
2672
+ * Helps the browser choose the most suitable image based on the device's dimensions.
2673
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-sizes
2674
+ */
2675
+ sizes?: AttrString;
2676
+
2677
+ /**
2678
+ * Specifies the media conditions for the <source> element.
2679
+ * Helps the browser choose the most suitable source based on the device's capabilities and preferences.
2680
+ * @see https://html.spec.whatwg.org/multipage/embedded-content.html#attr-source-media
2681
+ */
2682
+ media?: AttrString;
2683
+
2684
+ /**
2685
+ * Specifies the height of the <source> element's media resource.
2686
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
2687
+ */
2688
+ height?: AttrStringOrNumber;
2689
+
2690
+ /**
2691
+ * Specifies the width of the <source> element's media resource.
2692
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
2693
+ */
2694
+ width?: AttrStringOrNumber;
2695
+ }
2696
+
2697
+ interface Span extends HTMLAttributes<HTMLSpanElement> {}
2698
+ interface Strong extends HTMLAttributes<HTMLElement> {}
2699
+ interface Style extends HTMLAttributes<HTMLStyleElement> {
2700
+ /**
2701
+ * Determines whether the <style> element blocks rendering.
2702
+ * Since <style> already blocks rendering, this attribute is currently useless until
2703
+ * a non-blocking option for this attribute is added.
2704
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-style-blocking
2705
+ */
2706
+ blocking?: AttrMissing | "render";
2707
+
2708
+ /**
2709
+ * Specifies the intended media for which the styles in the <style> element should be applied.
2710
+ * For example, "print" for print media or "screen" for screen display.
2711
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-style-media
2712
+ */
2713
+ media?: AttrString;
2714
+ /** @deprecated */
2715
+ scoped?: AttrBoolean;
2716
+ /** @deprecated */
2717
+ type?: AttrMissing | "text/css";
2718
+ }
2719
+ interface Sub extends HTMLAttributes<HTMLElement> {}
2720
+ interface Summary extends HTMLAttributes<HTMLElement> {}
2721
+ interface Sup extends HTMLAttributes<HTMLElement> {}
2722
+ interface Table extends HTMLAttributes<HTMLTableElement> {
2723
+ /** @deprecated */
2724
+ align?: AttrString;
2725
+ /** @deprecated */
2726
+ bgcolor?: AttrString;
2727
+ /** @deprecated */
2728
+ border?: AttrStringOrNumber;
2729
+ /** @deprecated */
2730
+ cellpadding?: AttrStringOrNumber;
2731
+ /** @deprecated */
2732
+ cellspacing?: AttrStringOrNumber;
2733
+ /** @deprecated */
2734
+ frame?: AttrString;
2735
+ /** @deprecated */
2736
+ rules?: AttrString;
2737
+ /** @deprecated */
2738
+ summary?: AttrString;
2739
+ /** @deprecated */
2740
+ width?: AttrStringOrNumber;
2741
+ }
2742
+ interface TBody extends HTMLAttributes<HTMLTableSectionElement> {
2743
+ /** @deprecated */
2744
+ align?: AttrString;
2745
+ /** @deprecated */
2746
+ bgcolor?: AttrString;
2747
+ /** @deprecated */
2748
+ char?: AttrString;
2749
+ /** @deprecated */
2750
+ charoff?: AttrStringOrNumber;
2751
+ /** @deprecated */
2752
+ valign?: AttrString;
2753
+ }
2754
+ interface TD extends HTMLAttributes<HTMLTableCellElement> {
2755
+ /**
2756
+ * Specifies how many columns the <td> element should span in the table.
2757
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-colspan
2758
+ */
2759
+ colspan?: AttrStringOrNumber;
2760
+
2761
+ /**
2762
+ * Specifies a list of header cell IDs that are related to the content of the <td> element.
2763
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-headers
2764
+ */
2765
+ headers?: AttrString;
2766
+
2767
+ /**
2768
+ * Specifies how many rows the <td> element should span in the table.
2769
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-rowspan
2770
+ */
2771
+ rowspan?: AttrStringOrNumber;
2772
+
2773
+ /** @deprecated */
2774
+ align?: AttrString;
2775
+ /** @deprecated */
2776
+ axis?: AttrString;
2777
+ /** @deprecated */
2778
+ bgcolor?: AttrString;
2779
+ /** @deprecated */
2780
+ char?: AttrString;
2781
+ /** @deprecated */
2782
+ charoff?: AttrStringOrNumber;
2783
+ /** @deprecated */
2784
+ height?: AttrStringOrNumber;
2785
+ /** @deprecated */
2786
+ scope?: AttrString;
2787
+ /** @deprecated */
2788
+ valign?: AttrString;
2789
+ /** @deprecated */
2790
+ width?: AttrStringOrNumber;
2791
+ }
2792
+ interface Template extends HTMLAttributes<HTMLTemplateElement> {
2793
+ /**
2794
+ * Specifies the shadow root mode for the <template> element when creating a shadow root.
2795
+ * "open" allows access to the shadow root, while "closed" restricts access.
2796
+ * @see https://developer.chrome.com/articles/declarative-shadow-dom
2797
+ * @see https://github.com/mfreed7/declarative-shadow-dom
2798
+ */
2799
+ shadowrootmode?: AttrMissing | "open" | "closed";
2800
+ }
2801
+ interface TextArea extends HTMLAttributes<HTMLTextAreaElement> {
2802
+ /**
2803
+ * Represents the autocomplete attribute of the <textarea> element.
2804
+ * Helps browsers autofill the user's input based on previous entries.
2805
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
2806
+ */
2807
+ autocomplete?: AttrOnOff;
2808
+
2809
+ /**
2810
+ * (Safari only). Controls the autocorrect behavior of the <textarea> element.
2811
+ */
2812
+ autocorrect?: AttrOnOff;
2813
+
2814
+ /**
2815
+ * Specifies the visible width of the <textarea> element in terms of character width.
2816
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-cols
2817
+ */
2818
+ cols?: AttrStringOrNumber;
2819
+
2820
+ /**
2821
+ * Represents the dirname attribute of the <textarea> element.
2822
+ * Provides a way to submit the text direction (ltr or rtl) along with the form data.
2823
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-dirname
2824
+ */
2825
+ dirname?: AttrString;
2826
+
2827
+ /**
2828
+ * Indicates whether the <textarea> element should be disabled or not.
2829
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
2830
+ */
2831
+ disabled?: AttrBoolean;
2832
+
2833
+ /**
2834
+ * Represents the form attribute of the <textarea> element.
2835
+ * Associates the <textarea> with a specific <form> element.
2836
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
2837
+ */
2838
+ form?: AttrString;
2839
+
2840
+ /**
2841
+ * Specifies the maximum number of characters that can be entered into the <textarea> element.
2842
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-maxlength
2843
+ */
2844
+ maxlength?: AttrStringOrNumber;
2845
+
2846
+ /**
2847
+ * Specifies the minimum number of characters required for the <textarea> element.
2848
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-minlength
2849
+ */
2850
+ minlength?: AttrStringOrNumber;
2851
+
2852
+ /**
2853
+ * Represents the name attribute of the <textarea> element.
2854
+ * Used as a key when submitting the form data.
2855
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
2856
+ */
2857
+ name?: AttrString;
2858
+
2859
+ /**
2860
+ * Specifies a short hint that describes the expected value of the <textarea> element.
2861
+ * Displayed when the element is empty and not focused.
2862
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-placeholder
2863
+ */
2864
+ placeholder?: AttrString;
2865
+
2866
+ /**
2867
+ * Indicates whether the <textarea> element should be read-only or not.
2868
+ * Users can't modify the content, but the text is selectable and can be copied.
2869
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-readonly
2870
+ */
2871
+ readonly?: AttrBoolean;
2872
+
2873
+ /**
2874
+ * Indicates whether a value is required or not for the <textarea> element.
2875
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-required
2876
+ */
2877
+ required?: AttrBoolean;
2878
+
2879
+ /**
2880
+ * Specifies the visible height of the <textarea> element in terms of text lines.
2881
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-rows
2882
+ */
2883
+ rows?: AttrStringOrNumber;
2884
+
2885
+ /**
2886
+ * (Non-standard). Represents the current value of the <textarea> element.
2887
+ */
2888
+ value?: AttrString;
2889
+
2890
+ /**
2891
+ * Controls the line wrapping behavior of the <textarea> element.
2892
+ * "hard" inserts line breaks in the submitted value, "soft" doesn't, and "off" disables wrapping.
2893
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-wrap
2894
+ */
2895
+ wrap?: AttrMissing | "hard" | "soft" | "off";
2896
+ }
2897
+
2898
+ interface TFoot extends HTMLAttributes<HTMLTableSectionElement> {
2899
+ /** @deprecated */
2900
+ align?: AttrString;
2901
+ /** @deprecated */
2902
+ bgcolor?: AttrString;
2903
+ /** @deprecated */
2904
+ char?: AttrString;
2905
+ /** @deprecated */
2906
+ charoff?: AttrStringOrNumber;
2907
+ /** @deprecated */
2908
+ valign?: AttrString;
2909
+ }
2910
+ interface TH extends HTMLAttributes<HTMLTableCellElement> {
2911
+ /**
2912
+ * Represents the abbreviation for the content of the <th> element.
2913
+ * Provides a short description or label for the cell, which can be used by screen readers.
2914
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-th-abbr
2915
+ */
2916
+ abbr?: AttrString;
2917
+
2918
+ /**
2919
+ * Specifies how many columns the <th> element should span in the table.
2920
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-colspan
2921
+ */
2922
+ colspan?: AttrStringOrNumber;
2923
+
2924
+ /**
2925
+ * Specifies a list of header cell IDs that are related to the content of the <th> element.
2926
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-headers
2927
+ */
2928
+ headers?: AttrString;
2929
+
2930
+ /**
2931
+ * Specifies how many rows the <th> element should span in the table.
2932
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-rowspan
2933
+ */
2934
+ rowspan?: AttrStringOrNumber;
2935
+
2936
+ /**
2937
+ * Specifies the scope of the <th> element, defining its association with either row or column headers.
2938
+ * @see https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope
2939
+ */
2940
+ scope?: AttrMissing | "col" | "row" | "rowgroup" | "colgroup";
2941
+
2942
+ /** @deprecated */
2943
+ align?: AttrString;
2944
+ /** @deprecated */
2945
+ axis?: AttrString;
2946
+ /** @deprecated */
2947
+ bgcolor?: AttrString;
2948
+ /** @deprecated */
2949
+ char?: AttrString;
2950
+ /** @deprecated */
2951
+ charoff?: AttrStringOrNumber;
2952
+ /** @deprecated */
2953
+ height?: AttrStringOrNumber;
2954
+ /** @deprecated */
2955
+ valign?: AttrString;
2956
+ /** @deprecated */
2957
+ width?: AttrStringOrNumber;
2958
+ }
2959
+ interface THead extends HTMLAttributes<HTMLTableSectionElement> {
2960
+ /** @deprecated */
2961
+ align?: AttrString;
2962
+ /** @deprecated */
2963
+ bgcolor?: AttrString;
2964
+ /** @deprecated */
2965
+ char?: AttrString;
2966
+ /** @deprecated */
2967
+ charoff?: AttrStringOrNumber;
2968
+ /** @deprecated */
2969
+ valign?: AttrString;
2970
+ }
2971
+ interface Time extends HTMLAttributes<HTMLTimeElement> {
2972
+ /**
2973
+ * Represents the machine-readable datetime attribute of the <time> element.
2974
+ * Provides a standardized way to represent dates and times in HTML content.
2975
+ * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-time-datetime
2976
+ */
2977
+ datetime?: AttrString;
2978
+ }
2979
+ interface Title extends HTMLAttributes<HTMLTitleElement> {}
2980
+ interface TR extends HTMLAttributes<HTMLTableRowElement> {
2981
+ /** @deprecated */
2982
+ align?: AttrString;
2983
+ /** @deprecated */
2984
+ bgcolor?: AttrString;
2985
+ /** @deprecated */
2986
+ char?: AttrString;
2987
+ /** @deprecated */
2988
+ charoff?: AttrStringOrNumber;
2989
+ /** @deprecated */
2990
+ valign?: AttrString;
2991
+ }
2992
+ interface Track extends HTMLAttributes<HTMLTrackElement> {
2993
+ default?: AttrBoolean;
2994
+ kind?:
2995
+ | AttrMissing
2996
+ | "subtitles"
2997
+ | "captions"
2998
+ | "descriptions"
2999
+ | "chapters"
3000
+ | "metadata";
3001
+ label?: AttrString;
3002
+ src?: AttrString;
3003
+ srclang?: AttrString;
3004
+ }
3005
+ interface U extends HTMLAttributes<HTMLElement> {}
3006
+ interface UL extends HTMLAttributes<HTMLUListElement> {
3007
+ /** @deprecated */
3008
+ compact?: AttrBoolean;
3009
+ /** @deprecated */
3010
+ type?: AttrMissing | "disc" | "square" | "circle";
3011
+ }
3012
+ interface Var extends HTMLAttributes<HTMLElement> {}
3013
+ interface Video extends HTMLAttributes<HTMLVideoElement> {
3014
+ /**
3015
+ * Indicates if the video can automatically enter Picture-in-Picture mode when not visible.
3016
+ * @see https://w3c.github.io/picture-in-picture/#auto-pip
3017
+ */
3018
+ autopictureinpicture?: AttrBoolean;
3019
+
3020
+ /**
3021
+ * Specifies whether the video should start playing automatically when the page loads.
3022
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-autoplay
3023
+ */
3024
+ autoplay?: AttrBoolean;
3025
+
3026
+ /**
3027
+ * Indicates whether the browser should provide default video controls.
3028
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-controls
3029
+ */
3030
+ controls?: AttrBoolean;
3031
+
3032
+ /**
3033
+ * Specifies the controls to be shown or hidden on the audio player.
3034
+ * @see https://wicg.github.io/controls-list/explainer.html
3035
+ */
3036
+ controlslist?:
3037
+ | AttrMissing
3038
+ | "nodownload"
3039
+ | "nofullscreen"
3040
+ | "noplaybackrate"
3041
+ | "noremoteplayback"
3042
+ | (string & {});
3043
+
3044
+ /**
3045
+ * Specifies the CORS settings for the video resource.
3046
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-crossorigin
3047
+ */
3048
+ crossorigin?: AttrCrossOrigin;
3049
+
3050
+ /**
3051
+ * Disables the Picture-in-Picture mode for the video.
3052
+ * @see https://wicg.github.io/picture-in-picture/#disablepictureinpicture-attribute
3053
+ */
3054
+ disablepictureinpicture?: AttrBoolean;
3055
+
3056
+ /**
3057
+ * Disables the Remote Playback API for the video.
3058
+ * @see https://w3c.github.io/remote-playback/#the-disableremoteplayback-attribute
3059
+ */
3060
+ disableremoteplayback?: AttrBoolean;
3061
+
3062
+ /**
3063
+ * Specifies the height of the video's display area.
3064
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-video-height
3065
+ */
3066
+ height?: AttrStringOrNumber;
3067
+
3068
+ /**
3069
+ * Indicates whether the video should start over again when it ends.
3070
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-loop
3071
+ */
3072
+ loop?: AttrBoolean;
3073
+
3074
+ /**
3075
+ * Indicates whether the video should be muted by default.
3076
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-muted
3077
+ */
3078
+ muted?: AttrBoolean;
3079
+
3080
+ /**
3081
+ * Specifies that the video should be played inline on iOS devices, rather than automatically entering fullscreen mode when playback begins.
3082
+ * @see https://webkit.org/blog/6784/new-video-policies-for-ios/
3083
+ */
3084
+ playsinline?: AttrBoolean;
3085
+
3086
+ /**
3087
+ * Specifies the URL of an image to be shown while the video is downloading or until the user plays the video.
3088
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-video-poster
3089
+ */
3090
+ poster?: AttrString;
3091
+
3092
+ /**
3093
+ * Specifies how much of the video should be preloaded when the page loads.
3094
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-preload
3095
+ */
3096
+ preload?: AttrBoolean | "none" | "metadata" | "auto";
3097
+ /**
3098
+ * Specifies the URL of the video file to be embedded.
3099
+ * @see https://html.spec.whatwg.org/multipage/media.html#attr-media-src
3100
+ */
3101
+ src?: AttrString;
3102
+ /**
3103
+ * Specifies the width of the video's display area.
3104
+ * @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
3105
+ */
3106
+ width?: AttrStringOrNumber;
3107
+ }
3108
+
3109
+ interface WBr extends HTMLAttributes<HTMLElement> {}
3110
+ }
3111
+
3112
+ interface HTMLAttributes<T extends Element> extends AriaAttributes {
3113
+ /**
3114
+ * Specifies a keyboard shortcut to activate or focus on an element.
3115
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
3116
+ */
3117
+ accesskey?: AttrString;
3118
+
3119
+ /**
3120
+ * Controls the capitalization behavior of user input.
3121
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-autocapitalize
3122
+ */
3123
+ autocapitalize?:
3124
+ | AttrOnOff
3125
+ | "characters"
3126
+ | "none"
3127
+ | "sentences"
3128
+ | "words";
3129
+
3130
+ /**
3131
+ * Indicates whether the element should automatically get focus when the page loads.
3132
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-autofocus-attribute
3133
+ */
3134
+ autofocus?: AttrBoolean;
3135
+
3136
+ /**
3137
+ * Specifies a space-separated list of class names for an element.
3138
+ * @see https://markojs.com/docs/syntax/#class-attribute
3139
+ * @see https://html.spec.whatwg.org/multipage/dom.html#classes
3140
+ */
3141
+ class?: AttrClass;
3142
+
3143
+ /**
3144
+ * Specifies whether the content of an element is editable or not.
3145
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable
3146
+ */
3147
+ contenteditable?: AttrBooleanString | "plaintext-only";
3148
+
3149
+ /**
3150
+ * Specifies the ID of a context menu to show when the element is right-clicked.
3151
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contextmenu
3152
+ */
3153
+ contextmenu?: AttrString;
3154
+
3155
+ /**
3156
+ * Specifies the text direction for the content of an element.
3157
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute
3158
+ */
3159
+ dir?: AttrMissing | "ltr" | "rtl" | "auto";
3160
+
3161
+ /**
3162
+ * Specifies whether an element is draggable or not.
3163
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#the-draggable-attribute
3164
+ */
3165
+ draggable?: AttrBooleanString;
3166
+
3167
+ /**
3168
+ * A string used to identify the element for performance measurement purposes.
3169
+ * @see https://wicg.github.io/element-timing/#sec-elements-exposed
3170
+ */
3171
+ elementtiming?: AttrString;
3172
+
3173
+ /**
3174
+ * Provides a hint to the user agent about the type of action expected from the "Enter" key.
3175
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-enterkeyhint
3176
+ */
3177
+ enterkeyhint?:
3178
+ | AttrMissing
3179
+ | "enter"
3180
+ | "done"
3181
+ | "go"
3182
+ | "next"
3183
+ | "previous"
3184
+ | "search"
3185
+ | "send";
3186
+
3187
+ /**
3188
+ * Specifies a list of part names for the element that are available for CSS ::part() selector.
3189
+ * @see https://drafts.csswg.org/css-shadow-parts-1/#exportparts-attribute
3190
+ */
3191
+ exportparts?: AttrString;
3192
+
3193
+ /**
3194
+ * Indicates whether the element should be hidden from rendering or not.
3195
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute
3196
+ */
3197
+ hidden?: AttrBoolean | "until-found";
3198
+
3199
+ /**
3200
+ * Specifies a unique identifier for the element within the document.
3201
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute
3202
+ */
3203
+ id?: AttrString;
3204
+
3205
+ /**
3206
+ * Specifies whether an element should be inert or not, preventing user interaction and making it non-focusable.
3207
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees
3208
+ */
3209
+ inert?: AttrBoolean;
3210
+
3211
+ /**
3212
+ * Provides a hint to the user agent about the type of virtual keyboard to display for text input.
3213
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode
3214
+ */
3215
+ inputmode?:
3216
+ | AttrMissing
3217
+ | "decimal"
3218
+ | "email"
3219
+ | "none"
3220
+ | "numeric"
3221
+ | "search"
3222
+ | "tel"
3223
+ | "text"
3224
+ | "url";
3225
+
3226
+ /**
3227
+ * Specifies the name of a custom element to use as a replacement for the standard built-in element.
3228
+ * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
3229
+ */
3230
+ is?: AttrString;
3231
+
3232
+ /**
3233
+ * Specifies a globally unique identifier (URI) for the element in the context of microdata.
3234
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid
3235
+ */
3236
+ itemid?: AttrString;
3237
+
3238
+ /**
3239
+ * Specifies a list of one or more property names for the element in the context of microdata.
3240
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemprop
3241
+ */
3242
+ itemprop?: AttrString;
3243
+
3244
+ /**
3245
+ * Specifies a list of IDs of elements that contain additional properties for the item in the context of microdata.
3246
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemref
3247
+ */
3248
+ itemref?: AttrString;
3249
+
3250
+ /**
3251
+ * Specifies that the element is a microdata item, representing a single entity or concept.
3252
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemscope
3253
+ */
3254
+ itemscope?: AttrBoolean;
3255
+
3256
+ /**
3257
+ * Specifies the type of item represented by the element using a vocabulary URL in the context of microdata.
3258
+ * @see https://html.spec.whatwg.org/multipage/microdata.html#attr-itemtype
3259
+ */
3260
+ itemtype?: AttrString;
3261
+
3262
+ /**
3263
+ * Specifies the primary language for the element's contents and for any child elements.
3264
+ * @see https://html.spec.whatwg.org/multipage/dom.html#attr-lang
3265
+ */
3266
+ lang?: AttrString;
3267
+
3268
+ /**
3269
+ * Specifies a cryptographic nonce (number used once) for content within a script or style element.
3270
+ * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#attr-nonce
3271
+ */
3272
+ nonce?: AttrString;
3273
+
3274
+ /**
3275
+ * Specifies a list of part names for the element that can be targeted by the ::part() CSS pseudo-element.
3276
+ * @see https://drafts.csswg.org/css-shadow-parts-1/#part-attribute
3277
+ */
3278
+ part?: AttrString;
3279
+
3280
+ /**
3281
+ * Specifies the name of the slot the element should be assigned to when inside a shadow tree.
3282
+ * @see https://html.spec.whatwg.org/multipage/scripting.html#attr-slot
3283
+ */
3284
+ slot?: AttrString;
3285
+
3286
+ /**
3287
+ * Specifies whether the element should have its spelling and grammar checked or not.
3288
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-spellcheck
3289
+ */
3290
+ spellcheck?: AttrBooleanString;
3291
+
3292
+ /**
3293
+ * Specifies the inline CSS styles for the element.
3294
+ * @see https://markojs.com/docs/syntax/#style-attribute
3295
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-style-attribute
3296
+ */
3297
+ style?: AttrStyle;
3298
+
3299
+ /**
3300
+ * Specifies the order in which elements should be focused when navigating via the keyboard.
3301
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex
3302
+ */
3303
+ tabindex?: AttrStringOrNumber;
3304
+
3305
+ /**
3306
+ * Specifies extra information about the element, usually shown as a tooltip.
3307
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-title-attribute
3308
+ */
3309
+ title?: AttrString;
3310
+
3311
+ /**
3312
+ * Specifies whether the element's content should be translated when the page is localized.
3313
+ * @see https://html.spec.whatwg.org/multipage/dom.html#the-translate-attribute
3314
+ */
3315
+ translate?: AttrYesNoString;
3316
+
3317
+ /**
3318
+ * Specifies the policy for showing the virtual keyboard when an element receives focus.
3319
+ * @see https://w3c.github.io/virtual-keyboard/#dom-elementcontenteditable-virtualkeyboardpolicy
3320
+ */
3321
+ virtualkeyboardpolicy?: AttrMissing | "auto" | "manual";
3322
+
3323
+ /**
3324
+ * Provide body content for the tag as a Marko.Body.
3325
+ * @see Marko.Body
3326
+ */
3327
+ renderBody?: Marko.Body<[], void>;
3328
+
3329
+ /**
3330
+ * Fired when resource was not fully loaded, but not as the result of an error.
3331
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-abort
3332
+ */
3333
+ onAbort?: AttrEventHandler<Event, T>;
3334
+ "on-abort"?: this["onAbort"];
3335
+
3336
+ /**
3337
+ * Fired when an Animation unexpectedly aborts.
3338
+ * @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationcancel
3339
+ */
3340
+ onAnimationCancel?: AttrEventHandler<AnimationEvent, T>;
3341
+ "on-animationcancel"?: this["onAnimationCancel"];
3342
+
3343
+ /**
3344
+ * Fired when an animation has completed.
3345
+ * @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationend
3346
+ */
3347
+ onAnimationEnd?: AttrEventHandler<AnimationEvent, T>;
3348
+ "on-animationend"?: this["onAnimationEnd"];
3349
+
3350
+ /**
3351
+ * Fired at the end of each iteration of an animation, except when an animationend event would fire at the same time.
3352
+ * @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationiteration
3353
+ */
3354
+ onAnimationIteration?: AttrEventHandler<AnimationEvent, T>;
3355
+ "on-animationiteration"?: this["onAnimationIteration"];
3356
+
3357
+ /**
3358
+ * Fired when an animation has started.
3359
+ * @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationstart
3360
+ */
3361
+ onAnimationStart?: AttrEventHandler<AnimationEvent, T>;
3362
+ "on-animationstart"?: this["onAnimationStart"];
3363
+
3364
+ /**
3365
+ * Fired when a non-primary pointing device button (any mouse button other than the primary—usually leftmost—button)
3366
+ * has been pressed and released both within the same element.
3367
+ * @see https://w3c.github.io/uievents/#event-type-auxclick
3368
+ */
3369
+ onAuxClick?: AttrEventHandler<PointerEvent, T>;
3370
+ "on-auxclick"?: this["onAuxClick"];
3371
+
3372
+ /**
3373
+ * Fires when the value of an <input>, or <textarea> element is about to be modified.
3374
+ * @see https://w3c.github.io/uievents/#event-type-beforeinput
3375
+ */
3376
+ onBeforeInput?: AttrEventHandler<InputEvent, T>;
3377
+ "on-beforeinput"?: this["onBeforeInput"];
3378
+
3379
+ /**
3380
+ * Fires when a node loses focus.
3381
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-blur
3382
+ */
3383
+ onBlur?: AttrEventHandler<Event, T>;
3384
+ "on-blur"?: this["onBlur"];
3385
+
3386
+ /**
3387
+ * Fires when the user agent can resume playback of the media data,
3388
+ * but estimates that if playback were to be started now, the media resource could not be rendered at the current
3389
+ * playback rate up to its end without having to stop for further buffering of content.
3390
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplay
3391
+ */
3392
+ onCanPlay?: AttrEventHandler<Event, T>;
3393
+ "on-canplay"?: this["onCanPlay"];
3394
+
3395
+ /**
3396
+ * Fires when the user agent can play through the media data without having to stop for further buffering of content.
3397
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplaythrough
3398
+ */
3399
+ onCanPlayThrough?: AttrEventHandler<Event, T>;
3400
+ "on-canplaythrough"?: this["onCanPlayThrough"];
3401
+
3402
+ /**
3403
+ * Fired when the form elements value is modified.
3404
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-change
3405
+ */
3406
+ onChange?: AttrEventHandler<Event, T>;
3407
+ "on-change"?: this["onChange"];
3408
+
3409
+ /**
3410
+ * Normally a mouse event; also synthetically fired at an element before its activation behavior is run,
3411
+ * when an element is activated from a non-pointer input device (e.g. a keyboard).
3412
+ * @see https://w3c.github.io/uievents/#event-type-click
3413
+ */
3414
+ onClick?: AttrEventHandler<PointerEvent, T>;
3415
+ "on-click"?: this["onClick"];
3416
+
3417
+ /**
3418
+ * Fired when a text composition system such as an input method editor completes or cancels the current composition session.
3419
+ * @see https://w3c.github.io/uievents/#event-type-compositionend
3420
+ */
3421
+ onCompositionEnd?: AttrEventHandler<CompositionEvent, T>;
3422
+ "on-compositionend"?: this["onCompositionEnd"];
3423
+
3424
+ /**
3425
+ * Fired when a text composition system such as an input method editor starts a new composition session.
3426
+ * @see https://w3c.github.io/uievents/#event-type-compositionstart
3427
+ */
3428
+ onCompositionStart?: AttrEventHandler<CompositionEvent, T>;
3429
+ "on-compositionstart"?: this["onCompositionStart"];
3430
+
3431
+ /**
3432
+ * Fired when a new character is received in the context of a text composition session controlled by a text
3433
+ * composition system such as an input method editor.
3434
+ * @see https://w3c.github.io/uievents/#event-type-compositionupdate
3435
+ */
3436
+ onCompositionUpdate?: AttrEventHandler<CompositionEvent, T>;
3437
+ "on-compositionupdate"?: this["onCompositionUpdate"];
3438
+
3439
+ /**
3440
+ * Fired when the user attempts to open a context menu.
3441
+ * This event is typically triggered by clicking the right mouse button, or by pressing the context menu key.
3442
+ * @see https://w3c.github.io/uievents/#event-type-contextmenu
3443
+ */
3444
+ onContextMenu?: AttrEventHandler<PointerEvent, T>;
3445
+ "on-contextmenu"?: this["onContextMenu"];
3446
+
3447
+ /**
3448
+ * Fired when the user copies the content of an element.
3449
+ * @see https://w3c.github.io/clipboard-apis/#clipboard-event-copy
3450
+ */
3451
+ onCopy?: AttrEventHandler<ClipboardEvent, T>;
3452
+ "on-copy"?: this["onCopy"];
3453
+
3454
+ /**
3455
+ * Fired when the user cuts the content of an element.
3456
+ * @see https://w3c.github.io/clipboard-apis/#clipboard-event-cut
3457
+ */
3458
+ onCut?: AttrEventHandler<ClipboardEvent, T>;
3459
+ "on-cut"?: this["onCut"];
3460
+
3461
+ /**
3462
+ * Fired when the user double-clicks on an element.
3463
+ * @see https://w3c.github.io/uievents/#event-type-dblclick
3464
+ */
3465
+ onDblClick?: AttrEventHandler<MouseEvent, T>;
3466
+ "on-dblclick"?: this["onDblClick"];
3467
+
3468
+ /**
3469
+ * Fired every few hundred milliseconds as an element or text selection is being dragged by the user.
3470
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-drag
3471
+ */
3472
+ onDrag?: AttrEventHandler<DragEvent, T>;
3473
+ "on-drag"?: this["onDrag"];
3474
+
3475
+ /**
3476
+ * Fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
3477
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragend
3478
+ */
3479
+ onDragEnd?: AttrEventHandler<DragEvent, T>;
3480
+ "on-dragend"?: this["onDragEnd"];
3481
+
3482
+ /**
3483
+ * Fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
3484
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragenter
3485
+ */
3486
+ onDragEnter?: AttrEventHandler<DragEvent, T>;
3487
+ "on-dragenter"?: this["onDragEnter"];
3488
+
3489
+ /**
3490
+ * Fired when a dragged element or text selection leaves a valid drop target.
3491
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragleave
3492
+ */
3493
+ onDragLeave?: AttrEventHandler<DragEvent, T>;
3494
+ "on-dragleave"?: this["onDragLeave"];
3495
+
3496
+ /**
3497
+ * Fired an element or text selection is being dragged over a valid drop target (every few hundred milliseconds).
3498
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragover
3499
+ */
3500
+ onDragOver?: AttrEventHandler<DragEvent, T>;
3501
+ "on-dragover"?: this["onDragOver"];
3502
+
3503
+ /**
3504
+ * Fired when an element or text selection has started being dragged.
3505
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragstart
3506
+ */
3507
+ onDragStart?: AttrEventHandler<DragEvent, T>;
3508
+ "on-dragstart"?: this["onDragStart"];
3509
+
3510
+ /**
3511
+ * Fired when an element or text selection is dropped on a valid drop target.
3512
+ * @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-drop
3513
+ */
3514
+ onDrop?: AttrEventHandler<DragEvent, T>;
3515
+ "on-drop"?: this["onDrop"];
3516
+
3517
+ /**
3518
+ * Fired when the duration attribute of a media element has just been updated.
3519
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-durationchange
3520
+ */
3521
+ onDurationChange?: AttrEventHandler<Event, T>;
3522
+ "on-durationchange"?: this["onDurationChange"];
3523
+
3524
+ /**
3525
+ * Fired when a media element's playback stops because its source data has been fully consumed and not looped.
3526
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-emptied
3527
+ */
3528
+ onEmptied?: AttrEventHandler<Event, T>;
3529
+ "on-emptied"?: this["onEmptied"];
3530
+
3531
+ /**
3532
+ * Fired when an encrypted media stream is encountered and the user agent recognizes the stream's encryption scheme.
3533
+ * @see https://w3c.github.io/encrypted-media/#dom-evt-encrypted
3534
+ */
3535
+ onEncrypted?: AttrEventHandler<MediaEncryptedEvent, T>;
3536
+ "on-encrypted"?: this["onEncrypted"];
3537
+
3538
+ /**
3539
+ * Fired when playback of a media element reaches its end, either because the media has reached its end or the loop attribute is not set.
3540
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-ended
3541
+ */
3542
+ onEnded?: AttrEventHandler<Event, T>;
3543
+ "on-ended"?: this["onEnded"];
3544
+
3545
+ /**
3546
+ * Fired when an error occurs while fetching an external resource, such as a script, image, or video.
3547
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-error
3548
+ */
3549
+ onError?: AttrEventHandler<ErrorEvent | Event, T>;
3550
+ "on-error"?: this["onError"];
3551
+
3552
+ /**
3553
+ * Fired when an element receives focus, either by user input or via script.
3554
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#event-focus
3555
+ */
3556
+ onFocus?: AttrEventHandler<FocusEvent, T>;
3557
+ "on-focus"?: this["onFocus"];
3558
+
3559
+ /**
3560
+ * Fires when an element has received focus, after the focus event. The two events differ in that focusin bubbles, while focus does not.
3561
+ * @see HTMLAttributes.onFocus
3562
+ * @see https://w3c.github.io/uievents/#event-type-focusin
3563
+ */
3564
+ onFocusIn?: AttrEventHandler<FocusEvent, T>;
3565
+ "on-focusin"?: this["onFocusIn"];
3566
+
3567
+ /**
3568
+ * Fires when an element has lost focus, after the blur event. The two events differ in that focusout bubbles, while blur does not.
3569
+ * @see HTMLAttributes.onBlur
3570
+ * @see https://w3c.github.io/uievents/#event-type-focusout
3571
+ */
3572
+ onFocusOut?: AttrEventHandler<FocusEvent, T>;
3573
+ "on-focusout"?: this["onFocusOut"];
3574
+
3575
+ /**
3576
+ * Fired immediately after an Element switches into or out of fullscreen mode.
3577
+ * @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenchange
3578
+ */
3579
+ onFullscreenChange?: AttrEventHandler<Event, T>;
3580
+ "on-fullscreenchange"?: this["onFullscreenChange"];
3581
+
3582
+ /**
3583
+ * Fired when the browser cannot switch to fullscreen mode.
3584
+ * @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenerror
3585
+ */
3586
+ onFullscreenError?: AttrEventHandler<Event, T>;
3587
+ "on-fullscreenerror"?: this["onFullscreenError"];
3588
+
3589
+ /**
3590
+ * Fired when an element captures a pointer using setPointerCapture().
3591
+ *
3592
+ * @see Element.setPointerCapture
3593
+ * @see https://w3c.github.io/pointerevents/#the-gotpointercapture-event
3594
+ */
3595
+ onGotPointerCapture?: AttrEventHandler<PointerEvent, T>;
3596
+ "on-gotpointercapture"?: this["onGotPointerCapture"];
3597
+
3598
+ /**
3599
+ * Fired when the form element's value changes, as a result of user input.
3600
+ * @see https://w3c.github.io/uievents/#event-type-input
3601
+ */
3602
+ onInput?: AttrEventHandler<InputEvent, T>;
3603
+ "on-input"?: this["onInput"];
3604
+
3605
+ /**
3606
+ * Fired when a form element is found to be invalid during submission or constraint validation.
3607
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-invalid
3608
+ */
3609
+ onInvalid?: AttrEventHandler<Event, T>;
3610
+ "on-invalid"?: this["onInvalid"];
3611
+
3612
+ /**
3613
+ * Fired when a key is first pressed down.
3614
+ * @see https://w3c.github.io/uievents/#event-type-keydown
3615
+ */
3616
+ onKeyDown?: AttrEventHandler<KeyboardEvent, T>;
3617
+ "on-keydown"?: this["onKeyDown"];
3618
+
3619
+ /**
3620
+ * Fired when a key is pressed down and then released, while the element has focus.
3621
+ * @see https://w3c.github.io/uievents/#event-type-keypress
3622
+ */
3623
+ onKeyPress?: AttrEventHandler<KeyboardEvent, T>;
3624
+ "on-keypress"?: this["onKeyPress"];
3625
+
3626
+ /**
3627
+ * Fired when a key is released after being pressed down.
3628
+ * @see https://w3c.github.io/uievents/#event-type-keyup
3629
+ */
3630
+ onKeyUp?: AttrEventHandler<KeyboardEvent, T>;
3631
+ "on-keyup"?: this["onKeyUp"];
3632
+
3633
+ /**
3634
+ * Fired when an element or resource, such as an image, has completely loaded.
3635
+ * @see https://html.spec.whatwg.org/multipage/indices.html#event-load
3636
+ */
3637
+ onLoad?: AttrEventHandler<Event, T>;
3638
+ "on-load"?: this["onLoad"];
3639
+
3640
+ /**
3641
+ * Fired when the user agent can render the media data at the current playback position for the first time.
3642
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadeddata
3643
+ */
3644
+ onLoadedData?: AttrEventHandler<Event, T>;
3645
+ "on-loadeddata"?: this["onLoadedData"];
3646
+
3647
+ /**
3648
+ * Fired when the user agent has just determined the duration and dimensions of the media resource.
3649
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadedmetadata
3650
+ */
3651
+ onLoadedMetadata?: AttrEventHandler<Event, T>;
3652
+ "on-loadedmetadata"?: this["onLoadedMetadata"];
3653
+
3654
+ /**
3655
+ * Fired when the user agent begins looking for media data, before the media has begun to load.
3656
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadstart
3657
+ */
3658
+ onLoadStart?: AttrEventHandler<Event, T>;
3659
+ "on-loadstart"?: this["onLoadStart"];
3660
+
3661
+ /**
3662
+ * Fired when a captured pointer is released.
3663
+ * @see https://w3c.github.io/pointerevents/#dfn-lostpointercapture
3664
+ */
3665
+ onLostPointerCapture?: AttrEventHandler<PointerEvent, T>;
3666
+ "on-lostpointercapture"?: this["onLostPointerCapture"];
3667
+
3668
+ /**
3669
+ * Fired when a pointing device button is pressed down over an element.
3670
+ * @see https://w3c.github.io/uievents/#event-type-mousedown
3671
+ */
3672
+ onMouseDown?: AttrEventHandler<MouseEvent, T>;
3673
+ "on-mousedown"?: this["onMouseDown"];
3674
+
3675
+ /**
3676
+ * Fired when a pointing device is moved onto the element.
3677
+ * @see https://w3c.github.io/uievents/#event-type-mouseenter
3678
+ */
3679
+ onMouseEnter?: AttrEventHandler<MouseEvent, T>;
3680
+ "on-mouseenter"?: this["onMouseEnter"];
3681
+
3682
+ /**
3683
+ * Fired when a pointing device is moved off the element.
3684
+ * @see https://w3c.github.io/uievents/#event-type-mouseleave
3685
+ */
3686
+ onMouseLeave?: AttrEventHandler<MouseEvent, T>;
3687
+ "on-mouseleave"?: this["onMouseLeave"];
3688
+
3689
+ /**
3690
+ * Fired when a pointing device is moved over an element.
3691
+ * @see https://w3c.github.io/uievents/#event-type-mousemove
3692
+ */
3693
+ onMouseMove?: AttrEventHandler<MouseEvent, T>;
3694
+ "on-mousemove"?: this["onMouseMove"];
3695
+
3696
+ /**
3697
+ * Fired when a pointing device is moved off the element or off one of its children.
3698
+ * @see https://w3c.github.io/uievents/#event-type-mouseout
3699
+ */
3700
+ onMouseOut?: AttrEventHandler<MouseEvent, T>;
3701
+ "on-mouseout"?: this["onMouseOut"];
3702
+
3703
+ /**
3704
+ * Fired when a pointing device is moved onto the element or onto one of its children.
3705
+ * @see https://w3c.github.io/uievents/#event-type-mouseover
3706
+ */
3707
+ onMouseOver?: AttrEventHandler<MouseEvent, T>;
3708
+ "on-mouseover"?: this["onMouseOver"];
3709
+
3710
+ /**
3711
+ * Fired when a pointing device button is released over an element.
3712
+ * @see https://w3c.github.io/uievents/#event-type-mouseup
3713
+ */
3714
+ onMouseUp?: AttrEventHandler<MouseEvent, T>;
3715
+ "on-mouseup"?: this["onMouseUp"];
3716
+
3717
+ /**
3718
+ * Fired when the user has completed a "paste" action, usually through a context menu or keyboard shortcut.
3719
+ * @see https://w3c.github.io/clipboard-apis/#clipboard-event-paste
3720
+ */
3721
+ onPaste?: AttrEventHandler<ClipboardEvent, T>;
3722
+ "on-paste"?: this["onPaste"];
3723
+
3724
+ /**
3725
+ * Fired when playback of a media element is paused.
3726
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-pause
3727
+ */
3728
+ onPause?: AttrEventHandler<Event, T>;
3729
+ "on-pause"?: this["onPause"];
3730
+
3731
+ /**
3732
+ * Fired when playback of a media element is ready to start after having been paused.
3733
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-play
3734
+ */
3735
+ onPlay?: AttrEventHandler<Event, T>;
3736
+ "on-play"?: this["onPlay"];
3737
+
3738
+ /**
3739
+ * Fired when playback of a media element is ready to start, or when playback is resumed after a pause event.
3740
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-playing
3741
+ */
3742
+ onPlaying?: AttrEventHandler<Event, T>;
3743
+ "on-playing"?: this["onPlaying"];
3744
+
3745
+ /**
3746
+ * Fired when the pointing device's hardware triggers a cancellation of the pointer event, such as due to a system event.
3747
+ * @see https://w3c.github.io/pointerevents/#the-pointercancel-event
3748
+ */
3749
+ onPointerCancel?: AttrEventHandler<PointerEvent, T>;
3750
+ "on-pointercancel"?: this["onPointerCancel"];
3751
+
3752
+ /**
3753
+ * Fired when a pointing device's button is pressed down on an element.
3754
+ * @see https://w3c.github.io/pointerevents/#the-pointerdown-event
3755
+ */
3756
+ onPointerDown?: AttrEventHandler<PointerEvent, T>;
3757
+ "on-pointerdown"?: this["onPointerDown"];
3758
+
3759
+ /**
3760
+ * Fired when a pointing device is moved onto the element.
3761
+ * @see https://w3c.github.io/pointerevents/#the-pointerenter-event
3762
+ */
3763
+ onPointerEnter?: AttrEventHandler<PointerEvent, T>;
3764
+ "on-pointerenter"?: this["onPointerEnter"];
3765
+
3766
+ /**
3767
+ * Fired when a pointing device is moved off the element.
3768
+ * @see https://w3c.github.io/pointerevents/#the-pointerleave-event
3769
+ */
3770
+ onPointerLeave?: AttrEventHandler<PointerEvent, T>;
3771
+ "on-pointerleave"?: this["onPointerLeave"];
3772
+
3773
+ /**
3774
+ * Fired when a pointing device is moved over an element.
3775
+ * @see https://w3c.github.io/pointerevents/#the-pointermove-event
3776
+ */
3777
+ onPointerMove?: AttrEventHandler<PointerEvent, T>;
3778
+ "on-pointermove"?: this["onPointerMove"];
3779
+
3780
+ /**
3781
+ * Fired when a pointing device is moved off the element or off one of its children.
3782
+ * @see https://w3c.github.io/pointerevents/#the-pointerout-event
3783
+ */
3784
+ onPointerOut?: AttrEventHandler<PointerEvent, T>;
3785
+ "on-pointerout"?: this["onPointerOut"];
3786
+
3787
+ /**
3788
+ * Fired when a pointing device is moved onto the element or onto one of its children.
3789
+ * @see https://w3c.github.io/pointerevents/#the-pointerover-event
3790
+ */
3791
+ onPointerOver?: AttrEventHandler<PointerEvent, T>;
3792
+ "on-pointerover"?: this["onPointerOver"];
3793
+
3794
+ /**
3795
+ * Fired when a pointing device's button is released over an element.
3796
+ * @see https://w3c.github.io/pointerevents/#the-pointerup-event
3797
+ */
3798
+ onPointerUp?: AttrEventHandler<PointerEvent, T>;
3799
+ "on-pointerup"?: this["onPointerUp"];
3800
+
3801
+ /**
3802
+ * Fired when the user agent is downloading media data or resources, to indicate progress.
3803
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-progress
3804
+ */
3805
+ onProgress?: AttrEventHandler<Event, T>;
3806
+ "on-progress"?: this["onProgress"];
3807
+
3808
+ /**
3809
+ * Fired when the playback rate of a media element has changed.
3810
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-ratechange
3811
+ */
3812
+ onRateChange?: AttrEventHandler<Event, T>;
3813
+ "on-ratechange"?: this["onRateChange"];
3814
+
3815
+ /**
3816
+ * Fired when a form is reset, either by user interaction or through a script.
3817
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#event-reset
3818
+ */
3819
+ onReset?: AttrEventHandler<Event, T>;
3820
+ "on-reset"?: this["onReset"];
3821
+
3822
+ /**
3823
+ * Fired when an element's scrollbar is being scrolled.
3824
+ * @see https://drafts.csswg.org/cssom-view/#eventdef-document-scroll
3825
+ */
3826
+ onScroll?: AttrEventHandler<Event, T>;
3827
+ "on-scroll"?: this["onScroll"];
3828
+
3829
+ /**
3830
+ * Fired when element scrolling has completed. Scrolling is considered completed when the scroll position has no more pending updates and the user has completed their gesture.
3831
+ * @see https://drafts.csswg.org/cssom-view/#eventdef-document-scrollend
3832
+ */
3833
+ onScrollEnd?: AttrEventHandler<Event, T>;
3834
+ "on-scrollend"?: this["onScrollEnd"];
3835
+
3836
+ /**
3837
+ * Fired when a seek operation on a media element completes.
3838
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-seeked
3839
+ */
3840
+ onSeeked?: AttrEventHandler<Event, T>;
3841
+ "on-seeked"?: this["onSeeked"];
3842
+
3843
+ /**
3844
+ * Fired when a seek operation on a media element begins.
3845
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-seeking
3846
+ */
3847
+ onSeeking?: AttrEventHandler<Event, T>;
3848
+ "on-seeking"?: this["onSeeking"];
3849
+
3850
+ /**
3851
+ * Fired when some text is selected within an input or textarea element.
3852
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#event-select
3853
+ */
3854
+ onSelect?: AttrEventHandler<Event, T>;
3855
+ "on-select"?: this["onSelect"];
3856
+
3857
+ /**
3858
+ * Fired when a media element's data downloading has been stalled due to an issue, such as a lack of data.
3859
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-stalled
3860
+ */
3861
+ onStalled?: AttrEventHandler<Event, T>;
3862
+ "on-stalled"?: this["onStalled"];
3863
+
3864
+ /**
3865
+ * Fired when a form is submitted, either by user interaction or through a script.
3866
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#event-submit
3867
+ */
3868
+ onSubmit?: AttrEventHandler<SubmitEvent, T>;
3869
+ "on-submit"?: this["onSubmit"];
3870
+
3871
+ /**
3872
+ * Fired when the user agent intentionally does not download media data.
3873
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-suspend
3874
+ */
3875
+ onSuspend?: AttrEventHandler<Event, T>;
3876
+ "on-suspend"?: this["onSuspend"];
3877
+
3878
+ /**
3879
+ * Fired when the current playback position of a media element changes as part of normal playback or due to a seek operation.
3880
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-timeupdate
3881
+ */
3882
+ onTimeUpdate?: AttrEventHandler<Event, T>;
3883
+ "on-timeupdate"?: this["onTimeUpdate"];
3884
+
3885
+ /**
3886
+ * Fired when a touch event is interrupted, such as by a modal window or an incoming phone call.
3887
+ * @see https://w3c.github.io/touch-events/#event-touchcancel
3888
+ */
3889
+ onTouchCancel?: AttrEventHandler<TouchEvent, T>;
3890
+ "on-touchcancel"?: this["onTouchCancel"];
3891
+
3892
+ /**
3893
+ * Fired when a finger is lifted from a touch surface.
3894
+ * @see https://w3c.github.io/touch-events/#event-touchend
3895
+ */
3896
+ onTouchEnd?: AttrEventHandler<TouchEvent, T>;
3897
+ "on-touchend"?: this["onTouchEnd"];
3898
+
3899
+ /**
3900
+ * Fired when a finger is moved along a touch surface.
3901
+ * @see https://w3c.github.io/touch-events/#event-touchmove
3902
+ */
3903
+ onTouchMove?: AttrEventHandler<TouchEvent, T>;
3904
+ "on-touchmove"?: this["onTouchMove"];
3905
+
3906
+ /**
3907
+ * Fired when a finger is placed on a touch surface.
3908
+ * @see https://w3c.github.io/touch-events/#event-touchstart
3909
+ */
3910
+ onTouchStart?: AttrEventHandler<TouchEvent, T>;
3911
+ "on-touchstart"?: this["onTouchStart"];
3912
+
3913
+ /**
3914
+ * Fired when a CSS transition is canceled.
3915
+ * @see https://drafts.csswg.org/css-transitions/#transitioncancel
3916
+ */
3917
+ onTransitionCancel?: AttrEventHandler<TransitionEvent, T>;
3918
+ "on-transitioncancel"?: this["onTransitionCancel"];
3919
+
3920
+ /**
3921
+ * Fired when a CSS transition has completed.
3922
+ * @see https://drafts.csswg.org/css-transitions/#transitionend
3923
+ */
3924
+ onTransitionEnd?: AttrEventHandler<TransitionEvent, T>;
3925
+ "on-transitionend"?: this["onTransitionEnd"];
3926
+
3927
+ /**
3928
+ * Fired when a CSS transition is first created, i.e. before any transition-delay has begun.
3929
+ * @see https://drafts.csswg.org/css-transitions/#transitionrun
3930
+ */
3931
+ onTransitionRun?: AttrEventHandler<TransitionEvent, T>;
3932
+ "on-transitionrun"?: this["onTransitionRun"];
3933
+
3934
+ /**
3935
+ * Fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
3936
+ * @see https://drafts.csswg.org/css-transitions/#transitionstart
3937
+ */
3938
+ onTransitionStart?: AttrEventHandler<TransitionEvent, T>;
3939
+ "on-transitionstart"?: this["onTransitionStart"];
3940
+
3941
+ /**
3942
+ * Fired when the volume level or muted state of a media element changes.
3943
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-volumechange
3944
+ */
3945
+ onVolumeChange?: AttrEventHandler<Event, T>;
3946
+ "on-volumechange"?: this["onVolumeChange"];
3947
+
3948
+ /**
3949
+ * Fired when a media element is waiting for data to continue playback, such as when buffering.
3950
+ * @see https://html.spec.whatwg.org/multipage/media.html#event-media-waiting
3951
+ */
3952
+ onWaiting?: AttrEventHandler<Event, T>;
3953
+ "on-waiting"?: this["onWaiting"];
3954
+
3955
+ /**
3956
+ * Fired when a user rotates a mouse wheel or similar input device over an element.
3957
+ * @see https://w3c.github.io/uievents/#event-type-wheel
3958
+ */
3959
+ onWheel?: AttrEventHandler<WheelEvent, T>;
3960
+ "on-wheel"?: this["onWheel"];
3961
+
3962
+ /**
3963
+ * data-* global attributes form a class of attributes called custom data attributes, that allow proprietary
3964
+ * information to be exchanged between the HTML and its DOM representation by scripts.
3965
+ * @see https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes
3966
+ */
3967
+ [data: `data-${string}`]: AttrMissing | string | number | boolean;
3968
+ }
3969
+
3970
+ interface AriaAttributes {
3971
+ /**
3972
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
3973
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant
3974
+ */
3975
+ "aria-activedescendant"?: AttrString;
3976
+ /**
3977
+ * Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
3978
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-atomic
3979
+ * @see aria-relevant
3980
+ */
3981
+ "aria-atomic"?: AttrBooleanString;
3982
+ /**
3983
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
3984
+ * presented if they are made.
3985
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete
3986
+ */
3987
+ "aria-autocomplete"?: AttrMissing | "both" | "inline" | "list" | "none";
3988
+ /**
3989
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
3990
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-busy
3991
+ */
3992
+ "aria-busy"?: AttrBooleanString;
3993
+ /**
3994
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
3995
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-checked
3996
+ */
3997
+ "aria-checked"?: AttrTriState;
3998
+ /**
3999
+ * Defines the total number of columns in a table, grid, or treegrid.
4000
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-colcount
4001
+ */
4002
+ "aria-colcount"?: AttrStringOrNumber;
4003
+ /**
4004
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
4005
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-colindex
4006
+ */
4007
+ "aria-colindex"?: AttrStringOrNumber;
4008
+ /**
4009
+ * Defines a human readable text alternative of aria-colindex.
4010
+ * @see https://w3c.github.io/aria/#aria-colindextext
4011
+ * @see aria-colindex
4012
+ */
4013
+ "aria-colindextext"?: AttrString;
4014
+ /**
4015
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
4016
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-colspan
4017
+ */
4018
+ "aria-colspan"?: AttrStringOrNumber;
4019
+ /**
4020
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
4021
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-controls
4022
+ * @see aria-owns
4023
+ */
4024
+ "aria-controls"?: AttrString;
4025
+ /**
4026
+ * Indicates the element that represents the current item within a container or set of related elements.
4027
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-current
4028
+ */
4029
+ "aria-current"?:
4030
+ | AttrBooleanString
4031
+ | "date"
4032
+ | "location"
4033
+ | "page"
4034
+ | "step"
4035
+ | "time"
4036
+ | "true";
4037
+ /**
4038
+ * Identifies the element (or elements) that describes the object.
4039
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-describedby
4040
+ * @see aria-labelledby
4041
+ */
4042
+ "aria-describedby"?: AttrString;
4043
+ /**
4044
+ * Defines a string value that describes or annotates the current element.
4045
+ * @see https://w3c.github.io/aria/#aria-description
4046
+ * @see aria-describedby
4047
+ */
4048
+ "aria-description"?: AttrString;
4049
+ /**
4050
+ * Identifies the element that provides a detailed, extended description for the object.
4051
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-details
4052
+ * @see aria-describedby
4053
+ */
4054
+ "aria-details"?: AttrString;
4055
+ /**
4056
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
4057
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-disabled
4058
+ */
4059
+ "aria-disabled"?: AttrBooleanString;
4060
+ /**
4061
+ * @deprecated Indicates what functions can be performed when a dragged object is released on the drop target.
4062
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect
4063
+ * */
4064
+ "aria-dropeffect"?:
4065
+ | AttrMissing
4066
+ | "copy"
4067
+ | "execute"
4068
+ | "link"
4069
+ | "move"
4070
+ | "none"
4071
+ | "popup";
4072
+ /**
4073
+ * Identifies the element that provides an error message for the object.
4074
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage
4075
+ * @see aria-invalid
4076
+ * @see aria-describedby
4077
+ */
4078
+ "aria-errormessage"?: AttrString;
4079
+ /**
4080
+ * Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
4081
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-expanded
4082
+ * @see aria-controls
4083
+ */
4084
+ "aria-expanded"?: AttrBooleanString;
4085
+ /**
4086
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
4087
+ * allows assistive technology to override the general default of reading in document source order.
4088
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-flowto
4089
+ */
4090
+ "aria-flowto"?: AttrString;
4091
+ /**
4092
+ * @deprecated Indicates an element's "grabbed" state in a drag-and-drop operation.
4093
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed
4094
+ */
4095
+ "aria-grabbed"?: AttrBooleanString;
4096
+ /**
4097
+ * Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
4098
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup
4099
+ */
4100
+ "aria-haspopup"?:
4101
+ | AttrBooleanString
4102
+ | "dialog"
4103
+ | "grid"
4104
+ | "listbox"
4105
+ | "menu"
4106
+ | "tree";
4107
+ /**
4108
+ * Indicates whether the element is exposed to an accessibility API.
4109
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-hidden
4110
+ * @see aria-disabled
4111
+ */
4112
+ "aria-hidden"?: AttrBooleanString;
4113
+ /**
4114
+ * Indicates the entered value does not conform to the format expected by the application.
4115
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-invalid
4116
+ * @see aria-errormessage
4117
+ */
4118
+ "aria-invalid"?: AttrBooleanString | "grammar" | "spelling";
4119
+ /**
4120
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
4121
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts
4122
+ */
4123
+ "aria-keyshortcuts"?: AttrString;
4124
+ /**
4125
+ * Defines a string value that labels the current element.
4126
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-label
4127
+ * @see aria-labelledby
4128
+ */
4129
+ "aria-label"?: AttrString;
4130
+ /**
4131
+ * Identifies the element (or elements) that labels the current element.
4132
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby
4133
+ * @see aria-decribedby
4134
+ */
4135
+ "aria-labelledby"?: AttrString;
4136
+ /**
4137
+ * Defines the hierarchical level of an element within a structure.
4138
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-level
4139
+ */
4140
+ "aria-level"?: AttrMissing | number | string;
4141
+ /**
4142
+ * Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies,
4143
+ * and user can expect from the live region.
4144
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-live
4145
+ */
4146
+ "aria-live"?: AttrMissing | "assertive" | "off" | "polite";
4147
+ /**
4148
+ * Indicates whether an element is modal when displayed.
4149
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-modal
4150
+ */
4151
+ "aria-modal"?: AttrBooleanString;
4152
+ /**
4153
+ * Indicates whether a text box accepts multiple lines of input or only a single line.
4154
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-multiline
4155
+ */
4156
+ "aria-multiline"?: AttrBooleanString;
4157
+ /**
4158
+ * Indicates that the user may select more than one item from the current selectable descendants.
4159
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable
4160
+ */
4161
+ "aria-multiselectable"?: AttrBooleanString;
4162
+ /**
4163
+ * Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
4164
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-orientation
4165
+ */
4166
+ "aria-orientation"?: AttrMissing | "horizontal" | "vertical";
4167
+ /**
4168
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
4169
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
4170
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-owns
4171
+ */
4172
+ "aria-owns"?: AttrString;
4173
+ /**
4174
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
4175
+ * A hint could be a sample value or a brief description of the expected format.
4176
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder
4177
+ */
4178
+ "aria-placeholder"?: AttrString;
4179
+ /**
4180
+ * Defines an element's number or position in the current set of listitems or treeitems.
4181
+ * Not required if all elements in the set are present in the DOM.
4182
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-posinset
4183
+ */
4184
+ "aria-posinset"?: AttrStringOrNumber;
4185
+ /**
4186
+ * Indicates the current "pressed" state of toggle buttons.
4187
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-pressed
4188
+ */
4189
+ "aria-pressed"?: AttrTriState;
4190
+ /**
4191
+ * Indicates that the element is not editable, but is otherwise operable.
4192
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-readonly
4193
+ */
4194
+ "aria-readonly"?: AttrBooleanString;
4195
+ /**
4196
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
4197
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-relevant
4198
+ */
4199
+ "aria-relevant"?:
4200
+ | AttrMissing
4201
+ | "additions removals"
4202
+ | "additions text"
4203
+ | "additions"
4204
+ | "all"
4205
+ | "removals additions"
4206
+ | "removals text"
4207
+ | "removals"
4208
+ | "text additions"
4209
+ | "text removals"
4210
+ | "text";
4211
+ /**
4212
+ * Indicates that user input is required on the element before a form may be submitted.
4213
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-required
4214
+ */
4215
+ "aria-required"?: AttrBooleanString;
4216
+ /**
4217
+ * Defines a human-readable, author-localized description for the role of an element.
4218
+ */
4219
+ "aria-roledescription"?: AttrString;
4220
+ /**
4221
+ * Defines the total number of rows in a table, grid, or treegrid.
4222
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount
4223
+ */
4224
+ "aria-rowcount"?: AttrStringOrNumber;
4225
+ /**
4226
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
4227
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex
4228
+ */
4229
+ "aria-rowindex"?: AttrStringOrNumber;
4230
+ /**
4231
+ * Defines a human readable text alternative of aria-rowindex.
4232
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-rowindextext
4233
+ * @see aria-rowindex
4234
+ */
4235
+ "aria-rowindextext"?: AttrString;
4236
+ /**
4237
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
4238
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan
4239
+ */
4240
+ "aria-rowspan"?: AttrStringOrNumber;
4241
+ /**
4242
+ * Indicates the current "selected" state of various widgets.
4243
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-selected
4244
+ */
4245
+ "aria-selected"?: AttrBooleanString;
4246
+ /**
4247
+ * Defines the number of items in the current set of listitems or treeitems.
4248
+ * Not required if all elements in the set are present in the DOM.
4249
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-setsize
4250
+ */
4251
+ "aria-setsize"?: AttrStringOrNumber;
4252
+ /**
4253
+ * Indicates if items in a table or grid are sorted in ascending or descending order.
4254
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-sort
4255
+ */
4256
+ "aria-sort"?: "ascending" | "descending" | "none" | "other";
4257
+ /**
4258
+ * Defines the maximum allowed value for a range widget.
4259
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax
4260
+ * @see aria-valuenow
4261
+ */
4262
+ "aria-valuemax"?: AttrStringOrNumber;
4263
+ /**
4264
+ * Defines the minimum allowed value for a range widget.
4265
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin
4266
+ * @see aria-valuenow
4267
+ */
4268
+ "aria-valuemin"?: AttrStringOrNumber;
4269
+ /**
4270
+ * Defines the current value for a range widget.
4271
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow
4272
+ * @see aria-valuetext
4273
+ * @see aria-valuemin
4274
+ * @see aria-valuemax
4275
+ */
4276
+ "aria-valuenow"?: AttrStringOrNumber;
4277
+ /**
4278
+ * Defines the human readable text alternative of aria-valuenow for a range widget.
4279
+ * @see https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext
4280
+ * @see aria-valuenow
4281
+ */
4282
+ "aria-valuetext"?: AttrString;
4283
+ /**
4284
+ * Defines the ARIA role of an element.
4285
+ * @see https://www.w3.org/TR/wai-aria-1.1/#role_definitions
4286
+ */
4287
+ role?:
4288
+ | AttrMissing
4289
+ | "alert"
4290
+ | "alertdialog"
4291
+ | "application"
4292
+ | "article"
4293
+ | "banner"
4294
+ | "button"
4295
+ | "cell"
4296
+ | "checkbox"
4297
+ | "columnheader"
4298
+ | "combobox"
4299
+ | "complementary"
4300
+ | "contentinfo"
4301
+ | "definition"
4302
+ | "dialog"
4303
+ | "directory"
4304
+ | "document"
4305
+ | "feed"
4306
+ | "figure"
4307
+ | "form"
4308
+ | "grid"
4309
+ | "gridcell"
4310
+ | "group"
4311
+ | "heading"
4312
+ | "img"
4313
+ | "link"
4314
+ | "list"
4315
+ | "listbox"
4316
+ | "listitem"
4317
+ | "log"
4318
+ | "main"
4319
+ | "marquee"
4320
+ | "math"
4321
+ | "menu"
4322
+ | "menubar"
4323
+ | "menuitem"
4324
+ | "menuitemcheckbox"
4325
+ | "menuitemradio"
4326
+ | "meter"
4327
+ | "navigation"
4328
+ | "none"
4329
+ | "note"
4330
+ | "option"
4331
+ | "presentation"
4332
+ | "progressbar"
4333
+ | "radio"
4334
+ | "radiogroup"
4335
+ | "region"
4336
+ | "row"
4337
+ | "rowgroup"
4338
+ | "rowheader"
4339
+ | "scrollbar"
4340
+ | "search"
4341
+ | "searchbox"
4342
+ | "separator"
4343
+ | "slider"
4344
+ | "spinbutton"
4345
+ | "status"
4346
+ | "switch"
4347
+ | "tab"
4348
+ | "table"
4349
+ | "tablist"
4350
+ | "tabpanel"
4351
+ | "term"
4352
+ | "textbox"
4353
+ | "timer"
4354
+ | "toolbar"
4355
+ | "tooltip"
4356
+ | "tree"
4357
+ | "treegrid"
4358
+ | "treeitem";
4359
+ }
4360
+
4361
+ namespace _ {
4362
+ type Marko·Inputᐸʺaʺᐳ = { [K in keyof HTML.A]: HTML.A[K] };
4363
+ type Marko·Inputᐸʺabbrʺᐳ = { [K in keyof HTML.Abbr]: HTML.Abbr[K] };
4364
+ type Marko·Inputᐸʺaddressʺᐳ = {
4365
+ [K in keyof HTML.Address]: HTML.Address[K];
4366
+ };
4367
+ type Marko·Inputᐸʺareaʺᐳ = { [K in keyof HTML.Area]: HTML.Area[K] };
4368
+ type Marko·Inputᐸʺarticleʺᐳ = {
4369
+ [K in keyof HTML.Article]: HTML.Article[K];
4370
+ };
4371
+ type Marko·Inputᐸʺasideʺᐳ = { [K in keyof HTML.Aside]: HTML.Aside[K] };
4372
+ type Marko·Inputᐸʺaudioʺᐳ = { [K in keyof HTML.Audio]: HTML.Audio[K] };
4373
+ type Marko·Inputᐸʺbʺᐳ = { [K in keyof HTML.B]: HTML.B[K] };
4374
+ type Marko·Inputᐸʺbaseʺᐳ = { [K in keyof HTML.Base]: HTML.Base[K] };
4375
+ type Marko·Inputᐸʺbdiʺᐳ = { [K in keyof HTML.BDI]: HTML.BDI[K] };
4376
+ type Marko·Inputᐸʺbdoʺᐳ = { [K in keyof HTML.BDO]: HTML.BDO[K] };
4377
+ type Marko·Inputᐸʺblockquoteʺᐳ = {
4378
+ [K in keyof HTML.BlockQuote]: HTML.BlockQuote[K];
4379
+ };
4380
+ type Marko·Inputᐸʺbodyʺᐳ = { [K in keyof HTML.Body]: HTML.Body[K] };
4381
+ type Marko·Inputᐸʺbrʺᐳ = { [K in keyof HTML.Br]: HTML.Br[K] };
4382
+ type Marko·Inputᐸʺbuttonʺᐳ = { [K in keyof HTML.Button]: HTML.Button[K] };
4383
+ type Marko·Inputᐸʺcanvasʺᐳ = { [K in keyof HTML.Canvas]: HTML.Canvas[K] };
4384
+ type Marko·Inputᐸʺcaptionʺᐳ = {
4385
+ [K in keyof HTML.Caption]: HTML.Caption[K];
4386
+ };
4387
+ type Marko·Inputᐸʺciteʺᐳ = { [K in keyof HTML.Cite]: HTML.Cite[K] };
4388
+ type Marko·Inputᐸʺcodeʺᐳ = { [K in keyof HTML.Code]: HTML.Code[K] };
4389
+ type Marko·Inputᐸʺcolʺᐳ = { [K in keyof HTML.Col]: HTML.Col[K] };
4390
+ type Marko·Inputᐸʺcolgroupʺᐳ = {
4391
+ [K in keyof HTML.ColGroup]: HTML.ColGroup[K];
4392
+ };
4393
+ type Marko·Inputᐸʺdataʺᐳ = { [K in keyof HTML.Data]: HTML.Data[K] };
4394
+ type Marko·Inputᐸʺdatalistʺᐳ = {
4395
+ [K in keyof HTML.DataList]: HTML.DataList[K];
4396
+ };
4397
+ type Marko·Inputᐸʺddʺᐳ = { [K in keyof HTML.DD]: HTML.DD[K] };
4398
+ type Marko·Inputᐸʺdelʺᐳ = { [K in keyof HTML.Del]: HTML.Del[K] };
4399
+ type Marko·Inputᐸʺdetailsʺᐳ = {
4400
+ [K in keyof HTML.Details]: HTML.Details[K];
4401
+ };
4402
+ type Marko·Inputᐸʺdfnʺᐳ = { [K in keyof HTML.Dfn]: HTML.Dfn[K] };
4403
+ type Marko·Inputᐸʺdialogʺᐳ = { [K in keyof HTML.Dialog]: HTML.Dialog[K] };
4404
+ type Marko·Inputᐸʺdivʺᐳ = { [K in keyof HTML.Div]: HTML.Div[K] };
4405
+ type Marko·Inputᐸʺdlʺᐳ = { [K in keyof HTML.DL]: HTML.DL[K] };
4406
+ type Marko·Inputᐸʺdtʺᐳ = { [K in keyof HTML.DT]: HTML.DT[K] };
4407
+ type Marko·Inputᐸʺemʺᐳ = { [K in keyof HTML.Em]: HTML.Em[K] };
4408
+ type Marko·Inputᐸʺembedʺᐳ = { [K in keyof HTML.Embed]: HTML.Embed[K] };
4409
+ type Marko·Inputᐸʺfieldsetʺᐳ = {
4410
+ [K in keyof HTML.FieldSet]: HTML.FieldSet[K];
4411
+ };
4412
+ type Marko·Inputᐸʺfigcaptionʺᐳ = {
4413
+ [K in keyof HTML.FigCaption]: HTML.FigCaption[K];
4414
+ };
4415
+ type Marko·Inputᐸʺfigureʺᐳ = { [K in keyof HTML.Figure]: HTML.Figure[K] };
4416
+ type Marko·Inputᐸʺfooterʺᐳ = { [K in keyof HTML.Footer]: HTML.Footer[K] };
4417
+ type Marko·Inputᐸʺformʺᐳ = { [K in keyof HTML.Form]: HTML.Form[K] };
4418
+ type Marko·Inputᐸʺh1ʺᐳ = { [K in keyof HTML.H1]: HTML.H1[K] };
4419
+ type Marko·Inputᐸʺh2ʺᐳ = { [K in keyof HTML.H2]: HTML.H2[K] };
4420
+ type Marko·Inputᐸʺh3ʺᐳ = { [K in keyof HTML.H3]: HTML.H3[K] };
4421
+ type Marko·Inputᐸʺh4ʺᐳ = { [K in keyof HTML.H4]: HTML.H4[K] };
4422
+ type Marko·Inputᐸʺh5ʺᐳ = { [K in keyof HTML.H5]: HTML.H5[K] };
4423
+ type Marko·Inputᐸʺh6ʺᐳ = { [K in keyof HTML.H6]: HTML.H6[K] };
4424
+ type Marko·Inputᐸʺheadʺᐳ = { [K in keyof HTML.Head]: HTML.Head[K] };
4425
+ type Marko·Inputᐸʺheaderʺᐳ = { [K in keyof HTML.Header]: HTML.Header[K] };
4426
+ type Marko·Inputᐸʺhgroupʺᐳ = { [K in keyof HTML.HGroup]: HTML.HGroup[K] };
4427
+ type Marko·Inputᐸʺhrʺᐳ = { [K in keyof HTML.HR]: HTML.HR[K] };
4428
+ type Marko·Inputᐸʺhtmlʺᐳ = { [K in keyof HTML.HTML]: HTML.HTML[K] };
4429
+ type Marko·Inputᐸʺiʺᐳ = { [K in keyof HTML.I]: HTML.I[K] };
4430
+ type Marko·Inputᐸʺiframeʺᐳ = { [K in keyof HTML.IFrame]: HTML.IFrame[K] };
4431
+ type Marko·Inputᐸʺimgʺᐳ = { [K in keyof HTML.Img]: HTML.Img[K] };
4432
+ type Marko·Inputᐸʺinputʺᐳ = {} & (
4433
+ | HTML.InputHidden
4434
+ | HTML.InputText
4435
+ | HTML.InputTel
4436
+ | HTML.InputURL
4437
+ | HTML.InputEmail
4438
+ | HTML.InputPassword
4439
+ | HTML.InputDate
4440
+ | HTML.InputMonth
4441
+ | HTML.InputWeek
4442
+ | HTML.InputTime
4443
+ | HTML.InputDateTimeLocal
4444
+ | HTML.InputNumber
4445
+ | HTML.InputRange
4446
+ | HTML.InputColor
4447
+ | HTML.InputCheckbox
4448
+ | HTML.InputRadio
4449
+ | HTML.InputFile
4450
+ | HTML.InputSubmit
4451
+ | HTML.InputImage
4452
+ | HTML.InputReset
4453
+ | HTML.InputButton
4454
+ );
4455
+ type Marko·Inputᐸʺinsʺᐳ = { [K in keyof HTML.Ins]: HTML.Ins[K] };
4456
+ type Marko·Inputᐸʺkbdʺᐳ = { [K in keyof HTML.Kbd]: HTML.Kbd[K] };
4457
+ type Marko·Inputᐸʺlabelʺᐳ = { [K in keyof HTML.Label]: HTML.Label[K] };
4458
+ type Marko·Inputᐸʺlegendʺᐳ = { [K in keyof HTML.Legend]: HTML.Legend[K] };
4459
+ type Marko·Inputᐸʺliʺᐳ = { [K in keyof HTML.LI]: HTML.LI[K] };
4460
+ type Marko·Inputᐸʺlinkʺᐳ = { [K in keyof HTML.Link]: HTML.Link[K] };
4461
+ type Marko·Inputᐸʺmainʺᐳ = { [K in keyof HTML.Main]: HTML.Main[K] };
4462
+ type Marko·Inputᐸʺmapʺᐳ = { [K in keyof HTML.Map]: HTML.Map[K] };
4463
+ type Marko·Inputᐸʺmarkʺᐳ = { [K in keyof HTML.Mark]: HTML.Mark[K] };
4464
+ type Marko·Inputᐸʺmenuʺᐳ = { [K in keyof HTML.Menu]: HTML.Menu[K] };
4465
+ type Marko·Inputᐸʺmetaʺᐳ = { [K in keyof HTML.Meta]: HTML.Meta[K] };
4466
+ type Marko·Inputᐸʺmeterʺᐳ = { [K in keyof HTML.Meter]: HTML.Meter[K] };
4467
+ type Marko·Inputᐸʺnavʺᐳ = { [K in keyof HTML.Nav]: HTML.Nav[K] };
4468
+ type Marko·Inputᐸʺnoscriptʺᐳ = {
4469
+ [K in keyof HTML.NoScript]: HTML.NoScript[K];
4470
+ };
4471
+ type Marko·Inputᐸʺobjectʺᐳ = { [K in keyof HTML.Object]: HTML.Object[K] };
4472
+ type Marko·Inputᐸʺolʺᐳ = { [K in keyof HTML.OL]: HTML.OL[K] };
4473
+ type Marko·Inputᐸʺoptgroupʺᐳ = {
4474
+ [K in keyof HTML.OptGroup]: HTML.OptGroup[K];
4475
+ };
4476
+ type Marko·Inputᐸʺoptionʺᐳ = { [K in keyof HTML.Option]: HTML.Option[K] };
4477
+ type Marko·Inputᐸʺoutputʺᐳ = { [K in keyof HTML.Output]: HTML.Output[K] };
4478
+ type Marko·Inputᐸʺpʺᐳ = { [K in keyof HTML.P]: HTML.P[K] };
4479
+ type Marko·Inputᐸʺpictureʺᐳ = {
4480
+ [K in keyof HTML.Picture]: HTML.Picture[K];
4481
+ };
4482
+ type Marko·Inputᐸʺpreʺᐳ = { [K in keyof HTML.Pre]: HTML.Pre[K] };
4483
+ type Marko·Inputᐸʺprogressʺᐳ = {
4484
+ [K in keyof HTML.Progress]: HTML.Progress[K];
4485
+ };
4486
+ type Marko·Inputᐸʺqʺᐳ = { [K in keyof HTML.Q]: HTML.Q[K] };
4487
+ type Marko·Inputᐸʺrpʺᐳ = { [K in keyof HTML.RP]: HTML.RP[K] };
4488
+ type Marko·Inputᐸʺrtʺᐳ = { [K in keyof HTML.RT]: HTML.RT[K] };
4489
+ type Marko·Inputᐸʺrubyʺᐳ = { [K in keyof HTML.Ruby]: HTML.Ruby[K] };
4490
+ type Marko·Inputᐸʺsʺᐳ = { [K in keyof HTML.S]: HTML.S[K] };
4491
+ type Marko·Inputᐸʺsampʺᐳ = { [K in keyof HTML.Samp]: HTML.Samp[K] };
4492
+ type Marko·Inputᐸʺscriptʺᐳ = { [K in keyof HTML.Script]: HTML.Script[K] };
4493
+ type Marko·Inputᐸʺsectionʺᐳ = {
4494
+ [K in keyof HTML.Section]: HTML.Section[K];
4495
+ };
4496
+ type Marko·Inputᐸʺselectʺᐳ = { [K in keyof HTML.Select]: HTML.Select[K] };
4497
+ type Marko·Inputᐸʺslotʺᐳ = { [K in keyof HTML.Slot]: HTML.Slot[K] };
4498
+ type Marko·Inputᐸʺsmallʺᐳ = { [K in keyof HTML.Small]: HTML.Small[K] };
4499
+ type Marko·Inputᐸʺsourceʺᐳ = { [K in keyof HTML.Source]: HTML.Source[K] };
4500
+ type Marko·Inputᐸʺspanʺᐳ = { [K in keyof HTML.Span]: HTML.Span[K] };
4501
+ type Marko·Inputᐸʺstrongʺᐳ = { [K in keyof HTML.Strong]: HTML.Strong[K] };
4502
+ type Marko·Inputᐸʺstyleʺᐳ = { [K in keyof HTML.Style]: HTML.Style[K] };
4503
+ type Marko·Inputᐸʺsubʺᐳ = { [K in keyof HTML.Sub]: HTML.Sub[K] };
4504
+ type Marko·Inputᐸʺsummaryʺᐳ = {
4505
+ [K in keyof HTML.Summary]: HTML.Summary[K];
4506
+ };
4507
+ type Marko·Inputᐸʺsupʺᐳ = { [K in keyof HTML.Sup]: HTML.Sup[K] };
4508
+ type Marko·Inputᐸʺtableʺᐳ = { [K in keyof HTML.Table]: HTML.Table[K] };
4509
+ type Marko·Inputᐸʺtbodyʺᐳ = { [K in keyof HTML.TBody]: HTML.TBody[K] };
4510
+ type Marko·Inputᐸʺtdʺᐳ = { [K in keyof HTML.TD]: HTML.TD[K] };
4511
+ type Marko·Inputᐸʺtemplateʺᐳ = {
4512
+ [K in keyof HTML.Template]: HTML.Template[K];
4513
+ };
4514
+ type Marko·Inputᐸʺtextareaʺᐳ = {
4515
+ [K in keyof HTML.TextArea]: HTML.TextArea[K];
4516
+ };
4517
+ type Marko·Inputᐸʺtfootʺᐳ = { [K in keyof HTML.TFoot]: HTML.TFoot[K] };
4518
+ type Marko·Inputᐸʺthʺᐳ = { [K in keyof HTML.TH]: HTML.TH[K] };
4519
+ type Marko·Inputᐸʺtheadʺᐳ = { [K in keyof HTML.THead]: HTML.THead[K] };
4520
+ type Marko·Inputᐸʺtimeʺᐳ = { [K in keyof HTML.Time]: HTML.Time[K] };
4521
+ type Marko·Inputᐸʺtitleʺᐳ = { [K in keyof HTML.Title]: HTML.Title[K] };
4522
+ type Marko·Inputᐸʺtrʺᐳ = { [K in keyof HTML.TR]: HTML.TR[K] };
4523
+ type Marko·Inputᐸʺtrackʺᐳ = { [K in keyof HTML.Track]: HTML.Track[K] };
4524
+ type Marko·Inputᐸʺuʺᐳ = { [K in keyof HTML.U]: HTML.U[K] };
4525
+ type Marko·Inputᐸʺulʺᐳ = { [K in keyof HTML.UL]: HTML.UL[K] };
4526
+ type Marko·Inputᐸʺvarʺᐳ = { [K in keyof HTML.Var]: HTML.Var[K] };
4527
+ type Marko·Inputᐸʺvideoʺᐳ = { [K in keyof HTML.Video]: HTML.Video[K] };
4528
+ type Marko·Inputᐸʺwbrʺᐳ = { [K in keyof HTML.WBr]: HTML.WBr[K] };
4529
+ }
4530
+ }
4531
+ }
4532
+
4533
+ type AttrMissing = undefined | null | false;
4534
+ type AttrClass =
4535
+ | AttrMissing
4536
+ | string
4537
+ | AttrClass[]
4538
+ | Record<string, AttrMissing | boolean>;
4539
+ type AttrStyle = AttrMissing | csstype.PropertiesHyphen | AttrStyle[];
4540
+ type AttrCrossOrigin = AttrBoolean | "anonymous" | "use-credentials";
4541
+ type AttrEventHandler<Event, Target> =
4542
+ | AttrMissing
4543
+ | ((event: Event, target: Target) => unknown);
4544
+ type AttrTarget =
4545
+ | AttrMissing
4546
+ | "_blank"
4547
+ | "_parent"
4548
+ | "_self"
4549
+ | "_top"
4550
+ | (string & {});
4551
+ type AttrReferrerPolicy =
4552
+ | AttrMissing
4553
+ | "no-referrer-when-downgrade"
4554
+ | "no-referrer"
4555
+ | "origin-when-cross-origin"
4556
+ | "origin"
4557
+ | "same-origin"
4558
+ | "strict-origin-when-cross-origin"
4559
+ | "strict-origin"
4560
+ | "unsafe-url";
4561
+ type AttrString = AttrMissing | string;
4562
+ type AttrStringOrNumber = AttrString | number;
4563
+ type AttrBoolean = AttrMissing | boolean;
4564
+ type AttrBooleanOrString = AttrBoolean | string;
4565
+ type AttrBooleanString = AttrMissing | "false" | "true";
4566
+ type AttrYesNoString = AttrMissing | "no" | "yes";
4567
+ type AttrTriState = AttrBooleanString | "mixed";
4568
+ type AttrOnOff = AttrMissing | "on" | "off";
4569
+ type Tag<Input> = Input extends Marko.HTMLAttributes<infer Element>
4570
+ ? Marko.NativeTag<Input, Element>
4571
+ : never;
4572
+ type UpperCaseChar =
4573
+ | "A"
4574
+ | "B"
4575
+ | "C"
4576
+ | "D"
4577
+ | "E"
4578
+ | "F"
4579
+ | "G"
4580
+ | "H"
4581
+ | "I"
4582
+ | "J"
4583
+ | "K"
4584
+ | "L"
4585
+ | "M"
4586
+ | "N"
4587
+ | "O"
4588
+ | "P"
4589
+ | "Q"
4590
+ | "R"
4591
+ | "S"
4592
+ | "T"
4593
+ | "U"
4594
+ | "V"
4595
+ | "W"
4596
+ | "X"
4597
+ | "Y"
4598
+ | "Z";