marko 6.4.12 → 6.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/debug/dom/catch.feat.js +1 -1
- package/dist/debug/dom/catch.feat.mjs +1 -1
- package/dist/debug/dom/compat.feat.js +2 -2
- package/dist/debug/dom/compat.feat.mjs +2 -2
- package/dist/debug/dom/controllable-input.feat.js +1 -1
- package/dist/debug/dom/controllable-input.feat.mjs +1 -1
- package/dist/debug/dom/controllable-open.feat.js +1 -1
- package/dist/debug/dom/controllable-open.feat.mjs +1 -1
- package/dist/debug/dom/controllable-select.feat.js +1 -1
- package/dist/debug/dom/controllable-select.feat.mjs +1 -1
- package/dist/debug/dom/controllable-textarea.feat.js +1 -1
- package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/debug/dom/controllable.feat.js +1 -1
- package/dist/debug/dom/controllable.feat.mjs +1 -1
- package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
- package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
- package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
- package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
- package/dist/debug/dom/lazy.feat.js +1 -1
- package/dist/debug/dom/lazy.feat.mjs +1 -1
- package/dist/debug/dom/placeholder.feat.js +1 -1
- package/dist/debug/dom/placeholder.feat.mjs +1 -1
- package/dist/debug/{dom-DaHYZpf2.mjs → dom-BORByF2b.mjs} +4 -2
- package/dist/debug/{dom-CtXOr4Nm.js → dom-sfzdCRAg.js} +3 -7
- package/dist/debug/dom.js +1 -1
- package/dist/debug/dom.mjs +1 -1
- package/dist/dom/catch.feat.js +3 -3
- package/dist/dom/catch.feat.mjs +1 -1
- package/dist/dom/compat.feat.js +15 -15
- package/dist/dom/compat.feat.mjs +2 -2
- package/dist/dom/controllable-input.feat.js +1 -1
- package/dist/dom/controllable-input.feat.mjs +1 -1
- package/dist/dom/controllable-open.feat.js +1 -1
- package/dist/dom/controllable-open.feat.mjs +1 -1
- package/dist/dom/controllable-select.feat.js +1 -1
- package/dist/dom/controllable-select.feat.mjs +1 -1
- package/dist/dom/controllable-textarea.feat.js +1 -1
- package/dist/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/dom/controllable.feat.js +1 -1
- package/dist/dom/controllable.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-script.feat.js +2 -2
- package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-var.feat.js +3 -3
- package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
- package/dist/dom/lazy.feat.js +1 -1
- package/dist/dom/lazy.feat.mjs +1 -1
- package/dist/dom/placeholder.feat.js +3 -3
- package/dist/dom/placeholder.feat.mjs +1 -1
- package/dist/{dom-BO-0hzLZ.mjs → dom-DKn1bCPC.mjs} +3 -2
- package/dist/{dom-BB-Te-3z.js → dom-DRiewpRL.js} +63 -67
- package/dist/dom.js +17 -17
- package/dist/dom.mjs +1 -1
- package/dist/translator/core/if.d.ts +0 -85
- package/dist/translator/core/index.d.ts +2 -85
- package/dist/translator/index.d.ts +2 -85
- package/dist/translator/index.js +35 -191
- package/dist/translator/interop/index.d.ts +2 -0
- package/package.json +4 -4
- package/tags/await.d.marko +9 -1
- package/tags/const.d.marko +7 -1
- package/tags/debug.d.marko +7 -1
- package/tags/define.d.marko +7 -1
- package/tags/effect.d.marko +6 -1
- package/tags/html-comment.d.marko +6 -0
- package/tags/html-script.d.marko +5 -0
- package/tags/html-style.d.marko +5 -0
- package/tags/id.d.marko +11 -1
- package/tags/let.d.marko +8 -1
- package/tags/lifecycle.d.marko +11 -1
- package/tags/log.d.marko +7 -1
- package/tags/script.d.marko +9 -1
- package/tags/show.d.marko +7 -1
- package/tags/try.d.marko +9 -1
- package/tags-html.d.ts +219 -134
package/tags-html.d.ts
CHANGED
|
@@ -350,6 +350,7 @@ declare global {
|
|
|
350
350
|
/**
|
|
351
351
|
* Specifies the language of the linked resource.
|
|
352
352
|
* @see https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-hreflang
|
|
353
|
+
* @deprecated
|
|
353
354
|
*/
|
|
354
355
|
hreflang?: A["hreflang"];
|
|
355
356
|
|
|
@@ -485,98 +486,98 @@ declare global {
|
|
|
485
486
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-afterprint
|
|
486
487
|
*/
|
|
487
488
|
onAfterPrint?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
488
|
-
"on-afterprint"?:
|
|
489
|
+
"on-afterprint"?: Body["onAfterPrint"];
|
|
489
490
|
|
|
490
491
|
/**
|
|
491
492
|
* Fires before printing the document.
|
|
492
493
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeprint
|
|
493
494
|
*/
|
|
494
495
|
onBeforePrint?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
495
|
-
"on-beforeprint"?:
|
|
496
|
+
"on-beforeprint"?: Body["onBeforePrint"];
|
|
496
497
|
|
|
497
498
|
/**
|
|
498
499
|
* Fired when the page is about to be unloaded, in case the page would like to show a warning prompt.
|
|
499
500
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeunload
|
|
500
501
|
*/
|
|
501
502
|
onBeforeUnload?: AttrEventHandler<BeforeUnloadEvent, HTMLBodyElement>;
|
|
502
|
-
"on-beforeunload"?:
|
|
503
|
+
"on-beforeunload"?: Body["onBeforeUnload"];
|
|
503
504
|
|
|
504
505
|
/**
|
|
505
506
|
* Fired when the fragment part of the document's URL changes.
|
|
506
507
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-hashchange
|
|
507
508
|
*/
|
|
508
509
|
onHashChange?: AttrEventHandler<HashChangeEvent, HTMLBodyElement>;
|
|
509
|
-
"on-hashchange"?:
|
|
510
|
+
"on-hashchange"?: Body["onHashChange"];
|
|
510
511
|
|
|
511
512
|
/**
|
|
512
513
|
* Fired when the user's preferred languages change.
|
|
513
514
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-languagechange
|
|
514
515
|
*/
|
|
515
516
|
onLanguageChange?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
516
|
-
"on-languagechange"?:
|
|
517
|
+
"on-languagechange"?: Body["onLanguageChange"];
|
|
517
518
|
|
|
518
519
|
/**
|
|
519
520
|
* Fired when the window receives a message.
|
|
520
521
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-message
|
|
521
522
|
*/
|
|
522
523
|
onMessage?: AttrEventHandler<MessageEvent, HTMLBodyElement>;
|
|
523
|
-
"on-message"?:
|
|
524
|
+
"on-message"?: Body["onMessage"];
|
|
524
525
|
|
|
525
526
|
/**
|
|
526
527
|
* Fired when the window receives an error message.
|
|
527
528
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-messageerror
|
|
528
529
|
*/
|
|
529
530
|
onMessageError?: AttrEventHandler<MessageEvent, HTMLBodyElement>;
|
|
530
|
-
"on-messageerror"?:
|
|
531
|
+
"on-messageerror"?: Body["onMessageError"];
|
|
531
532
|
|
|
532
533
|
/**
|
|
533
534
|
* Fired when the network connection is lost.
|
|
534
535
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-offline
|
|
535
536
|
*/
|
|
536
537
|
onOffline?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
537
|
-
"on-offline"?:
|
|
538
|
+
"on-offline"?: Body["onOffline"];
|
|
538
539
|
|
|
539
540
|
/**
|
|
540
541
|
* Fired when the network connection is recovered.
|
|
541
542
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-online
|
|
542
543
|
*/
|
|
543
544
|
onOnline?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
544
|
-
"on-online"?:
|
|
545
|
+
"on-online"?: Body["onOnline"];
|
|
545
546
|
|
|
546
547
|
/**
|
|
547
548
|
* Fired when the page's session history entry stops being the active entry.
|
|
548
549
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-pagehide
|
|
549
550
|
*/
|
|
550
551
|
onPageHide?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
|
|
551
|
-
"on-pagehide"?:
|
|
552
|
+
"on-pagehide"?: Body["onPageHide"];
|
|
552
553
|
|
|
553
554
|
/**
|
|
554
555
|
* Fired when the page's session history entry becomes the active entry.
|
|
555
556
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-pageshow
|
|
556
557
|
*/
|
|
557
558
|
onPageShow?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
|
|
558
|
-
"on-pageshow"?:
|
|
559
|
+
"on-pageshow"?: Body["onPageShow"];
|
|
559
560
|
|
|
560
561
|
/**
|
|
561
562
|
* Fired when the window's session history is popped.
|
|
562
563
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-popstate
|
|
563
564
|
*/
|
|
564
565
|
onPopState?: AttrEventHandler<PopStateEvent, HTMLBodyElement>;
|
|
565
|
-
"on-popstate"?:
|
|
566
|
+
"on-popstate"?: Body["onPopState"];
|
|
566
567
|
|
|
567
568
|
/**
|
|
568
569
|
* Fires when a previously-unhandled promise rejection becomes handled.
|
|
569
570
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-rejectionhandled
|
|
570
571
|
*/
|
|
571
572
|
onRejectionHandled?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
572
|
-
"on-rejectionhandled"?:
|
|
573
|
+
"on-rejectionhandled"?: Body["onRejectionHandled"];
|
|
573
574
|
|
|
574
575
|
/**
|
|
575
576
|
* Fired when the corresponding localStorage or sessionStorage storage areas change.
|
|
576
577
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-storage
|
|
577
578
|
*/
|
|
578
579
|
onStorage?: AttrEventHandler<StorageEvent, HTMLBodyElement>;
|
|
579
|
-
"on-storage"?:
|
|
580
|
+
"on-storage"?: Body["onStorage"];
|
|
580
581
|
|
|
581
582
|
/**
|
|
582
583
|
* Fired when a promise rejection goes unhandled.
|
|
@@ -586,14 +587,14 @@ declare global {
|
|
|
586
587
|
PromiseRejectionEvent,
|
|
587
588
|
HTMLBodyElement
|
|
588
589
|
>;
|
|
589
|
-
"on-unhandledrejection"?:
|
|
590
|
+
"on-unhandledrejection"?: Body["onUnhandledRejection"];
|
|
590
591
|
|
|
591
592
|
/**
|
|
592
593
|
* Fired when the page is going away.
|
|
593
594
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-unload
|
|
594
595
|
*/
|
|
595
596
|
onUnload?: AttrEventHandler<Event, HTMLBodyElement>;
|
|
596
|
-
"on-unload"?:
|
|
597
|
+
"on-unload"?: Body["onUnload"];
|
|
597
598
|
|
|
598
599
|
/** @deprecated */
|
|
599
600
|
alink?: AttrString;
|
|
@@ -974,14 +975,14 @@ declare global {
|
|
|
974
975
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-formdata
|
|
975
976
|
*/
|
|
976
977
|
onFormData?: AttrEventHandler<FormDataEvent, HTMLFormElement>;
|
|
977
|
-
"on-formdata"?:
|
|
978
|
+
"on-formdata"?: Form["onFormData"];
|
|
978
979
|
|
|
979
980
|
/**
|
|
980
981
|
* Fired when a form is submitted, either by user interaction or through a script.
|
|
981
982
|
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#event-submit
|
|
982
983
|
*/
|
|
983
984
|
onSubmit?: AttrEventHandler<SubmitEvent, HTMLFormElement>;
|
|
984
|
-
"on-submit"?:
|
|
985
|
+
"on-submit"?: Form["onSubmit"];
|
|
985
986
|
}
|
|
986
987
|
interface H1 extends HTMLAttributes<HTMLHeadingElement> {}
|
|
987
988
|
interface H2 extends HTMLAttributes<HTMLHeadingElement> {}
|
|
@@ -1509,20 +1510,26 @@ declare global {
|
|
|
1509
1510
|
// TODO break into multiple interfaces based on rel?
|
|
1510
1511
|
interface Link extends HTMLAttributes<HTMLLinkElement> {
|
|
1511
1512
|
/**
|
|
1512
|
-
* Specifies the
|
|
1513
|
-
* @see https://html.spec.whatwg.org/multipage/
|
|
1513
|
+
* Specifies the destination of the preload or module preload request.
|
|
1514
|
+
* @see https://html.spec.whatwg.org/multipage/semantics.html#attr-link-as
|
|
1514
1515
|
*/
|
|
1515
1516
|
as?:
|
|
1516
1517
|
| AttrMissing
|
|
1517
1518
|
| "audio"
|
|
1519
|
+
| "audioworklet"
|
|
1518
1520
|
| "document"
|
|
1519
1521
|
| "embed"
|
|
1520
1522
|
| "fetch"
|
|
1521
1523
|
| "font"
|
|
1522
1524
|
| "image"
|
|
1525
|
+
| "json"
|
|
1523
1526
|
| "object"
|
|
1527
|
+
| "paintworklet"
|
|
1524
1528
|
| "script"
|
|
1529
|
+
| "serviceworker"
|
|
1530
|
+
| "sharedworker"
|
|
1525
1531
|
| "style"
|
|
1532
|
+
| "text"
|
|
1526
1533
|
| "track"
|
|
1527
1534
|
| "video"
|
|
1528
1535
|
| "worker";
|
|
@@ -1654,12 +1661,14 @@ declare global {
|
|
|
1654
1661
|
/**
|
|
1655
1662
|
* Specifies the title of the menu.
|
|
1656
1663
|
* @see https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-menu-label
|
|
1664
|
+
* @deprecated
|
|
1657
1665
|
*/
|
|
1658
1666
|
label?: AttrString;
|
|
1659
1667
|
|
|
1660
1668
|
/**
|
|
1661
1669
|
* Specifies the type of the menu, either a context menu or a toolbar.
|
|
1662
1670
|
* @see https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-menu-type
|
|
1671
|
+
* @deprecated
|
|
1663
1672
|
*/
|
|
1664
1673
|
type?: AttrMissing | "context" | "toolbar";
|
|
1665
1674
|
}
|
|
@@ -1684,10 +1693,15 @@ declare global {
|
|
|
1684
1693
|
"http-equiv"?:
|
|
1685
1694
|
| AttrMissing
|
|
1686
1695
|
| "Content-Security-Policy"
|
|
1696
|
+
| "content-security-policy"
|
|
1687
1697
|
| "Content-Type"
|
|
1698
|
+
| "content-type"
|
|
1688
1699
|
| "Default-Style"
|
|
1700
|
+
| "default-style"
|
|
1689
1701
|
| "Refresh"
|
|
1690
|
-
| "
|
|
1702
|
+
| "refresh"
|
|
1703
|
+
| "X-UA-Compatible"
|
|
1704
|
+
| "x-ua-compatible";
|
|
1691
1705
|
|
|
1692
1706
|
/**
|
|
1693
1707
|
* Specifies which media the metadata applies to (valid media query list).
|
|
@@ -1779,6 +1793,7 @@ declare global {
|
|
|
1779
1793
|
/**
|
|
1780
1794
|
* Specifies a client-side image map to be used with the object element.
|
|
1781
1795
|
* @see https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-usemap
|
|
1796
|
+
* @deprecated
|
|
1782
1797
|
*/
|
|
1783
1798
|
usemap?: AttrString;
|
|
1784
1799
|
|
|
@@ -2693,6 +2708,7 @@ declare global {
|
|
|
2693
2708
|
SVGConditionalProcessingAttributes {
|
|
2694
2709
|
/**
|
|
2695
2710
|
* @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
|
|
2711
|
+
* @deprecated
|
|
2696
2712
|
*/
|
|
2697
2713
|
externalResourcesRequired?: AttrBooleanString;
|
|
2698
2714
|
|
|
@@ -3004,12 +3020,12 @@ declare global {
|
|
|
3004
3020
|
/**
|
|
3005
3021
|
* @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedisplacementmap-xchannelselector
|
|
3006
3022
|
*/
|
|
3007
|
-
xChannelSelector?: "R" | "G" | "B" | "A";
|
|
3023
|
+
xChannelSelector?: AttrMissing | "R" | "G" | "B" | "A";
|
|
3008
3024
|
|
|
3009
3025
|
/**
|
|
3010
3026
|
* @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-fedisplacementmap-ychannelselector
|
|
3011
3027
|
*/
|
|
3012
|
-
yChannelSelector?: "R" | "G" | "B" | "A";
|
|
3028
|
+
yChannelSelector?: AttrMissing | "R" | "G" | "B" | "A";
|
|
3013
3029
|
}
|
|
3014
3030
|
|
|
3015
3031
|
/**
|
|
@@ -3133,6 +3149,7 @@ declare global {
|
|
|
3133
3149
|
extends SVGAttributes<SVGFEImageElement>, SVGFilterPrimitiveAttributes {
|
|
3134
3150
|
/**
|
|
3135
3151
|
* @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
|
|
3152
|
+
* @deprecated
|
|
3136
3153
|
*/
|
|
3137
3154
|
externalResourcesRequired?: AttrBooleanString;
|
|
3138
3155
|
|
|
@@ -3332,7 +3349,7 @@ declare global {
|
|
|
3332
3349
|
/**
|
|
3333
3350
|
* @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-stitchtiles
|
|
3334
3351
|
*/
|
|
3335
|
-
|
|
3352
|
+
stitchTiles?: AttrMissing | "stitch" | "noStitch";
|
|
3336
3353
|
|
|
3337
3354
|
/**
|
|
3338
3355
|
* @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-type
|
|
@@ -3346,6 +3363,7 @@ declare global {
|
|
|
3346
3363
|
interface Filter extends SVGAttributes<SVGFilterElement> {
|
|
3347
3364
|
/**
|
|
3348
3365
|
* @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
|
|
3366
|
+
* @deprecated
|
|
3349
3367
|
*/
|
|
3350
3368
|
externalResourcesRequired?: AttrBooleanString;
|
|
3351
3369
|
|
|
@@ -3903,7 +3921,8 @@ declare global {
|
|
|
3903
3921
|
preserveAspectRatio?: AttrPreserveAspectRatio;
|
|
3904
3922
|
|
|
3905
3923
|
/**
|
|
3906
|
-
* @see https://www.w3.org/TR/
|
|
3924
|
+
* @see https://www.w3.org/TR/SVG11/interact.html#ZoomAndPanAttribute
|
|
3925
|
+
* @deprecated
|
|
3907
3926
|
*/
|
|
3908
3927
|
zoomAndPan?: AttrMissing | "disable" | "magnify";
|
|
3909
3928
|
|
|
@@ -4180,7 +4199,8 @@ declare global {
|
|
|
4180
4199
|
preserveAspectRatio?: AttrPreserveAspectRatio;
|
|
4181
4200
|
|
|
4182
4201
|
/**
|
|
4183
|
-
* @see https://www.w3.org/TR/
|
|
4202
|
+
* @see https://www.w3.org/TR/SVG11/interact.html#ZoomAndPanAttribute
|
|
4203
|
+
* @deprecated
|
|
4184
4204
|
*/
|
|
4185
4205
|
zoomAndPan?: AttrMissing | "disable" | "magnify";
|
|
4186
4206
|
}
|
|
@@ -4234,6 +4254,7 @@ declare global {
|
|
|
4234
4254
|
/**
|
|
4235
4255
|
* Specifies the ID of a context menu to show when the element is right-clicked.
|
|
4236
4256
|
* @see https://html.spec.whatwg.org/multipage/interaction.html#attr-contextmenu
|
|
4257
|
+
* @deprecated
|
|
4237
4258
|
*/
|
|
4238
4259
|
contextmenu?: AttrString;
|
|
4239
4260
|
|
|
@@ -4477,6 +4498,7 @@ declare global {
|
|
|
4477
4498
|
|
|
4478
4499
|
"alignment-baseline"?: AttrMissing | csstype.Property.AlignmentBaseline;
|
|
4479
4500
|
"baseline-shift"?: AttrMissing | csstype.Property.BaselineShift | number;
|
|
4501
|
+
/** @deprecated */
|
|
4480
4502
|
clip?: AttrMissing | csstype.Property.Clip | number;
|
|
4481
4503
|
"clip-path"?: AttrMissing | csstype.Property.ClipPath;
|
|
4482
4504
|
"clip-rule"?: AttrMissing | csstype.Property.ClipRule;
|
|
@@ -4485,6 +4507,7 @@ declare global {
|
|
|
4485
4507
|
"color-interpolation-filters"?:
|
|
4486
4508
|
| AttrMissing
|
|
4487
4509
|
| csstype.Property.ColorInterpolation;
|
|
4510
|
+
/** @deprecated */
|
|
4488
4511
|
"color-rendering"?: AttrMissing | csstype.Property.ColorRendering;
|
|
4489
4512
|
cursor?: AttrMissing | csstype.Property.Cursor;
|
|
4490
4513
|
direction?: AttrMissing | csstype.Property.Direction;
|
|
@@ -4495,6 +4518,7 @@ declare global {
|
|
|
4495
4518
|
| number;
|
|
4496
4519
|
/**
|
|
4497
4520
|
* @see https://www.w3.org/TR/SVG11/filters.html#EnableBackgroundProperty
|
|
4521
|
+
* @deprecated
|
|
4498
4522
|
*/
|
|
4499
4523
|
"enable-background"?: AttrMissing | "accumulate" | "new" | (string & {});
|
|
4500
4524
|
fill?: AttrMissing | "freeze" | "remove" | csstype.Property.Fill;
|
|
@@ -4514,14 +4538,17 @@ declare global {
|
|
|
4514
4538
|
"font-style"?: AttrMissing | csstype.Property.FontStyle;
|
|
4515
4539
|
"font-variant"?: AttrMissing | csstype.Property.FontVariant;
|
|
4516
4540
|
"font-weight"?: AttrMissing | csstype.Property.FontWeight | number;
|
|
4541
|
+
/** @deprecated */
|
|
4517
4542
|
"glyph-orientation-horizontal"?:
|
|
4518
4543
|
| AttrMissing
|
|
4519
4544
|
| csstype.Property.GlyphOrientationVertical;
|
|
4545
|
+
/** @deprecated */
|
|
4520
4546
|
"glyph-orientation-vertical"?:
|
|
4521
4547
|
| AttrMissing
|
|
4522
4548
|
| csstype.Property.GlyphOrientationVertical;
|
|
4523
4549
|
"image-rendering"?: AttrMissing | csstype.Property.ImageRendering;
|
|
4524
4550
|
isolation?: AttrMissing | csstype.Property.Isolation;
|
|
4551
|
+
/** @deprecated */
|
|
4525
4552
|
kerning?: AttrMissing | csstype.Property.FontKerning | number;
|
|
4526
4553
|
"letter-spacing"?: AttrMissing | csstype.Property.LetterSpacing | number;
|
|
4527
4554
|
"lighting-color"?: AttrMissing | csstype.Property.LightingColor;
|
|
@@ -4767,7 +4794,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4767
4794
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-abort
|
|
4768
4795
|
*/
|
|
4769
4796
|
onAbort?: AttrEventHandler<Event, T>;
|
|
4770
|
-
"on-abort"?:
|
|
4797
|
+
"on-abort"?: CommonAttributes<T>["onAbort"];
|
|
4771
4798
|
onabort?: AttrString;
|
|
4772
4799
|
|
|
4773
4800
|
/**
|
|
@@ -4775,28 +4802,28 @@ interface CommonAttributes<T extends Element> {
|
|
|
4775
4802
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationcancel
|
|
4776
4803
|
*/
|
|
4777
4804
|
onAnimationCancel?: AttrEventHandler<AnimationEvent, T>;
|
|
4778
|
-
"on-animationcancel"?:
|
|
4805
|
+
"on-animationcancel"?: CommonAttributes<T>["onAnimationCancel"];
|
|
4779
4806
|
|
|
4780
4807
|
/**
|
|
4781
4808
|
* Fired when an animation has completed.
|
|
4782
4809
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationend
|
|
4783
4810
|
*/
|
|
4784
4811
|
onAnimationEnd?: AttrEventHandler<AnimationEvent, T>;
|
|
4785
|
-
"on-animationend"?:
|
|
4812
|
+
"on-animationend"?: CommonAttributes<T>["onAnimationEnd"];
|
|
4786
4813
|
|
|
4787
4814
|
/**
|
|
4788
4815
|
* Fired at the end of each iteration of an animation, except when an animationend event would fire at the same time.
|
|
4789
4816
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationiteration
|
|
4790
4817
|
*/
|
|
4791
4818
|
onAnimationIteration?: AttrEventHandler<AnimationEvent, T>;
|
|
4792
|
-
"on-animationiteration"?:
|
|
4819
|
+
"on-animationiteration"?: CommonAttributes<T>["onAnimationIteration"];
|
|
4793
4820
|
|
|
4794
4821
|
/**
|
|
4795
4822
|
* Fired when an animation has started.
|
|
4796
4823
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationstart
|
|
4797
4824
|
*/
|
|
4798
4825
|
onAnimationStart?: AttrEventHandler<AnimationEvent, T>;
|
|
4799
|
-
"on-animationstart"?:
|
|
4826
|
+
"on-animationstart"?: CommonAttributes<T>["onAnimationStart"];
|
|
4800
4827
|
|
|
4801
4828
|
/**
|
|
4802
4829
|
* Fired when a non-primary pointing device button (any mouse button other than the primary—usually leftmost—button)
|
|
@@ -4804,7 +4831,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4804
4831
|
* @see https://w3c.github.io/uievents/#event-type-auxclick
|
|
4805
4832
|
*/
|
|
4806
4833
|
onAuxClick?: AttrEventHandler<PointerEvent, T>;
|
|
4807
|
-
"on-auxclick"?:
|
|
4834
|
+
"on-auxclick"?: CommonAttributes<T>["onAuxClick"];
|
|
4808
4835
|
onauxclick?: AttrString;
|
|
4809
4836
|
|
|
4810
4837
|
/**
|
|
@@ -4812,7 +4839,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4812
4839
|
* @see https://w3c.github.io/uievents/#event-type-beforeinput
|
|
4813
4840
|
*/
|
|
4814
4841
|
onBeforeInput?: AttrEventHandler<InputEvent, T>;
|
|
4815
|
-
"on-beforeinput"?:
|
|
4842
|
+
"on-beforeinput"?: CommonAttributes<T>["onBeforeInput"];
|
|
4816
4843
|
onbeforeinput?: AttrString;
|
|
4817
4844
|
|
|
4818
4845
|
/**
|
|
@@ -4820,7 +4847,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4820
4847
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforematch
|
|
4821
4848
|
*/
|
|
4822
4849
|
onBeforeMatch?: AttrEventHandler<Event, T>;
|
|
4823
|
-
"on-beforematch"?:
|
|
4850
|
+
"on-beforematch"?: CommonAttributes<T>["onBeforeMatch"];
|
|
4824
4851
|
onbeforematch?: AttrString;
|
|
4825
4852
|
|
|
4826
4853
|
/**
|
|
@@ -4828,7 +4855,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4828
4855
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforetoggle
|
|
4829
4856
|
*/
|
|
4830
4857
|
onBeforeToggle?: AttrEventHandler<Event, T>;
|
|
4831
|
-
"on-beforetoggle"?:
|
|
4858
|
+
"on-beforetoggle"?: CommonAttributes<T>["onBeforeToggle"];
|
|
4832
4859
|
onbeforetoggle?: AttrString;
|
|
4833
4860
|
|
|
4834
4861
|
/**
|
|
@@ -4836,7 +4863,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4836
4863
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-blur
|
|
4837
4864
|
*/
|
|
4838
4865
|
onBlur?: AttrEventHandler<Event, T>;
|
|
4839
|
-
"on-blur"?:
|
|
4866
|
+
"on-blur"?: CommonAttributes<T>["onBlur"];
|
|
4840
4867
|
onblur?: AttrString;
|
|
4841
4868
|
|
|
4842
4869
|
/**
|
|
@@ -4844,7 +4871,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4844
4871
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-cancel
|
|
4845
4872
|
*/
|
|
4846
4873
|
onCancel?: AttrEventHandler<Event, T>;
|
|
4847
|
-
"on-cancel"?:
|
|
4874
|
+
"on-cancel"?: CommonAttributes<T>["onCancel"];
|
|
4848
4875
|
oncancel?: AttrString;
|
|
4849
4876
|
|
|
4850
4877
|
/**
|
|
@@ -4854,7 +4881,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4854
4881
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplay
|
|
4855
4882
|
*/
|
|
4856
4883
|
onCanPlay?: AttrEventHandler<Event, T>;
|
|
4857
|
-
"on-canplay"?:
|
|
4884
|
+
"on-canplay"?: CommonAttributes<T>["onCanPlay"];
|
|
4858
4885
|
oncanplay?: AttrString;
|
|
4859
4886
|
|
|
4860
4887
|
/**
|
|
@@ -4862,7 +4889,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4862
4889
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplaythrough
|
|
4863
4890
|
*/
|
|
4864
4891
|
onCanPlayThrough?: AttrEventHandler<Event, T>;
|
|
4865
|
-
"on-canplaythrough"?:
|
|
4892
|
+
"on-canplaythrough"?: CommonAttributes<T>["onCanPlayThrough"];
|
|
4866
4893
|
oncanplaythrough?: AttrString;
|
|
4867
4894
|
|
|
4868
4895
|
/**
|
|
@@ -4870,7 +4897,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4870
4897
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-change
|
|
4871
4898
|
*/
|
|
4872
4899
|
onChange?: AttrEventHandler<Event, T>;
|
|
4873
|
-
"on-change"?:
|
|
4900
|
+
"on-change"?: CommonAttributes<T>["onChange"];
|
|
4874
4901
|
onchange?: AttrString;
|
|
4875
4902
|
|
|
4876
4903
|
/**
|
|
@@ -4879,7 +4906,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4879
4906
|
* @see https://w3c.github.io/uievents/#event-type-click
|
|
4880
4907
|
*/
|
|
4881
4908
|
onClick?: AttrEventHandler<PointerEvent, T>;
|
|
4882
|
-
"on-click"?:
|
|
4909
|
+
"on-click"?: CommonAttributes<T>["onClick"];
|
|
4883
4910
|
onclick?: AttrString;
|
|
4884
4911
|
|
|
4885
4912
|
/**
|
|
@@ -4887,7 +4914,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4887
4914
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-close
|
|
4888
4915
|
*/
|
|
4889
4916
|
onClose?: AttrEventHandler<Event, T>;
|
|
4890
|
-
"on-close"?:
|
|
4917
|
+
"on-close"?: CommonAttributes<T>["onClose"];
|
|
4891
4918
|
onclose?: AttrString;
|
|
4892
4919
|
|
|
4893
4920
|
/**
|
|
@@ -4895,14 +4922,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
4895
4922
|
* @see https://w3c.github.io/uievents/#event-type-compositionend
|
|
4896
4923
|
*/
|
|
4897
4924
|
onCompositionEnd?: AttrEventHandler<CompositionEvent, T>;
|
|
4898
|
-
"on-compositionend"?:
|
|
4925
|
+
"on-compositionend"?: CommonAttributes<T>["onCompositionEnd"];
|
|
4899
4926
|
|
|
4900
4927
|
/**
|
|
4901
4928
|
* Fired when a text composition system such as an input method editor starts a new composition session.
|
|
4902
4929
|
* @see https://w3c.github.io/uievents/#event-type-compositionstart
|
|
4903
4930
|
*/
|
|
4904
4931
|
onCompositionStart?: AttrEventHandler<CompositionEvent, T>;
|
|
4905
|
-
"on-compositionstart"?:
|
|
4932
|
+
"on-compositionstart"?: CommonAttributes<T>["onCompositionStart"];
|
|
4906
4933
|
|
|
4907
4934
|
/**
|
|
4908
4935
|
* Fired when a new character is received in the context of a text composition session controlled by a text
|
|
@@ -4910,14 +4937,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
4910
4937
|
* @see https://w3c.github.io/uievents/#event-type-compositionupdate
|
|
4911
4938
|
*/
|
|
4912
4939
|
onCompositionUpdate?: AttrEventHandler<CompositionEvent, T>;
|
|
4913
|
-
"on-compositionupdate"?:
|
|
4940
|
+
"on-compositionupdate"?: CommonAttributes<T>["onCompositionUpdate"];
|
|
4914
4941
|
|
|
4915
4942
|
/**
|
|
4916
4943
|
* Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is lost
|
|
4917
4944
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-contextlost
|
|
4918
4945
|
*/
|
|
4919
4946
|
onContextLost?: AttrEventHandler<Event, T>;
|
|
4920
|
-
"on-contextlost"?:
|
|
4947
|
+
"on-contextlost"?: CommonAttributes<T>["onContextLost"];
|
|
4921
4948
|
oncontextlost?: AttrString;
|
|
4922
4949
|
|
|
4923
4950
|
/**
|
|
@@ -4926,7 +4953,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4926
4953
|
* @see https://w3c.github.io/uievents/#event-type-contextmenu
|
|
4927
4954
|
*/
|
|
4928
4955
|
onContextMenu?: AttrEventHandler<PointerEvent, T>;
|
|
4929
|
-
"on-contextmenu"?:
|
|
4956
|
+
"on-contextmenu"?: CommonAttributes<T>["onContextMenu"];
|
|
4930
4957
|
oncontextmenu?: AttrString;
|
|
4931
4958
|
|
|
4932
4959
|
/**
|
|
@@ -4934,7 +4961,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4934
4961
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-contextrestored
|
|
4935
4962
|
*/
|
|
4936
4963
|
onContextRestored?: AttrEventHandler<Event, T>;
|
|
4937
|
-
"on-contextrestored"?:
|
|
4964
|
+
"on-contextrestored"?: CommonAttributes<T>["onContextRestored"];
|
|
4938
4965
|
oncontextrestored?: AttrString;
|
|
4939
4966
|
|
|
4940
4967
|
/**
|
|
@@ -4942,7 +4969,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4942
4969
|
* @see https://w3c.github.io/clipboard-apis/#clipboard-event-copy
|
|
4943
4970
|
*/
|
|
4944
4971
|
onCopy?: AttrEventHandler<ClipboardEvent, T>;
|
|
4945
|
-
"on-copy"?:
|
|
4972
|
+
"on-copy"?: CommonAttributes<T>["onCopy"];
|
|
4946
4973
|
oncopy?: AttrString;
|
|
4947
4974
|
|
|
4948
4975
|
/**
|
|
@@ -4950,7 +4977,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4950
4977
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-cuechange
|
|
4951
4978
|
*/
|
|
4952
4979
|
onCueChange?: AttrEventHandler<Event, T>;
|
|
4953
|
-
"on-cuechange"?:
|
|
4980
|
+
"on-cuechange"?: CommonAttributes<T>["onCueChange"];
|
|
4954
4981
|
oncuechange?: AttrString;
|
|
4955
4982
|
|
|
4956
4983
|
/**
|
|
@@ -4958,7 +4985,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4958
4985
|
* @see https://w3c.github.io/clipboard-apis/#clipboard-event-cut
|
|
4959
4986
|
*/
|
|
4960
4987
|
onCut?: AttrEventHandler<ClipboardEvent, T>;
|
|
4961
|
-
"on-cut"?:
|
|
4988
|
+
"on-cut"?: CommonAttributes<T>["onCut"];
|
|
4962
4989
|
oncut?: AttrString;
|
|
4963
4990
|
|
|
4964
4991
|
/**
|
|
@@ -4966,7 +4993,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4966
4993
|
* @see https://w3c.github.io/uievents/#event-type-dblclick
|
|
4967
4994
|
*/
|
|
4968
4995
|
onDblClick?: AttrEventHandler<MouseEvent, T>;
|
|
4969
|
-
"on-dblclick"?:
|
|
4996
|
+
"on-dblclick"?: CommonAttributes<T>["onDblClick"];
|
|
4970
4997
|
ondblclick?: AttrString;
|
|
4971
4998
|
|
|
4972
4999
|
/**
|
|
@@ -4974,7 +5001,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4974
5001
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-drag
|
|
4975
5002
|
*/
|
|
4976
5003
|
onDrag?: AttrEventHandler<DragEvent, T>;
|
|
4977
|
-
"on-drag"?:
|
|
5004
|
+
"on-drag"?: CommonAttributes<T>["onDrag"];
|
|
4978
5005
|
ondrag?: AttrString;
|
|
4979
5006
|
|
|
4980
5007
|
/**
|
|
@@ -4982,7 +5009,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4982
5009
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragend
|
|
4983
5010
|
*/
|
|
4984
5011
|
onDragEnd?: AttrEventHandler<DragEvent, T>;
|
|
4985
|
-
"on-dragend"?:
|
|
5012
|
+
"on-dragend"?: CommonAttributes<T>["onDragEnd"];
|
|
4986
5013
|
ondragend?: AttrString;
|
|
4987
5014
|
|
|
4988
5015
|
/**
|
|
@@ -4990,7 +5017,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4990
5017
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragenter
|
|
4991
5018
|
*/
|
|
4992
5019
|
onDragEnter?: AttrEventHandler<DragEvent, T>;
|
|
4993
|
-
"on-dragenter"?:
|
|
5020
|
+
"on-dragenter"?: CommonAttributes<T>["onDragEnter"];
|
|
4994
5021
|
ondragenter?: AttrString;
|
|
4995
5022
|
|
|
4996
5023
|
/**
|
|
@@ -4998,7 +5025,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
4998
5025
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragleave
|
|
4999
5026
|
*/
|
|
5000
5027
|
onDragLeave?: AttrEventHandler<DragEvent, T>;
|
|
5001
|
-
"on-dragleave"?:
|
|
5028
|
+
"on-dragleave"?: CommonAttributes<T>["onDragLeave"];
|
|
5002
5029
|
ondragleave?: AttrString;
|
|
5003
5030
|
|
|
5004
5031
|
/**
|
|
@@ -5006,7 +5033,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5006
5033
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragover
|
|
5007
5034
|
*/
|
|
5008
5035
|
onDragOver?: AttrEventHandler<DragEvent, T>;
|
|
5009
|
-
"on-dragover"?:
|
|
5036
|
+
"on-dragover"?: CommonAttributes<T>["onDragOver"];
|
|
5010
5037
|
ondragover?: AttrString;
|
|
5011
5038
|
|
|
5012
5039
|
/**
|
|
@@ -5014,7 +5041,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5014
5041
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragstart
|
|
5015
5042
|
*/
|
|
5016
5043
|
onDragStart?: AttrEventHandler<DragEvent, T>;
|
|
5017
|
-
"on-dragstart"?:
|
|
5044
|
+
"on-dragstart"?: CommonAttributes<T>["onDragStart"];
|
|
5018
5045
|
ondragstart?: AttrString;
|
|
5019
5046
|
|
|
5020
5047
|
/**
|
|
@@ -5022,7 +5049,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5022
5049
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-drop
|
|
5023
5050
|
*/
|
|
5024
5051
|
onDrop?: AttrEventHandler<DragEvent, T>;
|
|
5025
|
-
"on-drop"?:
|
|
5052
|
+
"on-drop"?: CommonAttributes<T>["onDrop"];
|
|
5026
5053
|
ondrop?: AttrString;
|
|
5027
5054
|
|
|
5028
5055
|
/**
|
|
@@ -5030,7 +5057,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5030
5057
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-durationchange
|
|
5031
5058
|
*/
|
|
5032
5059
|
onDurationChange?: AttrEventHandler<Event, T>;
|
|
5033
|
-
"on-durationchange"?:
|
|
5060
|
+
"on-durationchange"?: CommonAttributes<T>["onDurationChange"];
|
|
5034
5061
|
ondurationchange?: AttrString;
|
|
5035
5062
|
|
|
5036
5063
|
/**
|
|
@@ -5038,7 +5065,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5038
5065
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-emptied
|
|
5039
5066
|
*/
|
|
5040
5067
|
onEmptied?: AttrEventHandler<Event, T>;
|
|
5041
|
-
"on-emptied"?:
|
|
5068
|
+
"on-emptied"?: CommonAttributes<T>["onEmptied"];
|
|
5042
5069
|
onemptied?: AttrString;
|
|
5043
5070
|
|
|
5044
5071
|
/**
|
|
@@ -5046,14 +5073,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
5046
5073
|
* @see https://w3c.github.io/encrypted-media/#dom-evt-encrypted
|
|
5047
5074
|
*/
|
|
5048
5075
|
onEncrypted?: AttrEventHandler<MediaEncryptedEvent, T>;
|
|
5049
|
-
"on-encrypted"?:
|
|
5076
|
+
"on-encrypted"?: CommonAttributes<T>["onEncrypted"];
|
|
5050
5077
|
|
|
5051
5078
|
/**
|
|
5052
5079
|
* 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.
|
|
5053
5080
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-ended
|
|
5054
5081
|
*/
|
|
5055
5082
|
onEnded?: AttrEventHandler<Event, T>;
|
|
5056
|
-
"on-ended"?:
|
|
5083
|
+
"on-ended"?: CommonAttributes<T>["onEnded"];
|
|
5057
5084
|
onended?: AttrString;
|
|
5058
5085
|
|
|
5059
5086
|
/**
|
|
@@ -5061,7 +5088,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5061
5088
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-error
|
|
5062
5089
|
*/
|
|
5063
5090
|
onError?: AttrEventHandler<ErrorEvent | Event, T>;
|
|
5064
|
-
"on-error"?:
|
|
5091
|
+
"on-error"?: CommonAttributes<T>["onError"];
|
|
5065
5092
|
onerror?: AttrString;
|
|
5066
5093
|
|
|
5067
5094
|
/**
|
|
@@ -5069,7 +5096,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5069
5096
|
* @see https://html.spec.whatwg.org/multipage/interaction.html#event-focus
|
|
5070
5097
|
*/
|
|
5071
5098
|
onFocus?: AttrEventHandler<FocusEvent, T>;
|
|
5072
|
-
"on-focus"?:
|
|
5099
|
+
"on-focus"?: CommonAttributes<T>["onFocus"];
|
|
5073
5100
|
onfocus?: AttrString;
|
|
5074
5101
|
|
|
5075
5102
|
/**
|
|
@@ -5078,7 +5105,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5078
5105
|
* @see https://w3c.github.io/uievents/#event-type-focusin
|
|
5079
5106
|
*/
|
|
5080
5107
|
onFocusIn?: AttrEventHandler<FocusEvent, T>;
|
|
5081
|
-
"on-focusin"?:
|
|
5108
|
+
"on-focusin"?: CommonAttributes<T>["onFocusIn"];
|
|
5082
5109
|
|
|
5083
5110
|
/**
|
|
5084
5111
|
* Fires when an element has lost focus, after the blur event. The two events differ in that focusout bubbles, while blur does not.
|
|
@@ -5086,14 +5113,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
5086
5113
|
* @see https://w3c.github.io/uievents/#event-type-focusout
|
|
5087
5114
|
*/
|
|
5088
5115
|
onFocusOut?: AttrEventHandler<FocusEvent, T>;
|
|
5089
|
-
"on-focusout"?:
|
|
5116
|
+
"on-focusout"?: CommonAttributes<T>["onFocusOut"];
|
|
5090
5117
|
|
|
5091
5118
|
/**
|
|
5092
5119
|
* Fired at a form element when it is constructing the entry list
|
|
5093
5120
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-formdata
|
|
5094
5121
|
*/
|
|
5095
5122
|
onFormData?: AttrEventHandler<FormDataEvent, T>;
|
|
5096
|
-
"on-formdata"?:
|
|
5123
|
+
"on-formdata"?: CommonAttributes<T>["onFormData"];
|
|
5097
5124
|
onformdata?: AttrString;
|
|
5098
5125
|
|
|
5099
5126
|
/**
|
|
@@ -5101,14 +5128,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
5101
5128
|
* @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenchange
|
|
5102
5129
|
*/
|
|
5103
5130
|
onFullscreenChange?: AttrEventHandler<Event, T>;
|
|
5104
|
-
"on-fullscreenchange"?:
|
|
5131
|
+
"on-fullscreenchange"?: CommonAttributes<T>["onFullscreenChange"];
|
|
5105
5132
|
|
|
5106
5133
|
/**
|
|
5107
5134
|
* Fired when the browser cannot switch to fullscreen mode.
|
|
5108
5135
|
* @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenerror
|
|
5109
5136
|
*/
|
|
5110
5137
|
onFullscreenError?: AttrEventHandler<Event, T>;
|
|
5111
|
-
"on-fullscreenerror"?:
|
|
5138
|
+
"on-fullscreenerror"?: CommonAttributes<T>["onFullscreenError"];
|
|
5112
5139
|
|
|
5113
5140
|
/**
|
|
5114
5141
|
* Fired when an element captures a pointer using setPointerCapture().
|
|
@@ -5117,14 +5144,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
5117
5144
|
* @see https://w3c.github.io/pointerevents/#the-gotpointercapture-event
|
|
5118
5145
|
*/
|
|
5119
5146
|
onGotPointerCapture?: AttrEventHandler<PointerEvent, T>;
|
|
5120
|
-
"on-gotpointercapture"?:
|
|
5147
|
+
"on-gotpointercapture"?: CommonAttributes<T>["onGotPointerCapture"];
|
|
5121
5148
|
|
|
5122
5149
|
/**
|
|
5123
5150
|
* Fired when the form element's value changes, as a result of user input.
|
|
5124
5151
|
* @see https://w3c.github.io/uievents/#event-type-input
|
|
5125
5152
|
*/
|
|
5126
5153
|
onInput?: AttrEventHandler<InputEvent, T>;
|
|
5127
|
-
"on-input"?:
|
|
5154
|
+
"on-input"?: CommonAttributes<T>["onInput"];
|
|
5128
5155
|
oninput?: AttrString;
|
|
5129
5156
|
|
|
5130
5157
|
/**
|
|
@@ -5132,7 +5159,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5132
5159
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-invalid
|
|
5133
5160
|
*/
|
|
5134
5161
|
onInvalid?: AttrEventHandler<Event, T>;
|
|
5135
|
-
"on-invalid"?:
|
|
5162
|
+
"on-invalid"?: CommonAttributes<T>["onInvalid"];
|
|
5136
5163
|
oninvalid?: AttrString;
|
|
5137
5164
|
|
|
5138
5165
|
/**
|
|
@@ -5140,7 +5167,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5140
5167
|
* @see https://w3c.github.io/uievents/#event-type-keydown
|
|
5141
5168
|
*/
|
|
5142
5169
|
onKeyDown?: AttrEventHandler<KeyboardEvent, T>;
|
|
5143
|
-
"on-keydown"?:
|
|
5170
|
+
"on-keydown"?: CommonAttributes<T>["onKeyDown"];
|
|
5144
5171
|
onkeydown?: AttrString;
|
|
5145
5172
|
|
|
5146
5173
|
/**
|
|
@@ -5148,7 +5175,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5148
5175
|
* @see https://w3c.github.io/uievents/#event-type-keypress
|
|
5149
5176
|
*/
|
|
5150
5177
|
onKeyPress?: AttrEventHandler<KeyboardEvent, T>;
|
|
5151
|
-
"on-keypress"?:
|
|
5178
|
+
"on-keypress"?: CommonAttributes<T>["onKeyPress"];
|
|
5152
5179
|
onkeypress?: AttrString;
|
|
5153
5180
|
|
|
5154
5181
|
/**
|
|
@@ -5156,7 +5183,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5156
5183
|
* @see https://w3c.github.io/uievents/#event-type-keyup
|
|
5157
5184
|
*/
|
|
5158
5185
|
onKeyUp?: AttrEventHandler<KeyboardEvent, T>;
|
|
5159
|
-
"on-keyup"?:
|
|
5186
|
+
"on-keyup"?: CommonAttributes<T>["onKeyUp"];
|
|
5160
5187
|
onkeyup?: AttrString;
|
|
5161
5188
|
|
|
5162
5189
|
/**
|
|
@@ -5164,7 +5191,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5164
5191
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-load
|
|
5165
5192
|
*/
|
|
5166
5193
|
onLoad?: AttrEventHandler<Event, T>;
|
|
5167
|
-
"on-load"?:
|
|
5194
|
+
"on-load"?: CommonAttributes<T>["onLoad"];
|
|
5168
5195
|
onload?: AttrString;
|
|
5169
5196
|
|
|
5170
5197
|
/**
|
|
@@ -5172,7 +5199,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5172
5199
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadeddata
|
|
5173
5200
|
*/
|
|
5174
5201
|
onLoadedData?: AttrEventHandler<Event, T>;
|
|
5175
|
-
"on-loadeddata"?:
|
|
5202
|
+
"on-loadeddata"?: CommonAttributes<T>["onLoadedData"];
|
|
5176
5203
|
onloadeddata?: AttrString;
|
|
5177
5204
|
|
|
5178
5205
|
/**
|
|
@@ -5180,7 +5207,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5180
5207
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadedmetadata
|
|
5181
5208
|
*/
|
|
5182
5209
|
onLoadedMetadata?: AttrEventHandler<Event, T>;
|
|
5183
|
-
"on-loadedmetadata"?:
|
|
5210
|
+
"on-loadedmetadata"?: CommonAttributes<T>["onLoadedMetadata"];
|
|
5184
5211
|
onloadedmetadata?: AttrString;
|
|
5185
5212
|
|
|
5186
5213
|
/**
|
|
@@ -5188,7 +5215,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5188
5215
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadstart
|
|
5189
5216
|
*/
|
|
5190
5217
|
onLoadStart?: AttrEventHandler<Event, T>;
|
|
5191
|
-
"on-loadstart"?:
|
|
5218
|
+
"on-loadstart"?: CommonAttributes<T>["onLoadStart"];
|
|
5192
5219
|
onloadstart?: AttrString;
|
|
5193
5220
|
|
|
5194
5221
|
/**
|
|
@@ -5196,14 +5223,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
5196
5223
|
* @see https://w3c.github.io/pointerevents/#dfn-lostpointercapture
|
|
5197
5224
|
*/
|
|
5198
5225
|
onLostPointerCapture?: AttrEventHandler<PointerEvent, T>;
|
|
5199
|
-
"on-lostpointercapture"?:
|
|
5226
|
+
"on-lostpointercapture"?: CommonAttributes<T>["onLostPointerCapture"];
|
|
5200
5227
|
|
|
5201
5228
|
/**
|
|
5202
5229
|
* Fired when a pointing device button is pressed down over an element.
|
|
5203
5230
|
* @see https://w3c.github.io/uievents/#event-type-mousedown
|
|
5204
5231
|
*/
|
|
5205
5232
|
onMouseDown?: AttrEventHandler<MouseEvent, T>;
|
|
5206
|
-
"on-mousedown"?:
|
|
5233
|
+
"on-mousedown"?: CommonAttributes<T>["onMouseDown"];
|
|
5207
5234
|
onmousedown?: AttrString;
|
|
5208
5235
|
|
|
5209
5236
|
/**
|
|
@@ -5211,7 +5238,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5211
5238
|
* @see https://w3c.github.io/uievents/#event-type-mouseenter
|
|
5212
5239
|
*/
|
|
5213
5240
|
onMouseEnter?: AttrEventHandler<MouseEvent, T>;
|
|
5214
|
-
"on-mouseenter"?:
|
|
5241
|
+
"on-mouseenter"?: CommonAttributes<T>["onMouseEnter"];
|
|
5215
5242
|
onmouseenter?: AttrString;
|
|
5216
5243
|
|
|
5217
5244
|
/**
|
|
@@ -5219,7 +5246,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5219
5246
|
* @see https://w3c.github.io/uievents/#event-type-mouseleave
|
|
5220
5247
|
*/
|
|
5221
5248
|
onMouseLeave?: AttrEventHandler<MouseEvent, T>;
|
|
5222
|
-
"on-mouseleave"?:
|
|
5249
|
+
"on-mouseleave"?: CommonAttributes<T>["onMouseLeave"];
|
|
5223
5250
|
onmouseleave?: AttrString;
|
|
5224
5251
|
|
|
5225
5252
|
/**
|
|
@@ -5227,7 +5254,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5227
5254
|
* @see https://w3c.github.io/uievents/#event-type-mousemove
|
|
5228
5255
|
*/
|
|
5229
5256
|
onMouseMove?: AttrEventHandler<MouseEvent, T>;
|
|
5230
|
-
"on-mousemove"?:
|
|
5257
|
+
"on-mousemove"?: CommonAttributes<T>["onMouseMove"];
|
|
5231
5258
|
onmousemove?: AttrString;
|
|
5232
5259
|
|
|
5233
5260
|
/**
|
|
@@ -5235,7 +5262,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5235
5262
|
* @see https://w3c.github.io/uievents/#event-type-mouseout
|
|
5236
5263
|
*/
|
|
5237
5264
|
onMouseOut?: AttrEventHandler<MouseEvent, T>;
|
|
5238
|
-
"on-mouseout"?:
|
|
5265
|
+
"on-mouseout"?: CommonAttributes<T>["onMouseOut"];
|
|
5239
5266
|
onmouseout?: AttrString;
|
|
5240
5267
|
|
|
5241
5268
|
/**
|
|
@@ -5243,7 +5270,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5243
5270
|
* @see https://w3c.github.io/uievents/#event-type-mouseover
|
|
5244
5271
|
*/
|
|
5245
5272
|
onMouseOver?: AttrEventHandler<MouseEvent, T>;
|
|
5246
|
-
"on-mouseover"?:
|
|
5273
|
+
"on-mouseover"?: CommonAttributes<T>["onMouseOver"];
|
|
5247
5274
|
onmouseover?: AttrString;
|
|
5248
5275
|
|
|
5249
5276
|
/**
|
|
@@ -5251,7 +5278,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5251
5278
|
* @see https://w3c.github.io/uievents/#event-type-mouseup
|
|
5252
5279
|
*/
|
|
5253
5280
|
onMouseUp?: AttrEventHandler<MouseEvent, T>;
|
|
5254
|
-
"on-mouseup"?:
|
|
5281
|
+
"on-mouseup"?: CommonAttributes<T>["onMouseUp"];
|
|
5255
5282
|
onmouseup?: AttrString;
|
|
5256
5283
|
|
|
5257
5284
|
/**
|
|
@@ -5259,7 +5286,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5259
5286
|
* @see https://w3c.github.io/clipboard-apis/#clipboard-event-paste
|
|
5260
5287
|
*/
|
|
5261
5288
|
onPaste?: AttrEventHandler<ClipboardEvent, T>;
|
|
5262
|
-
"on-paste"?:
|
|
5289
|
+
"on-paste"?: CommonAttributes<T>["onPaste"];
|
|
5263
5290
|
onpaste?: AttrString;
|
|
5264
5291
|
|
|
5265
5292
|
/**
|
|
@@ -5267,7 +5294,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5267
5294
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-pause
|
|
5268
5295
|
*/
|
|
5269
5296
|
onPause?: AttrEventHandler<Event, T>;
|
|
5270
|
-
"on-pause"?:
|
|
5297
|
+
"on-pause"?: CommonAttributes<T>["onPause"];
|
|
5271
5298
|
onpause?: AttrString;
|
|
5272
5299
|
|
|
5273
5300
|
/**
|
|
@@ -5275,7 +5302,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5275
5302
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-play
|
|
5276
5303
|
*/
|
|
5277
5304
|
onPlay?: AttrEventHandler<Event, T>;
|
|
5278
|
-
"on-play"?:
|
|
5305
|
+
"on-play"?: CommonAttributes<T>["onPlay"];
|
|
5279
5306
|
onplay?: AttrString;
|
|
5280
5307
|
|
|
5281
5308
|
/**
|
|
@@ -5283,7 +5310,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5283
5310
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-playing
|
|
5284
5311
|
*/
|
|
5285
5312
|
onPlaying?: AttrEventHandler<Event, T>;
|
|
5286
|
-
"on-playing"?:
|
|
5313
|
+
"on-playing"?: CommonAttributes<T>["onPlaying"];
|
|
5287
5314
|
onplaying?: AttrString;
|
|
5288
5315
|
|
|
5289
5316
|
/**
|
|
@@ -5291,63 +5318,63 @@ interface CommonAttributes<T extends Element> {
|
|
|
5291
5318
|
* @see https://w3c.github.io/pointerevents/#the-pointercancel-event
|
|
5292
5319
|
*/
|
|
5293
5320
|
onPointerCancel?: AttrEventHandler<PointerEvent, T>;
|
|
5294
|
-
"on-pointercancel"?:
|
|
5321
|
+
"on-pointercancel"?: CommonAttributes<T>["onPointerCancel"];
|
|
5295
5322
|
|
|
5296
5323
|
/**
|
|
5297
5324
|
* Fired when a pointing device's button is pressed down on an element.
|
|
5298
5325
|
* @see https://w3c.github.io/pointerevents/#the-pointerdown-event
|
|
5299
5326
|
*/
|
|
5300
5327
|
onPointerDown?: AttrEventHandler<PointerEvent, T>;
|
|
5301
|
-
"on-pointerdown"?:
|
|
5328
|
+
"on-pointerdown"?: CommonAttributes<T>["onPointerDown"];
|
|
5302
5329
|
|
|
5303
5330
|
/**
|
|
5304
5331
|
* Fired when a pointing device is moved onto the element.
|
|
5305
5332
|
* @see https://w3c.github.io/pointerevents/#the-pointerenter-event
|
|
5306
5333
|
*/
|
|
5307
5334
|
onPointerEnter?: AttrEventHandler<PointerEvent, T>;
|
|
5308
|
-
"on-pointerenter"?:
|
|
5335
|
+
"on-pointerenter"?: CommonAttributes<T>["onPointerEnter"];
|
|
5309
5336
|
|
|
5310
5337
|
/**
|
|
5311
5338
|
* Fired when a pointing device is moved off the element.
|
|
5312
5339
|
* @see https://w3c.github.io/pointerevents/#the-pointerleave-event
|
|
5313
5340
|
*/
|
|
5314
5341
|
onPointerLeave?: AttrEventHandler<PointerEvent, T>;
|
|
5315
|
-
"on-pointerleave"?:
|
|
5342
|
+
"on-pointerleave"?: CommonAttributes<T>["onPointerLeave"];
|
|
5316
5343
|
|
|
5317
5344
|
/**
|
|
5318
5345
|
* Fired when a pointing device is moved over an element.
|
|
5319
5346
|
* @see https://w3c.github.io/pointerevents/#the-pointermove-event
|
|
5320
5347
|
*/
|
|
5321
5348
|
onPointerMove?: AttrEventHandler<PointerEvent, T>;
|
|
5322
|
-
"on-pointermove"?:
|
|
5349
|
+
"on-pointermove"?: CommonAttributes<T>["onPointerMove"];
|
|
5323
5350
|
|
|
5324
5351
|
/**
|
|
5325
5352
|
* Fired when a pointing device is moved off the element or off one of its children.
|
|
5326
5353
|
* @see https://w3c.github.io/pointerevents/#the-pointerout-event
|
|
5327
5354
|
*/
|
|
5328
5355
|
onPointerOut?: AttrEventHandler<PointerEvent, T>;
|
|
5329
|
-
"on-pointerout"?:
|
|
5356
|
+
"on-pointerout"?: CommonAttributes<T>["onPointerOut"];
|
|
5330
5357
|
|
|
5331
5358
|
/**
|
|
5332
5359
|
* Fired when a pointing device is moved onto the element or onto one of its children.
|
|
5333
5360
|
* @see https://w3c.github.io/pointerevents/#the-pointerover-event
|
|
5334
5361
|
*/
|
|
5335
5362
|
onPointerOver?: AttrEventHandler<PointerEvent, T>;
|
|
5336
|
-
"on-pointerover"?:
|
|
5363
|
+
"on-pointerover"?: CommonAttributes<T>["onPointerOver"];
|
|
5337
5364
|
|
|
5338
5365
|
/**
|
|
5339
5366
|
* Fired when a pointing device's button is released over an element.
|
|
5340
5367
|
* @see https://w3c.github.io/pointerevents/#the-pointerup-event
|
|
5341
5368
|
*/
|
|
5342
5369
|
onPointerUp?: AttrEventHandler<PointerEvent, T>;
|
|
5343
|
-
"on-pointerup"?:
|
|
5370
|
+
"on-pointerup"?: CommonAttributes<T>["onPointerUp"];
|
|
5344
5371
|
|
|
5345
5372
|
/**
|
|
5346
5373
|
* Fired when the user agent is downloading media data or resources, to indicate progress.
|
|
5347
5374
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-progress
|
|
5348
5375
|
*/
|
|
5349
5376
|
onProgress?: AttrEventHandler<Event, T>;
|
|
5350
|
-
"on-progress"?:
|
|
5377
|
+
"on-progress"?: CommonAttributes<T>["onProgress"];
|
|
5351
5378
|
onprogress?: AttrString;
|
|
5352
5379
|
|
|
5353
5380
|
/**
|
|
@@ -5355,7 +5382,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5355
5382
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-ratechange
|
|
5356
5383
|
*/
|
|
5357
5384
|
onRateChange?: AttrEventHandler<Event, T>;
|
|
5358
|
-
"on-ratechange"?:
|
|
5385
|
+
"on-ratechange"?: CommonAttributes<T>["onRateChange"];
|
|
5359
5386
|
onratechange?: AttrString;
|
|
5360
5387
|
|
|
5361
5388
|
/**
|
|
@@ -5363,7 +5390,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5363
5390
|
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#event-reset
|
|
5364
5391
|
*/
|
|
5365
5392
|
onReset?: AttrEventHandler<Event, T>;
|
|
5366
|
-
"on-reset"?:
|
|
5393
|
+
"on-reset"?: CommonAttributes<T>["onReset"];
|
|
5367
5394
|
onreset?: AttrString;
|
|
5368
5395
|
|
|
5369
5396
|
/**
|
|
@@ -5371,7 +5398,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5371
5398
|
* @see https://drafts.csswg.org/cssom-view/#eventdef-window-resize
|
|
5372
5399
|
*/
|
|
5373
5400
|
onResize?: AttrEventHandler<Event, T>;
|
|
5374
|
-
"on-resize"?:
|
|
5401
|
+
"on-resize"?: CommonAttributes<T>["onResize"];
|
|
5375
5402
|
onresize?: AttrString;
|
|
5376
5403
|
|
|
5377
5404
|
/**
|
|
@@ -5379,7 +5406,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5379
5406
|
* @see https://drafts.csswg.org/cssom-view/#eventdef-document-scroll
|
|
5380
5407
|
*/
|
|
5381
5408
|
onScroll?: AttrEventHandler<Event, T>;
|
|
5382
|
-
"on-scroll"?:
|
|
5409
|
+
"on-scroll"?: CommonAttributes<T>["onScroll"];
|
|
5383
5410
|
onscroll?: AttrString;
|
|
5384
5411
|
|
|
5385
5412
|
/**
|
|
@@ -5387,7 +5414,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5387
5414
|
* @see https://drafts.csswg.org/cssom-view/#eventdef-document-scrollend
|
|
5388
5415
|
*/
|
|
5389
5416
|
onScrollEnd?: AttrEventHandler<Event, T>;
|
|
5390
|
-
"on-scrollend"?:
|
|
5417
|
+
"on-scrollend"?: CommonAttributes<T>["onScrollEnd"];
|
|
5391
5418
|
onscrollend?: AttrString;
|
|
5392
5419
|
|
|
5393
5420
|
/**
|
|
@@ -5395,7 +5422,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5395
5422
|
* @see https://w3c.github.io/webappsec-csp/#eventdef-globaleventhandlers-securitypolicyviolation
|
|
5396
5423
|
*/
|
|
5397
5424
|
onSecurityPolicyViolation?: AttrEventHandler<SecurityPolicyViolationEvent, T>;
|
|
5398
|
-
"on-securitypolicyviolation"?:
|
|
5425
|
+
"on-securitypolicyviolation"?: CommonAttributes<T>["onSecurityPolicyViolation"];
|
|
5399
5426
|
onsecuritypolicyviolation?: AttrString;
|
|
5400
5427
|
|
|
5401
5428
|
/**
|
|
@@ -5403,7 +5430,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5403
5430
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-seeked
|
|
5404
5431
|
*/
|
|
5405
5432
|
onSeeked?: AttrEventHandler<Event, T>;
|
|
5406
|
-
"on-seeked"?:
|
|
5433
|
+
"on-seeked"?: CommonAttributes<T>["onSeeked"];
|
|
5407
5434
|
onseeked?: AttrString;
|
|
5408
5435
|
|
|
5409
5436
|
/**
|
|
@@ -5411,7 +5438,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5411
5438
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-seeking
|
|
5412
5439
|
*/
|
|
5413
5440
|
onSeeking?: AttrEventHandler<Event, T>;
|
|
5414
|
-
"on-seeking"?:
|
|
5441
|
+
"on-seeking"?: CommonAttributes<T>["onSeeking"];
|
|
5415
5442
|
onseeking?: AttrString;
|
|
5416
5443
|
|
|
5417
5444
|
/**
|
|
@@ -5419,7 +5446,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5419
5446
|
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#event-select
|
|
5420
5447
|
*/
|
|
5421
5448
|
onSelect?: AttrEventHandler<Event, T>;
|
|
5422
|
-
"on-select"?:
|
|
5449
|
+
"on-select"?: CommonAttributes<T>["onSelect"];
|
|
5423
5450
|
onselect?: AttrString;
|
|
5424
5451
|
|
|
5425
5452
|
/**
|
|
@@ -5427,7 +5454,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5427
5454
|
* @see https://dom.spec.whatwg.org/#eventdef-htmlslotelement-slotchange
|
|
5428
5455
|
*/
|
|
5429
5456
|
onSlotChange?: AttrEventHandler<Event, T>;
|
|
5430
|
-
"on-slotchange"?:
|
|
5457
|
+
"on-slotchange"?: CommonAttributes<T>["onSlotChange"];
|
|
5431
5458
|
onslotchange?: AttrString;
|
|
5432
5459
|
|
|
5433
5460
|
/**
|
|
@@ -5435,7 +5462,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5435
5462
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-stalled
|
|
5436
5463
|
*/
|
|
5437
5464
|
onStalled?: AttrEventHandler<Event, T>;
|
|
5438
|
-
"on-stalled"?:
|
|
5465
|
+
"on-stalled"?: CommonAttributes<T>["onStalled"];
|
|
5439
5466
|
onstalled?: AttrString;
|
|
5440
5467
|
|
|
5441
5468
|
/**
|
|
@@ -5443,7 +5470,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5443
5470
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-submit
|
|
5444
5471
|
*/
|
|
5445
5472
|
onSubmit?: AttrEventHandler<SubmitEvent, T>;
|
|
5446
|
-
"on-submit"?:
|
|
5473
|
+
"on-submit"?: CommonAttributes<T>["onSubmit"];
|
|
5447
5474
|
onsubmit?: AttrString;
|
|
5448
5475
|
|
|
5449
5476
|
/**
|
|
@@ -5451,7 +5478,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5451
5478
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-suspend
|
|
5452
5479
|
*/
|
|
5453
5480
|
onSuspend?: AttrEventHandler<Event, T>;
|
|
5454
|
-
"on-suspend"?:
|
|
5481
|
+
"on-suspend"?: CommonAttributes<T>["onSuspend"];
|
|
5455
5482
|
onsuspend?: AttrString;
|
|
5456
5483
|
|
|
5457
5484
|
/**
|
|
@@ -5459,7 +5486,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5459
5486
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-timeupdate
|
|
5460
5487
|
*/
|
|
5461
5488
|
onTimeUpdate?: AttrEventHandler<Event, T>;
|
|
5462
|
-
"on-timeupdate"?:
|
|
5489
|
+
"on-timeupdate"?: CommonAttributes<T>["onTimeUpdate"];
|
|
5463
5490
|
ontimeupdate?: AttrString;
|
|
5464
5491
|
|
|
5465
5492
|
/**
|
|
@@ -5467,7 +5494,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5467
5494
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-toggle
|
|
5468
5495
|
*/
|
|
5469
5496
|
onToggle?: AttrEventHandler<Event, T>;
|
|
5470
|
-
"on-toggle"?:
|
|
5497
|
+
"on-toggle"?: CommonAttributes<T>["onToggle"];
|
|
5471
5498
|
ontoggle?: AttrString;
|
|
5472
5499
|
|
|
5473
5500
|
/**
|
|
@@ -5475,63 +5502,63 @@ interface CommonAttributes<T extends Element> {
|
|
|
5475
5502
|
* @see https://w3c.github.io/touch-events/#event-touchcancel
|
|
5476
5503
|
*/
|
|
5477
5504
|
onTouchCancel?: AttrEventHandler<TouchEvent, T>;
|
|
5478
|
-
"on-touchcancel"?:
|
|
5505
|
+
"on-touchcancel"?: CommonAttributes<T>["onTouchCancel"];
|
|
5479
5506
|
|
|
5480
5507
|
/**
|
|
5481
5508
|
* Fired when a finger is lifted from a touch surface.
|
|
5482
5509
|
* @see https://w3c.github.io/touch-events/#event-touchend
|
|
5483
5510
|
*/
|
|
5484
5511
|
onTouchEnd?: AttrEventHandler<TouchEvent, T>;
|
|
5485
|
-
"on-touchend"?:
|
|
5512
|
+
"on-touchend"?: CommonAttributes<T>["onTouchEnd"];
|
|
5486
5513
|
|
|
5487
5514
|
/**
|
|
5488
5515
|
* Fired when a finger is moved along a touch surface.
|
|
5489
5516
|
* @see https://w3c.github.io/touch-events/#event-touchmove
|
|
5490
5517
|
*/
|
|
5491
5518
|
onTouchMove?: AttrEventHandler<TouchEvent, T>;
|
|
5492
|
-
"on-touchmove"?:
|
|
5519
|
+
"on-touchmove"?: CommonAttributes<T>["onTouchMove"];
|
|
5493
5520
|
|
|
5494
5521
|
/**
|
|
5495
5522
|
* Fired when a finger is placed on a touch surface.
|
|
5496
5523
|
* @see https://w3c.github.io/touch-events/#event-touchstart
|
|
5497
5524
|
*/
|
|
5498
5525
|
onTouchStart?: AttrEventHandler<TouchEvent, T>;
|
|
5499
|
-
"on-touchstart"?:
|
|
5526
|
+
"on-touchstart"?: CommonAttributes<T>["onTouchStart"];
|
|
5500
5527
|
|
|
5501
5528
|
/**
|
|
5502
5529
|
* Fired when a CSS transition is canceled.
|
|
5503
5530
|
* @see https://drafts.csswg.org/css-transitions/#transitioncancel
|
|
5504
5531
|
*/
|
|
5505
5532
|
onTransitionCancel?: AttrEventHandler<TransitionEvent, T>;
|
|
5506
|
-
"on-transitioncancel"?:
|
|
5533
|
+
"on-transitioncancel"?: CommonAttributes<T>["onTransitionCancel"];
|
|
5507
5534
|
|
|
5508
5535
|
/**
|
|
5509
5536
|
* Fired when a CSS transition has completed.
|
|
5510
5537
|
* @see https://drafts.csswg.org/css-transitions/#transitionend
|
|
5511
5538
|
*/
|
|
5512
5539
|
onTransitionEnd?: AttrEventHandler<TransitionEvent, T>;
|
|
5513
|
-
"on-transitionend"?:
|
|
5540
|
+
"on-transitionend"?: CommonAttributes<T>["onTransitionEnd"];
|
|
5514
5541
|
|
|
5515
5542
|
/**
|
|
5516
5543
|
* Fired when a CSS transition is first created, i.e. before any transition-delay has begun.
|
|
5517
5544
|
* @see https://drafts.csswg.org/css-transitions/#transitionrun
|
|
5518
5545
|
*/
|
|
5519
5546
|
onTransitionRun?: AttrEventHandler<TransitionEvent, T>;
|
|
5520
|
-
"on-transitionrun"?:
|
|
5547
|
+
"on-transitionrun"?: CommonAttributes<T>["onTransitionRun"];
|
|
5521
5548
|
|
|
5522
5549
|
/**
|
|
5523
5550
|
* Fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
|
|
5524
5551
|
* @see https://drafts.csswg.org/css-transitions/#transitionstart
|
|
5525
5552
|
*/
|
|
5526
5553
|
onTransitionStart?: AttrEventHandler<TransitionEvent, T>;
|
|
5527
|
-
"on-transitionstart"?:
|
|
5554
|
+
"on-transitionstart"?: CommonAttributes<T>["onTransitionStart"];
|
|
5528
5555
|
|
|
5529
5556
|
/**
|
|
5530
5557
|
* Fired when the volume level or muted state of a media element changes.
|
|
5531
5558
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-volumechange
|
|
5532
5559
|
*/
|
|
5533
5560
|
onVolumeChange?: AttrEventHandler<Event, T>;
|
|
5534
|
-
"on-volumechange"?:
|
|
5561
|
+
"on-volumechange"?: CommonAttributes<T>["onVolumeChange"];
|
|
5535
5562
|
onvolumechange?: AttrString;
|
|
5536
5563
|
|
|
5537
5564
|
/**
|
|
@@ -5539,7 +5566,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5539
5566
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-waiting
|
|
5540
5567
|
*/
|
|
5541
5568
|
onWaiting?: AttrEventHandler<Event, T>;
|
|
5542
|
-
"on-waiting"?:
|
|
5569
|
+
"on-waiting"?: CommonAttributes<T>["onWaiting"];
|
|
5543
5570
|
onwaiting?: AttrString;
|
|
5544
5571
|
|
|
5545
5572
|
/**
|
|
@@ -5547,7 +5574,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5547
5574
|
* @see https://w3c.github.io/uievents/#event-type-wheel
|
|
5548
5575
|
*/
|
|
5549
5576
|
onWheel?: AttrEventHandler<WheelEvent, T>;
|
|
5550
|
-
"on-wheel"?:
|
|
5577
|
+
"on-wheel"?: CommonAttributes<T>["onWheel"];
|
|
5551
5578
|
onwheel?: AttrString;
|
|
5552
5579
|
|
|
5553
5580
|
/**
|
|
@@ -5650,7 +5677,8 @@ interface CommonAttributes<T extends Element> {
|
|
|
5650
5677
|
| "link"
|
|
5651
5678
|
| "move"
|
|
5652
5679
|
| "none"
|
|
5653
|
-
| "popup"
|
|
5680
|
+
| "popup"
|
|
5681
|
+
| (string & {});
|
|
5654
5682
|
/**
|
|
5655
5683
|
* Identifies the element that provides an error message for the object.
|
|
5656
5684
|
* @see https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage
|
|
@@ -5789,7 +5817,8 @@ interface CommonAttributes<T extends Element> {
|
|
|
5789
5817
|
| "removals"
|
|
5790
5818
|
| "text additions"
|
|
5791
5819
|
| "text removals"
|
|
5792
|
-
| "text"
|
|
5820
|
+
| "text"
|
|
5821
|
+
| (string & {});
|
|
5793
5822
|
/**
|
|
5794
5823
|
* Indicates that user input is required on the element before a form may be submitted.
|
|
5795
5824
|
* @see https://www.w3.org/TR/wai-aria-1.1/#aria-required
|
|
@@ -5835,7 +5864,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5835
5864
|
* Indicates if items in a table or grid are sorted in ascending or descending order.
|
|
5836
5865
|
* @see https://www.w3.org/TR/wai-aria-1.1/#aria-sort
|
|
5837
5866
|
*/
|
|
5838
|
-
"aria-sort"?: "ascending" | "descending" | "none" | "other";
|
|
5867
|
+
"aria-sort"?: AttrMissing | "ascending" | "descending" | "none" | "other";
|
|
5839
5868
|
/**
|
|
5840
5869
|
* Defines the maximum allowed value for a range widget.
|
|
5841
5870
|
* @see https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax
|
|
@@ -5863,8 +5892,10 @@ interface CommonAttributes<T extends Element> {
|
|
|
5863
5892
|
*/
|
|
5864
5893
|
"aria-valuetext"?: AttrString;
|
|
5865
5894
|
/**
|
|
5866
|
-
* Defines the ARIA role of an element.
|
|
5867
|
-
* @see https://www.w3.org/TR/wai-aria-1.
|
|
5895
|
+
* Defines the ARIA role of an element: a space separated list of roles, of which the first one the user agent supports applies.
|
|
5896
|
+
* @see https://www.w3.org/TR/wai-aria-1.2/#role_definitions
|
|
5897
|
+
* @see https://www.w3.org/TR/graphics-aria-1.0/#role_definitions
|
|
5898
|
+
* @see https://www.w3.org/TR/dpub-aria-1.1/#role_definitions
|
|
5868
5899
|
*/
|
|
5869
5900
|
role?:
|
|
5870
5901
|
| AttrMissing
|
|
@@ -5873,25 +5904,73 @@ interface CommonAttributes<T extends Element> {
|
|
|
5873
5904
|
| "application"
|
|
5874
5905
|
| "article"
|
|
5875
5906
|
| "banner"
|
|
5907
|
+
| "blockquote"
|
|
5876
5908
|
| "button"
|
|
5909
|
+
| "caption"
|
|
5877
5910
|
| "cell"
|
|
5878
5911
|
| "checkbox"
|
|
5912
|
+
| "code"
|
|
5879
5913
|
| "columnheader"
|
|
5880
5914
|
| "combobox"
|
|
5881
5915
|
| "complementary"
|
|
5882
5916
|
| "contentinfo"
|
|
5883
5917
|
| "definition"
|
|
5918
|
+
| "deletion"
|
|
5884
5919
|
| "dialog"
|
|
5885
|
-
| "
|
|
5920
|
+
| "doc-abstract"
|
|
5921
|
+
| "doc-acknowledgments"
|
|
5922
|
+
| "doc-afterword"
|
|
5923
|
+
| "doc-appendix"
|
|
5924
|
+
| "doc-backlink"
|
|
5925
|
+
| "doc-bibliography"
|
|
5926
|
+
| "doc-biblioref"
|
|
5927
|
+
| "doc-chapter"
|
|
5928
|
+
| "doc-colophon"
|
|
5929
|
+
| "doc-conclusion"
|
|
5930
|
+
| "doc-cover"
|
|
5931
|
+
| "doc-credit"
|
|
5932
|
+
| "doc-credits"
|
|
5933
|
+
| "doc-dedication"
|
|
5934
|
+
| "doc-endnotes"
|
|
5935
|
+
| "doc-epigraph"
|
|
5936
|
+
| "doc-epilogue"
|
|
5937
|
+
| "doc-errata"
|
|
5938
|
+
| "doc-example"
|
|
5939
|
+
| "doc-footnote"
|
|
5940
|
+
| "doc-foreword"
|
|
5941
|
+
| "doc-glossary"
|
|
5942
|
+
| "doc-glossref"
|
|
5943
|
+
| "doc-index"
|
|
5944
|
+
| "doc-introduction"
|
|
5945
|
+
| "doc-noteref"
|
|
5946
|
+
| "doc-notice"
|
|
5947
|
+
| "doc-pagebreak"
|
|
5948
|
+
| "doc-pagefooter"
|
|
5949
|
+
| "doc-pageheader"
|
|
5950
|
+
| "doc-pagelist"
|
|
5951
|
+
| "doc-part"
|
|
5952
|
+
| "doc-preface"
|
|
5953
|
+
| "doc-prologue"
|
|
5954
|
+
| "doc-pullquote"
|
|
5955
|
+
| "doc-qna"
|
|
5956
|
+
| "doc-subtitle"
|
|
5957
|
+
| "doc-tip"
|
|
5958
|
+
| "doc-toc"
|
|
5886
5959
|
| "document"
|
|
5960
|
+
| "emphasis"
|
|
5887
5961
|
| "feed"
|
|
5888
5962
|
| "figure"
|
|
5889
5963
|
| "form"
|
|
5964
|
+
| "generic"
|
|
5965
|
+
| "graphics-document"
|
|
5966
|
+
| "graphics-object"
|
|
5967
|
+
| "graphics-symbol"
|
|
5890
5968
|
| "grid"
|
|
5891
5969
|
| "gridcell"
|
|
5892
5970
|
| "group"
|
|
5893
5971
|
| "heading"
|
|
5894
5972
|
| "img"
|
|
5973
|
+
| "insertion"
|
|
5895
5974
|
| "link"
|
|
5896
5975
|
| "list"
|
|
5897
5976
|
| "listbox"
|
|
@@ -5910,6 +5989,7 @@ interface CommonAttributes<T extends Element> {
|
|
|
5910
5989
|
| "none"
|
|
5911
5990
|
| "note"
|
|
5912
5991
|
| "option"
|
|
5992
|
+
| "paragraph"
|
|
5913
5993
|
| "presentation"
|
|
5914
5994
|
| "progressbar"
|
|
5915
5995
|
| "radio"
|
|
@@ -5925,6 +6005,9 @@ interface CommonAttributes<T extends Element> {
|
|
|
5925
6005
|
| "slider"
|
|
5926
6006
|
| "spinbutton"
|
|
5927
6007
|
| "status"
|
|
6008
|
+
| "strong"
|
|
6009
|
+
| "subscript"
|
|
6010
|
+
| "superscript"
|
|
5928
6011
|
| "switch"
|
|
5929
6012
|
| "tab"
|
|
5930
6013
|
| "table"
|
|
@@ -5932,12 +6015,14 @@ interface CommonAttributes<T extends Element> {
|
|
|
5932
6015
|
| "tabpanel"
|
|
5933
6016
|
| "term"
|
|
5934
6017
|
| "textbox"
|
|
6018
|
+
| "time"
|
|
5935
6019
|
| "timer"
|
|
5936
6020
|
| "toolbar"
|
|
5937
6021
|
| "tooltip"
|
|
5938
6022
|
| "tree"
|
|
5939
6023
|
| "treegrid"
|
|
5940
|
-
| "treeitem"
|
|
6024
|
+
| "treeitem"
|
|
6025
|
+
| (string & {});
|
|
5941
6026
|
}
|
|
5942
6027
|
type AttrMissing = undefined | null | false;
|
|
5943
6028
|
type AttrClass =
|