marko 6.0.0-next.3.22 → 6.0.0-next.3.23
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/common/for.d.ts +3 -4
- package/dist/common/types.d.ts +18 -17
- package/dist/debug/dom.js +696 -740
- package/dist/debug/dom.mjs +696 -740
- package/dist/debug/html.js +256 -99
- package/dist/debug/html.mjs +247 -95
- package/dist/dom/abort-signal.d.ts +1 -1
- package/dist/dom/compat.d.ts +1 -0
- package/dist/dom/control-flow.d.ts +6 -8
- package/dist/dom/queue.d.ts +4 -2
- package/dist/dom/reconcile.d.ts +2 -2
- package/dist/dom/renderer.d.ts +7 -8
- package/dist/dom/resume.d.ts +3 -3
- package/dist/dom/scope.d.ts +4 -4
- package/dist/dom/signals.d.ts +13 -26
- package/dist/dom/template.d.ts +2 -2
- package/dist/dom.d.ts +2 -2
- package/dist/dom.js +441 -482
- package/dist/dom.mjs +441 -482
- package/dist/html/dynamic-tag.d.ts +3 -3
- package/dist/html/writer.d.ts +12 -12
- package/dist/html.d.ts +1 -1
- package/dist/html.js +202 -65
- package/dist/html.mjs +193 -61
- package/dist/translator/core/for.d.ts +0 -2
- package/dist/translator/index.js +189 -224
- package/dist/translator/util/runtime.d.ts +1 -2
- package/dist/translator/util/sections.d.ts +2 -1
- package/dist/translator/util/signals.d.ts +2 -2
- package/package.json +2 -2
- package/tags-html.d.ts +152 -152
package/tags-html.d.ts
CHANGED
@@ -382,36 +382,36 @@ declare global {
|
|
382
382
|
* Fires after printing the document.
|
383
383
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-afterprint
|
384
384
|
*/
|
385
|
-
|
386
|
-
"on-afterprint"?: this["
|
385
|
+
onAfterPrint?: AttrEventHandler<Event, HTMLBodyElement>;
|
386
|
+
"on-afterprint"?: this["onAfterPrint"];
|
387
387
|
|
388
388
|
/**
|
389
389
|
* Fires before printing the document.
|
390
390
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeprint
|
391
391
|
*/
|
392
|
-
|
393
|
-
"on-beforeprint"?: this["
|
392
|
+
onBeforePrint?: AttrEventHandler<Event, HTMLBodyElement>;
|
393
|
+
"on-beforeprint"?: this["onBeforePrint"];
|
394
394
|
|
395
395
|
/**
|
396
396
|
* Fired when the page is about to be unloaded, in case the page would like to show a warning prompt.
|
397
397
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeunload
|
398
398
|
*/
|
399
|
-
|
400
|
-
"on-beforeunload"?: this["
|
399
|
+
onBeforeUnload?: AttrEventHandler<BeforeUnloadEvent, HTMLBodyElement>;
|
400
|
+
"on-beforeunload"?: this["onBeforeUnload"];
|
401
401
|
|
402
402
|
/**
|
403
403
|
* Fired when the fragment part of the document's URL changes.
|
404
404
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-hashchange
|
405
405
|
*/
|
406
|
-
|
407
|
-
"on-hashchange"?: this["
|
406
|
+
onHashChange?: AttrEventHandler<HashChangeEvent, HTMLBodyElement>;
|
407
|
+
"on-hashchange"?: this["onHashChange"];
|
408
408
|
|
409
409
|
/**
|
410
410
|
* Fired when the user's preferred languages change.
|
411
411
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-languagechange
|
412
412
|
*/
|
413
|
-
|
414
|
-
"on-languagechange"?: this["
|
413
|
+
onLanguageChange?: AttrEventHandler<Event, HTMLBodyElement>;
|
414
|
+
"on-languagechange"?: this["onLanguageChange"];
|
415
415
|
|
416
416
|
/**
|
417
417
|
* Fired when the window receives a message.
|
@@ -424,8 +424,8 @@ declare global {
|
|
424
424
|
* Fired when the window receives an error message.
|
425
425
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-messageerror
|
426
426
|
*/
|
427
|
-
|
428
|
-
"on-messageerror"?: this["
|
427
|
+
onMessageError?: AttrEventHandler<MessageEvent, HTMLBodyElement>;
|
428
|
+
"on-messageerror"?: this["onMessageError"];
|
429
429
|
|
430
430
|
/**
|
431
431
|
* Fired when the network connection is lost.
|
@@ -445,29 +445,29 @@ declare global {
|
|
445
445
|
* Fired when the page's session history entry stops being the active entry.
|
446
446
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-pagehide
|
447
447
|
*/
|
448
|
-
|
449
|
-
"on-pagehide"?: this["
|
448
|
+
onPageHide?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
|
449
|
+
"on-pagehide"?: this["onPageHide"];
|
450
450
|
|
451
451
|
/**
|
452
452
|
* Fired when the page's session history entry becomes the active entry.
|
453
453
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-pageshow
|
454
454
|
*/
|
455
|
-
|
456
|
-
"on-pageshow"?: this["
|
455
|
+
onPageShow?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
|
456
|
+
"on-pageshow"?: this["onPageShow"];
|
457
457
|
|
458
458
|
/**
|
459
459
|
* Fired when the window's session history is popped.
|
460
460
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-popstate
|
461
461
|
*/
|
462
|
-
|
463
|
-
"on-popstate"?: this["
|
462
|
+
onPopState?: AttrEventHandler<PopStateEvent, HTMLBodyElement>;
|
463
|
+
"on-popstate"?: this["onPopState"];
|
464
464
|
|
465
465
|
/**
|
466
466
|
* Fires when a previously-unhandled promise rejection becomes handled.
|
467
467
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-rejectionhandled
|
468
468
|
*/
|
469
|
-
|
470
|
-
"on-rejectionhandled"?: this["
|
469
|
+
onRejectionHandled?: AttrEventHandler<Event, HTMLBodyElement>;
|
470
|
+
"on-rejectionhandled"?: this["onRejectionHandled"];
|
471
471
|
|
472
472
|
/**
|
473
473
|
* Fired when the corresponding localStorage or sessionStorage storage areas change.
|
@@ -845,8 +845,8 @@ declare global {
|
|
845
845
|
* Fired at a form element when it is constructing the entry list
|
846
846
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-formdata
|
847
847
|
*/
|
848
|
-
|
849
|
-
"on-formdata"?: this["
|
848
|
+
onFormData?: AttrEventHandler<FormDataEvent, HTMLFormElement>;
|
849
|
+
"on-formdata"?: this["onFormData"];
|
850
850
|
|
851
851
|
/**
|
852
852
|
* Fired when a form is submitted, either by user interaction or through a script.
|
@@ -2663,61 +2663,61 @@ declare global {
|
|
2663
2663
|
* Fired when an Animation unexpectedly aborts.
|
2664
2664
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationcancel
|
2665
2665
|
*/
|
2666
|
-
|
2667
|
-
"on-animationcancel"?: this["
|
2666
|
+
onAnimationCancel?: AttrEventHandler<AnimationEvent, T>;
|
2667
|
+
"on-animationcancel"?: this["onAnimationCancel"];
|
2668
2668
|
|
2669
2669
|
/**
|
2670
2670
|
* Fired when an animation has completed.
|
2671
2671
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationend
|
2672
2672
|
*/
|
2673
|
-
|
2674
|
-
"on-animationend"?: this["
|
2673
|
+
onAnimationEnd?: AttrEventHandler<AnimationEvent, T>;
|
2674
|
+
"on-animationend"?: this["onAnimationEnd"];
|
2675
2675
|
|
2676
2676
|
/**
|
2677
2677
|
* Fired at the end of each iteration of an animation, except when an animationend event would fire at the same time.
|
2678
2678
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationiteration
|
2679
2679
|
*/
|
2680
|
-
|
2681
|
-
"on-animationiteration"?: this["
|
2680
|
+
onAnimationIteration?: AttrEventHandler<AnimationEvent, T>;
|
2681
|
+
"on-animationiteration"?: this["onAnimationIteration"];
|
2682
2682
|
|
2683
2683
|
/**
|
2684
2684
|
* Fired when an animation has started.
|
2685
2685
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationstart
|
2686
2686
|
*/
|
2687
|
-
|
2688
|
-
"on-animationstart"?: this["
|
2687
|
+
onAnimationStart?: AttrEventHandler<AnimationEvent, T>;
|
2688
|
+
"on-animationstart"?: this["onAnimationStart"];
|
2689
2689
|
|
2690
2690
|
/**
|
2691
2691
|
* Fired when a non-primary pointing device button (any mouse button other than the primary—usually leftmost—button)
|
2692
2692
|
* has been pressed and released both within the same element.
|
2693
2693
|
* @see https://w3c.github.io/uievents/#event-type-auxclick
|
2694
2694
|
*/
|
2695
|
-
|
2696
|
-
"on-auxclick"?: this["
|
2695
|
+
onAuxClick?: AttrEventHandler<PointerEvent, T>;
|
2696
|
+
"on-auxclick"?: this["onAuxClick"];
|
2697
2697
|
onauxclick?: AttrString;
|
2698
2698
|
|
2699
2699
|
/**
|
2700
2700
|
* Fires when the value of an <input>, or <textarea> element is about to be modified.
|
2701
2701
|
* @see https://w3c.github.io/uievents/#event-type-beforeinput
|
2702
2702
|
*/
|
2703
|
-
|
2704
|
-
"on-beforeinput"?: this["
|
2703
|
+
onBeforeInput?: AttrEventHandler<InputEvent, T>;
|
2704
|
+
"on-beforeinput"?: this["onBeforeInput"];
|
2705
2705
|
onbeforeinput?: AttrString;
|
2706
2706
|
|
2707
2707
|
/**
|
2708
2708
|
* Fired on elements with the hidden=until-found attribute before they are revealed.
|
2709
2709
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforematch
|
2710
2710
|
*/
|
2711
|
-
|
2712
|
-
"on-beforematch"?: this["
|
2711
|
+
onBeforeMatch?: AttrEventHandler<Event, T>;
|
2712
|
+
"on-beforematch"?: this["onBeforeMatch"];
|
2713
2713
|
onbeforematch?: AttrString;
|
2714
2714
|
|
2715
2715
|
/**
|
2716
2716
|
* Fired on elements with the popover attribute when they are transitioning between showing and hidden
|
2717
2717
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforetoggle
|
2718
2718
|
*/
|
2719
|
-
|
2720
|
-
"on-beforetoggle"?: this["
|
2719
|
+
onBeforeToggle?: AttrEventHandler<Event, T>;
|
2720
|
+
"on-beforetoggle"?: this["onBeforeToggle"];
|
2721
2721
|
onbeforetoggle?: AttrString;
|
2722
2722
|
|
2723
2723
|
/**
|
@@ -2742,16 +2742,16 @@ declare global {
|
|
2742
2742
|
* playback rate up to its end without having to stop for further buffering of content.
|
2743
2743
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplay
|
2744
2744
|
*/
|
2745
|
-
|
2746
|
-
"on-canplay"?: this["
|
2745
|
+
onCanPlay?: AttrEventHandler<Event, T>;
|
2746
|
+
"on-canplay"?: this["onCanPlay"];
|
2747
2747
|
oncanplay?: AttrString;
|
2748
2748
|
|
2749
2749
|
/**
|
2750
2750
|
* Fires when the user agent can play through the media data without having to stop for further buffering of content.
|
2751
2751
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplaythrough
|
2752
2752
|
*/
|
2753
|
-
|
2754
|
-
"on-canplaythrough"?: this["
|
2753
|
+
onCanPlayThrough?: AttrEventHandler<Event, T>;
|
2754
|
+
"on-canplaythrough"?: this["onCanPlayThrough"];
|
2755
2755
|
oncanplaythrough?: AttrString;
|
2756
2756
|
|
2757
2757
|
/**
|
@@ -2783,30 +2783,30 @@ declare global {
|
|
2783
2783
|
* Fired when a text composition system such as an input method editor completes or cancels the current composition session.
|
2784
2784
|
* @see https://w3c.github.io/uievents/#event-type-compositionend
|
2785
2785
|
*/
|
2786
|
-
|
2787
|
-
"on-compositionend"?: this["
|
2786
|
+
onCompositionEnd?: AttrEventHandler<CompositionEvent, T>;
|
2787
|
+
"on-compositionend"?: this["onCompositionEnd"];
|
2788
2788
|
|
2789
2789
|
/**
|
2790
2790
|
* Fired when a text composition system such as an input method editor starts a new composition session.
|
2791
2791
|
* @see https://w3c.github.io/uievents/#event-type-compositionstart
|
2792
2792
|
*/
|
2793
|
-
|
2794
|
-
"on-compositionstart"?: this["
|
2793
|
+
onCompositionStart?: AttrEventHandler<CompositionEvent, T>;
|
2794
|
+
"on-compositionstart"?: this["onCompositionStart"];
|
2795
2795
|
|
2796
2796
|
/**
|
2797
2797
|
* Fired when a new character is received in the context of a text composition session controlled by a text
|
2798
2798
|
* composition system such as an input method editor.
|
2799
2799
|
* @see https://w3c.github.io/uievents/#event-type-compositionupdate
|
2800
2800
|
*/
|
2801
|
-
|
2802
|
-
"on-compositionupdate"?: this["
|
2801
|
+
onCompositionUpdate?: AttrEventHandler<CompositionEvent, T>;
|
2802
|
+
"on-compositionupdate"?: this["onCompositionUpdate"];
|
2803
2803
|
|
2804
2804
|
/**
|
2805
2805
|
* Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is lost
|
2806
2806
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-contextlost
|
2807
2807
|
*/
|
2808
|
-
|
2809
|
-
"on-contextlost"?: this["
|
2808
|
+
onContextLost?: AttrEventHandler<Event, T>;
|
2809
|
+
"on-contextlost"?: this["onContextLost"];
|
2810
2810
|
oncontextlost?: AttrString;
|
2811
2811
|
|
2812
2812
|
/**
|
@@ -2814,16 +2814,16 @@ declare global {
|
|
2814
2814
|
* This event is typically triggered by clicking the right mouse button, or by pressing the context menu key.
|
2815
2815
|
* @see https://w3c.github.io/uievents/#event-type-contextmenu
|
2816
2816
|
*/
|
2817
|
-
|
2818
|
-
"on-contextmenu"?: this["
|
2817
|
+
onContextMenu?: AttrEventHandler<PointerEvent, T>;
|
2818
|
+
"on-contextmenu"?: this["onContextMenu"];
|
2819
2819
|
oncontextmenu?: AttrString;
|
2820
2820
|
|
2821
2821
|
/**
|
2822
2822
|
* Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is restored after being lost
|
2823
2823
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-contextrestored
|
2824
2824
|
*/
|
2825
|
-
|
2826
|
-
"on-contextrestored"?: this["
|
2825
|
+
onContextRestored?: AttrEventHandler<Event, T>;
|
2826
|
+
"on-contextrestored"?: this["onContextRestored"];
|
2827
2827
|
oncontextrestored?: AttrString;
|
2828
2828
|
|
2829
2829
|
/**
|
@@ -2838,8 +2838,8 @@ declare global {
|
|
2838
2838
|
* Fired when one or more cues in the track have become active or stopped being active.
|
2839
2839
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-cuechange
|
2840
2840
|
*/
|
2841
|
-
|
2842
|
-
"on-cuechange"?: this["
|
2841
|
+
onCueChange?: AttrEventHandler<Event, T>;
|
2842
|
+
"on-cuechange"?: this["onCueChange"];
|
2843
2843
|
oncuechange?: AttrString;
|
2844
2844
|
|
2845
2845
|
/**
|
@@ -2854,8 +2854,8 @@ declare global {
|
|
2854
2854
|
* Fired when the user double-clicks on an element.
|
2855
2855
|
* @see https://w3c.github.io/uievents/#event-type-dblclick
|
2856
2856
|
*/
|
2857
|
-
|
2858
|
-
"on-dblclick"?: this["
|
2857
|
+
onDblClick?: AttrEventHandler<MouseEvent, T>;
|
2858
|
+
"on-dblclick"?: this["onDblClick"];
|
2859
2859
|
ondblclick?: AttrString;
|
2860
2860
|
|
2861
2861
|
/**
|
@@ -2870,40 +2870,40 @@ declare global {
|
|
2870
2870
|
* Fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
|
2871
2871
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragend
|
2872
2872
|
*/
|
2873
|
-
|
2874
|
-
"on-dragend"?: this["
|
2873
|
+
onDragEnd?: AttrEventHandler<DragEvent, T>;
|
2874
|
+
"on-dragend"?: this["onDragEnd"];
|
2875
2875
|
ondragend?: AttrString;
|
2876
2876
|
|
2877
2877
|
/**
|
2878
2878
|
* Fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
|
2879
2879
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragenter
|
2880
2880
|
*/
|
2881
|
-
|
2882
|
-
"on-dragenter"?: this["
|
2881
|
+
onDragEnter?: AttrEventHandler<DragEvent, T>;
|
2882
|
+
"on-dragenter"?: this["onDragEnter"];
|
2883
2883
|
ondragenter?: AttrString;
|
2884
2884
|
|
2885
2885
|
/**
|
2886
2886
|
* Fired when a dragged element or text selection leaves a valid drop target.
|
2887
2887
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragleave
|
2888
2888
|
*/
|
2889
|
-
|
2890
|
-
"on-dragleave"?: this["
|
2889
|
+
onDragLeave?: AttrEventHandler<DragEvent, T>;
|
2890
|
+
"on-dragleave"?: this["onDragLeave"];
|
2891
2891
|
ondragleave?: AttrString;
|
2892
2892
|
|
2893
2893
|
/**
|
2894
2894
|
* Fired an element or text selection is being dragged over a valid drop target (every few hundred milliseconds).
|
2895
2895
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragover
|
2896
2896
|
*/
|
2897
|
-
|
2898
|
-
"on-dragover"?: this["
|
2897
|
+
onDragOver?: AttrEventHandler<DragEvent, T>;
|
2898
|
+
"on-dragover"?: this["onDragOver"];
|
2899
2899
|
ondragover?: AttrString;
|
2900
2900
|
|
2901
2901
|
/**
|
2902
2902
|
* Fired when an element or text selection has started being dragged.
|
2903
2903
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragstart
|
2904
2904
|
*/
|
2905
|
-
|
2906
|
-
"on-dragstart"?: this["
|
2905
|
+
onDragStart?: AttrEventHandler<DragEvent, T>;
|
2906
|
+
"on-dragstart"?: this["onDragStart"];
|
2907
2907
|
ondragstart?: AttrString;
|
2908
2908
|
|
2909
2909
|
/**
|
@@ -2918,8 +2918,8 @@ declare global {
|
|
2918
2918
|
* Fired when the duration attribute of a media element has just been updated.
|
2919
2919
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-durationchange
|
2920
2920
|
*/
|
2921
|
-
|
2922
|
-
"on-durationchange"?: this["
|
2921
|
+
onDurationChange?: AttrEventHandler<Event, T>;
|
2922
|
+
"on-durationchange"?: this["onDurationChange"];
|
2923
2923
|
ondurationchange?: AttrString;
|
2924
2924
|
|
2925
2925
|
/**
|
@@ -2966,38 +2966,38 @@ declare global {
|
|
2966
2966
|
* @see HTMLAttributes.onFocus
|
2967
2967
|
* @see https://w3c.github.io/uievents/#event-type-focusin
|
2968
2968
|
*/
|
2969
|
-
|
2970
|
-
"on-focusin"?: this["
|
2969
|
+
onFocusIn?: AttrEventHandler<FocusEvent, T>;
|
2970
|
+
"on-focusin"?: this["onFocusIn"];
|
2971
2971
|
|
2972
2972
|
/**
|
2973
2973
|
* Fires when an element has lost focus, after the blur event. The two events differ in that focusout bubbles, while blur does not.
|
2974
2974
|
* @see HTMLAttributes.onBlur
|
2975
2975
|
* @see https://w3c.github.io/uievents/#event-type-focusout
|
2976
2976
|
*/
|
2977
|
-
|
2978
|
-
"on-focusout"?: this["
|
2977
|
+
onFocusOut?: AttrEventHandler<FocusEvent, T>;
|
2978
|
+
"on-focusout"?: this["onFocusOut"];
|
2979
2979
|
|
2980
2980
|
/**
|
2981
2981
|
* Fired at a form element when it is constructing the entry list
|
2982
2982
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-formdata
|
2983
2983
|
*/
|
2984
|
-
|
2985
|
-
"on-formdata"?: this["
|
2984
|
+
onFormData?: AttrEventHandler<FormDataEvent, T>;
|
2985
|
+
"on-formdata"?: this["onFormData"];
|
2986
2986
|
onformdata?: AttrString;
|
2987
2987
|
|
2988
2988
|
/**
|
2989
2989
|
* Fired immediately after an Element switches into or out of fullscreen mode.
|
2990
2990
|
* @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenchange
|
2991
2991
|
*/
|
2992
|
-
|
2993
|
-
"on-fullscreenchange"?: this["
|
2992
|
+
onFullscreenChange?: AttrEventHandler<Event, T>;
|
2993
|
+
"on-fullscreenchange"?: this["onFullscreenChange"];
|
2994
2994
|
|
2995
2995
|
/**
|
2996
2996
|
* Fired when the browser cannot switch to fullscreen mode.
|
2997
2997
|
* @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenerror
|
2998
2998
|
*/
|
2999
|
-
|
3000
|
-
"on-fullscreenerror"?: this["
|
2999
|
+
onFullscreenError?: AttrEventHandler<Event, T>;
|
3000
|
+
"on-fullscreenerror"?: this["onFullscreenError"];
|
3001
3001
|
|
3002
3002
|
/**
|
3003
3003
|
* Fired when an element captures a pointer using setPointerCapture().
|
@@ -3005,8 +3005,8 @@ declare global {
|
|
3005
3005
|
* @see Element.setPointerCapture
|
3006
3006
|
* @see https://w3c.github.io/pointerevents/#the-gotpointercapture-event
|
3007
3007
|
*/
|
3008
|
-
|
3009
|
-
"on-gotpointercapture"?: this["
|
3008
|
+
onGotPointerCapture?: AttrEventHandler<PointerEvent, T>;
|
3009
|
+
"on-gotpointercapture"?: this["onGotPointerCapture"];
|
3010
3010
|
|
3011
3011
|
/**
|
3012
3012
|
* Fired when the form element's value changes, as a result of user input.
|
@@ -3028,24 +3028,24 @@ declare global {
|
|
3028
3028
|
* Fired when a key is first pressed down.
|
3029
3029
|
* @see https://w3c.github.io/uievents/#event-type-keydown
|
3030
3030
|
*/
|
3031
|
-
|
3032
|
-
"on-keydown"?: this["
|
3031
|
+
onKeyDown?: AttrEventHandler<KeyboardEvent, T>;
|
3032
|
+
"on-keydown"?: this["onKeyDown"];
|
3033
3033
|
onkeydown?: AttrString;
|
3034
3034
|
|
3035
3035
|
/**
|
3036
3036
|
* Fired when a key is pressed down and then released, while the element has focus.
|
3037
3037
|
* @see https://w3c.github.io/uievents/#event-type-keypress
|
3038
3038
|
*/
|
3039
|
-
|
3040
|
-
"on-keypress"?: this["
|
3039
|
+
onKeyPress?: AttrEventHandler<KeyboardEvent, T>;
|
3040
|
+
"on-keypress"?: this["onKeyPress"];
|
3041
3041
|
onkeypress?: AttrString;
|
3042
3042
|
|
3043
3043
|
/**
|
3044
3044
|
* Fired when a key is released after being pressed down.
|
3045
3045
|
* @see https://w3c.github.io/uievents/#event-type-keyup
|
3046
3046
|
*/
|
3047
|
-
|
3048
|
-
"on-keyup"?: this["
|
3047
|
+
onKeyUp?: AttrEventHandler<KeyboardEvent, T>;
|
3048
|
+
"on-keyup"?: this["onKeyUp"];
|
3049
3049
|
onkeyup?: AttrString;
|
3050
3050
|
|
3051
3051
|
/**
|
@@ -3060,87 +3060,87 @@ declare global {
|
|
3060
3060
|
* Fired when the user agent can render the media data at the current playback position for the first time.
|
3061
3061
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadeddata
|
3062
3062
|
*/
|
3063
|
-
|
3064
|
-
"on-loadeddata"?: this["
|
3063
|
+
onLoadedData?: AttrEventHandler<Event, T>;
|
3064
|
+
"on-loadeddata"?: this["onLoadedData"];
|
3065
3065
|
onloadeddata?: AttrString;
|
3066
3066
|
|
3067
3067
|
/**
|
3068
3068
|
* Fired when the user agent has just determined the duration and dimensions of the media resource.
|
3069
3069
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadedmetadata
|
3070
3070
|
*/
|
3071
|
-
|
3072
|
-
"on-loadedmetadata"?: this["
|
3071
|
+
onLoadedMetadata?: AttrEventHandler<Event, T>;
|
3072
|
+
"on-loadedmetadata"?: this["onLoadedMetadata"];
|
3073
3073
|
onloadedmetadata?: AttrString;
|
3074
3074
|
|
3075
3075
|
/**
|
3076
3076
|
* Fired when the user agent begins looking for media data, before the media has begun to load.
|
3077
3077
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadstart
|
3078
3078
|
*/
|
3079
|
-
|
3080
|
-
"on-loadstart"?: this["
|
3079
|
+
onLoadStart?: AttrEventHandler<Event, T>;
|
3080
|
+
"on-loadstart"?: this["onLoadStart"];
|
3081
3081
|
onloadstart?: AttrString;
|
3082
3082
|
|
3083
3083
|
/**
|
3084
3084
|
* Fired when a captured pointer is released.
|
3085
3085
|
* @see https://w3c.github.io/pointerevents/#dfn-lostpointercapture
|
3086
3086
|
*/
|
3087
|
-
|
3088
|
-
"on-lostpointercapture"?: this["
|
3087
|
+
onLostPointerCapture?: AttrEventHandler<PointerEvent, T>;
|
3088
|
+
"on-lostpointercapture"?: this["onLostPointerCapture"];
|
3089
3089
|
|
3090
3090
|
/**
|
3091
3091
|
* Fired when a pointing device button is pressed down over an element.
|
3092
3092
|
* @see https://w3c.github.io/uievents/#event-type-mousedown
|
3093
3093
|
*/
|
3094
|
-
|
3095
|
-
"on-mousedown"?: this["
|
3094
|
+
onMouseDown?: AttrEventHandler<MouseEvent, T>;
|
3095
|
+
"on-mousedown"?: this["onMouseDown"];
|
3096
3096
|
onmousedown?: AttrString;
|
3097
3097
|
|
3098
3098
|
/**
|
3099
3099
|
* Fired when a pointing device is moved onto the element.
|
3100
3100
|
* @see https://w3c.github.io/uievents/#event-type-mouseenter
|
3101
3101
|
*/
|
3102
|
-
|
3103
|
-
"on-mouseenter"?: this["
|
3102
|
+
onMouseEnter?: AttrEventHandler<MouseEvent, T>;
|
3103
|
+
"on-mouseenter"?: this["onMouseEnter"];
|
3104
3104
|
onmouseenter?: AttrString;
|
3105
3105
|
|
3106
3106
|
/**
|
3107
3107
|
* Fired when a pointing device is moved off the element.
|
3108
3108
|
* @see https://w3c.github.io/uievents/#event-type-mouseleave
|
3109
3109
|
*/
|
3110
|
-
|
3111
|
-
"on-mouseleave"?: this["
|
3110
|
+
onMouseLeave?: AttrEventHandler<MouseEvent, T>;
|
3111
|
+
"on-mouseleave"?: this["onMouseLeave"];
|
3112
3112
|
onmouseleave?: AttrString;
|
3113
3113
|
|
3114
3114
|
/**
|
3115
3115
|
* Fired when a pointing device is moved over an element.
|
3116
3116
|
* @see https://w3c.github.io/uievents/#event-type-mousemove
|
3117
3117
|
*/
|
3118
|
-
|
3119
|
-
"on-mousemove"?: this["
|
3118
|
+
onMouseMove?: AttrEventHandler<MouseEvent, T>;
|
3119
|
+
"on-mousemove"?: this["onMouseMove"];
|
3120
3120
|
onmousemove?: AttrString;
|
3121
3121
|
|
3122
3122
|
/**
|
3123
3123
|
* Fired when a pointing device is moved off the element or off one of its children.
|
3124
3124
|
* @see https://w3c.github.io/uievents/#event-type-mouseout
|
3125
3125
|
*/
|
3126
|
-
|
3127
|
-
"on-mouseout"?: this["
|
3126
|
+
onMouseOut?: AttrEventHandler<MouseEvent, T>;
|
3127
|
+
"on-mouseout"?: this["onMouseOut"];
|
3128
3128
|
onmouseout?: AttrString;
|
3129
3129
|
|
3130
3130
|
/**
|
3131
3131
|
* Fired when a pointing device is moved onto the element or onto one of its children.
|
3132
3132
|
* @see https://w3c.github.io/uievents/#event-type-mouseover
|
3133
3133
|
*/
|
3134
|
-
|
3135
|
-
"on-mouseover"?: this["
|
3134
|
+
onMouseOver?: AttrEventHandler<MouseEvent, T>;
|
3135
|
+
"on-mouseover"?: this["onMouseOver"];
|
3136
3136
|
onmouseover?: AttrString;
|
3137
3137
|
|
3138
3138
|
/**
|
3139
3139
|
* Fired when a pointing device button is released over an element.
|
3140
3140
|
* @see https://w3c.github.io/uievents/#event-type-mouseup
|
3141
3141
|
*/
|
3142
|
-
|
3143
|
-
"on-mouseup"?: this["
|
3142
|
+
onMouseUp?: AttrEventHandler<MouseEvent, T>;
|
3143
|
+
"on-mouseup"?: this["onMouseUp"];
|
3144
3144
|
onmouseup?: AttrString;
|
3145
3145
|
|
3146
3146
|
/**
|
@@ -3179,57 +3179,57 @@ declare global {
|
|
3179
3179
|
* Fired when the pointing device's hardware triggers a cancellation of the pointer event, such as due to a system event.
|
3180
3180
|
* @see https://w3c.github.io/pointerevents/#the-pointercancel-event
|
3181
3181
|
*/
|
3182
|
-
|
3183
|
-
"on-pointercancel"?: this["
|
3182
|
+
onPointerCancel?: AttrEventHandler<PointerEvent, T>;
|
3183
|
+
"on-pointercancel"?: this["onPointerCancel"];
|
3184
3184
|
|
3185
3185
|
/**
|
3186
3186
|
* Fired when a pointing device's button is pressed down on an element.
|
3187
3187
|
* @see https://w3c.github.io/pointerevents/#the-pointerdown-event
|
3188
3188
|
*/
|
3189
|
-
|
3190
|
-
"on-pointerdown"?: this["
|
3189
|
+
onPointerDown?: AttrEventHandler<PointerEvent, T>;
|
3190
|
+
"on-pointerdown"?: this["onPointerDown"];
|
3191
3191
|
|
3192
3192
|
/**
|
3193
3193
|
* Fired when a pointing device is moved onto the element.
|
3194
3194
|
* @see https://w3c.github.io/pointerevents/#the-pointerenter-event
|
3195
3195
|
*/
|
3196
|
-
|
3197
|
-
"on-pointerenter"?: this["
|
3196
|
+
onPointerEnter?: AttrEventHandler<PointerEvent, T>;
|
3197
|
+
"on-pointerenter"?: this["onPointerEnter"];
|
3198
3198
|
|
3199
3199
|
/**
|
3200
3200
|
* Fired when a pointing device is moved off the element.
|
3201
3201
|
* @see https://w3c.github.io/pointerevents/#the-pointerleave-event
|
3202
3202
|
*/
|
3203
|
-
|
3204
|
-
"on-pointerleave"?: this["
|
3203
|
+
onPointerLeave?: AttrEventHandler<PointerEvent, T>;
|
3204
|
+
"on-pointerleave"?: this["onPointerLeave"];
|
3205
3205
|
|
3206
3206
|
/**
|
3207
3207
|
* Fired when a pointing device is moved over an element.
|
3208
3208
|
* @see https://w3c.github.io/pointerevents/#the-pointermove-event
|
3209
3209
|
*/
|
3210
|
-
|
3211
|
-
"on-pointermove"?: this["
|
3210
|
+
onPointerMove?: AttrEventHandler<PointerEvent, T>;
|
3211
|
+
"on-pointermove"?: this["onPointerMove"];
|
3212
3212
|
|
3213
3213
|
/**
|
3214
3214
|
* Fired when a pointing device is moved off the element or off one of its children.
|
3215
3215
|
* @see https://w3c.github.io/pointerevents/#the-pointerout-event
|
3216
3216
|
*/
|
3217
|
-
|
3218
|
-
"on-pointerout"?: this["
|
3217
|
+
onPointerOut?: AttrEventHandler<PointerEvent, T>;
|
3218
|
+
"on-pointerout"?: this["onPointerOut"];
|
3219
3219
|
|
3220
3220
|
/**
|
3221
3221
|
* Fired when a pointing device is moved onto the element or onto one of its children.
|
3222
3222
|
* @see https://w3c.github.io/pointerevents/#the-pointerover-event
|
3223
3223
|
*/
|
3224
|
-
|
3225
|
-
"on-pointerover"?: this["
|
3224
|
+
onPointerOver?: AttrEventHandler<PointerEvent, T>;
|
3225
|
+
"on-pointerover"?: this["onPointerOver"];
|
3226
3226
|
|
3227
3227
|
/**
|
3228
3228
|
* Fired when a pointing device's button is released over an element.
|
3229
3229
|
* @see https://w3c.github.io/pointerevents/#the-pointerup-event
|
3230
3230
|
*/
|
3231
|
-
|
3232
|
-
"on-pointerup"?: this["
|
3231
|
+
onPointerUp?: AttrEventHandler<PointerEvent, T>;
|
3232
|
+
"on-pointerup"?: this["onPointerUp"];
|
3233
3233
|
|
3234
3234
|
/**
|
3235
3235
|
* Fired when the user agent is downloading media data or resources, to indicate progress.
|
@@ -3243,8 +3243,8 @@ declare global {
|
|
3243
3243
|
* Fired when the playback rate of a media element has changed.
|
3244
3244
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-ratechange
|
3245
3245
|
*/
|
3246
|
-
|
3247
|
-
"on-ratechange"?: this["
|
3246
|
+
onRateChange?: AttrEventHandler<Event, T>;
|
3247
|
+
"on-ratechange"?: this["onRateChange"];
|
3248
3248
|
onratechange?: AttrString;
|
3249
3249
|
|
3250
3250
|
/**
|
@@ -3275,8 +3275,8 @@ declare global {
|
|
3275
3275
|
* 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.
|
3276
3276
|
* @see https://drafts.csswg.org/cssom-view/#eventdef-document-scrollend
|
3277
3277
|
*/
|
3278
|
-
|
3279
|
-
"on-scrollend"?: this["
|
3278
|
+
onScrollEnd?: AttrEventHandler<Event, T>;
|
3279
|
+
"on-scrollend"?: this["onScrollEnd"];
|
3280
3280
|
onscrollend?: AttrString;
|
3281
3281
|
|
3282
3282
|
/**
|
@@ -3318,8 +3318,8 @@ declare global {
|
|
3318
3318
|
* Fired when a <slot> element's distributed nodes change.
|
3319
3319
|
* @see https://dom.spec.whatwg.org/#eventdef-htmlslotelement-slotchange
|
3320
3320
|
*/
|
3321
|
-
|
3322
|
-
"on-slotchange"?: this["
|
3321
|
+
onSlotChange?: AttrEventHandler<Event, T>;
|
3322
|
+
"on-slotchange"?: this["onSlotChange"];
|
3323
3323
|
onslotchange?: AttrString;
|
3324
3324
|
|
3325
3325
|
/**
|
@@ -3350,8 +3350,8 @@ declare global {
|
|
3350
3350
|
* Fired when the current playback position of a media element changes as part of normal playback or due to a seek operation.
|
3351
3351
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-timeupdate
|
3352
3352
|
*/
|
3353
|
-
|
3354
|
-
"on-timeupdate"?: this["
|
3353
|
+
onTimeUpdate?: AttrEventHandler<Event, T>;
|
3354
|
+
"on-timeupdate"?: this["onTimeUpdate"];
|
3355
3355
|
ontimeupdate?: AttrString;
|
3356
3356
|
|
3357
3357
|
/**
|
@@ -3366,64 +3366,64 @@ declare global {
|
|
3366
3366
|
* Fired when a touch event is interrupted, such as by a modal window or an incoming phone call.
|
3367
3367
|
* @see https://w3c.github.io/touch-events/#event-touchcancel
|
3368
3368
|
*/
|
3369
|
-
|
3370
|
-
"on-touchcancel"?: this["
|
3369
|
+
onTouchCancel?: AttrEventHandler<TouchEvent, T>;
|
3370
|
+
"on-touchcancel"?: this["onTouchCancel"];
|
3371
3371
|
|
3372
3372
|
/**
|
3373
3373
|
* Fired when a finger is lifted from a touch surface.
|
3374
3374
|
* @see https://w3c.github.io/touch-events/#event-touchend
|
3375
3375
|
*/
|
3376
|
-
|
3377
|
-
"on-touchend"?: this["
|
3376
|
+
onTouchEnd?: AttrEventHandler<TouchEvent, T>;
|
3377
|
+
"on-touchend"?: this["onTouchEnd"];
|
3378
3378
|
|
3379
3379
|
/**
|
3380
3380
|
* Fired when a finger is moved along a touch surface.
|
3381
3381
|
* @see https://w3c.github.io/touch-events/#event-touchmove
|
3382
3382
|
*/
|
3383
|
-
|
3384
|
-
"on-touchmove"?: this["
|
3383
|
+
onTouchMove?: AttrEventHandler<TouchEvent, T>;
|
3384
|
+
"on-touchmove"?: this["onTouchMove"];
|
3385
3385
|
|
3386
3386
|
/**
|
3387
3387
|
* Fired when a finger is placed on a touch surface.
|
3388
3388
|
* @see https://w3c.github.io/touch-events/#event-touchstart
|
3389
3389
|
*/
|
3390
|
-
|
3391
|
-
"on-touchstart"?: this["
|
3390
|
+
onTouchStart?: AttrEventHandler<TouchEvent, T>;
|
3391
|
+
"on-touchstart"?: this["onTouchStart"];
|
3392
3392
|
|
3393
3393
|
/**
|
3394
3394
|
* Fired when a CSS transition is canceled.
|
3395
3395
|
* @see https://drafts.csswg.org/css-transitions/#transitioncancel
|
3396
3396
|
*/
|
3397
|
-
|
3398
|
-
"on-transitioncancel"?: this["
|
3397
|
+
onTransitionCancel?: AttrEventHandler<TransitionEvent, T>;
|
3398
|
+
"on-transitioncancel"?: this["onTransitionCancel"];
|
3399
3399
|
|
3400
3400
|
/**
|
3401
3401
|
* Fired when a CSS transition has completed.
|
3402
3402
|
* @see https://drafts.csswg.org/css-transitions/#transitionend
|
3403
3403
|
*/
|
3404
|
-
|
3405
|
-
"on-transitionend"?: this["
|
3404
|
+
onTransitionEnd?: AttrEventHandler<TransitionEvent, T>;
|
3405
|
+
"on-transitionend"?: this["onTransitionEnd"];
|
3406
3406
|
|
3407
3407
|
/**
|
3408
3408
|
* Fired when a CSS transition is first created, i.e. before any transition-delay has begun.
|
3409
3409
|
* @see https://drafts.csswg.org/css-transitions/#transitionrun
|
3410
3410
|
*/
|
3411
|
-
|
3412
|
-
"on-transitionrun"?: this["
|
3411
|
+
onTransitionRun?: AttrEventHandler<TransitionEvent, T>;
|
3412
|
+
"on-transitionrun"?: this["onTransitionRun"];
|
3413
3413
|
|
3414
3414
|
/**
|
3415
3415
|
* Fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
|
3416
3416
|
* @see https://drafts.csswg.org/css-transitions/#transitionstart
|
3417
3417
|
*/
|
3418
|
-
|
3419
|
-
"on-transitionstart"?: this["
|
3418
|
+
onTransitionStart?: AttrEventHandler<TransitionEvent, T>;
|
3419
|
+
"on-transitionstart"?: this["onTransitionStart"];
|
3420
3420
|
|
3421
3421
|
/**
|
3422
3422
|
* Fired when the volume level or muted state of a media element changes.
|
3423
3423
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-volumechange
|
3424
3424
|
*/
|
3425
|
-
|
3426
|
-
"on-volumechange"?: this["
|
3425
|
+
onVolumeChange?: AttrEventHandler<Event, T>;
|
3426
|
+
"on-volumechange"?: this["onVolumeChange"];
|
3427
3427
|
onvolumechange?: AttrString;
|
3428
3428
|
|
3429
3429
|
/**
|