marko 5.31.11 → 5.31.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
|
|
3
3
|
var idRegExp = /^#(\S+)( .*)?/;
|
4
4
|
|
5
5
|
exports.patchComponent = function (jQuery, proto, delayThrow) {
|
6
|
-
if (!
|
6
|
+
if (!jQuery && !delayThrow) {
|
7
7
|
throw new Error("jQuery not found");
|
8
8
|
}
|
9
9
|
|
@@ -11,7 +11,7 @@ exports.patchComponent = function (jQuery, proto, delayThrow) {
|
|
11
11
|
var args = arguments;
|
12
12
|
var self = this;
|
13
13
|
|
14
|
-
if (!jQuery) {
|
14
|
+
if (!(jQuery || (jQuery = window.$))) {
|
15
15
|
throw new Error("jQuery not found");
|
16
16
|
}
|
17
17
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "marko",
|
3
|
-
"version": "5.31.
|
3
|
+
"version": "5.31.13",
|
4
4
|
"description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
|
5
5
|
"keywords": [
|
6
6
|
"front-end",
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"build": "babel ./src --out-dir ./dist --delete-dir-on-start --copy-files --config-file ../../babel.config.js --env-name=production"
|
65
65
|
},
|
66
66
|
"dependencies": {
|
67
|
-
"@marko/compiler": "^5.33.
|
67
|
+
"@marko/compiler": "^5.33.3",
|
68
68
|
"@marko/translator-default": "^5.31.3",
|
69
69
|
"app-module-path": "^2.2.0",
|
70
70
|
"argly": "^1.2.0",
|
@@ -3,7 +3,7 @@ var ready = require("./ready");
|
|
3
3
|
var idRegExp = /^#(\S+)( .*)?/;
|
4
4
|
|
5
5
|
exports.patchComponent = function (jQuery, proto, delayThrow) {
|
6
|
-
if (!
|
6
|
+
if (!jQuery && !delayThrow) {
|
7
7
|
throw new Error("jQuery not found");
|
8
8
|
}
|
9
9
|
|
@@ -11,7 +11,7 @@ exports.patchComponent = function (jQuery, proto, delayThrow) {
|
|
11
11
|
var args = arguments;
|
12
12
|
var self = this;
|
13
13
|
|
14
|
-
if (!jQuery) {
|
14
|
+
if (!(jQuery || (jQuery = window.$))) {
|
15
15
|
throw new Error("jQuery not found");
|
16
16
|
}
|
17
17
|
|
package/tags-html.d.ts
CHANGED
@@ -125,7 +125,9 @@ declare global {
|
|
125
125
|
}
|
126
126
|
|
127
127
|
namespace CSS {
|
128
|
-
export interface Properties
|
128
|
+
export interface Properties
|
129
|
+
extends csstype.PropertiesHyphen,
|
130
|
+
csstype.Properties {}
|
129
131
|
}
|
130
132
|
|
131
133
|
namespace HTML {
|
@@ -382,36 +384,36 @@ declare global {
|
|
382
384
|
* Fires after printing the document.
|
383
385
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-afterprint
|
384
386
|
*/
|
385
|
-
|
386
|
-
"on-afterprint"?: this["
|
387
|
+
onAfterprint?: AttrEventHandler<Event, HTMLBodyElement>;
|
388
|
+
"on-afterprint"?: this["onAfterprint"];
|
387
389
|
|
388
390
|
/**
|
389
391
|
* Fires before printing the document.
|
390
392
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeprint
|
391
393
|
*/
|
392
|
-
|
393
|
-
"on-beforeprint"?: this["
|
394
|
+
onBeforeprint?: AttrEventHandler<Event, HTMLBodyElement>;
|
395
|
+
"on-beforeprint"?: this["onBeforeprint"];
|
394
396
|
|
395
397
|
/**
|
396
398
|
* Fired when the page is about to be unloaded, in case the page would like to show a warning prompt.
|
397
399
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforeunload
|
398
400
|
*/
|
399
|
-
|
400
|
-
"on-beforeunload"?: this["
|
401
|
+
onBeforeunload?: AttrEventHandler<BeforeUnloadEvent, HTMLBodyElement>;
|
402
|
+
"on-beforeunload"?: this["onBeforeunload"];
|
401
403
|
|
402
404
|
/**
|
403
405
|
* Fired when the fragment part of the document's URL changes.
|
404
406
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-hashchange
|
405
407
|
*/
|
406
|
-
|
407
|
-
"on-hashchange"?: this["
|
408
|
+
onHashchange?: AttrEventHandler<HashChangeEvent, HTMLBodyElement>;
|
409
|
+
"on-hashchange"?: this["onHashchange"];
|
408
410
|
|
409
411
|
/**
|
410
412
|
* Fired when the user's preferred languages change.
|
411
413
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-languagechange
|
412
414
|
*/
|
413
|
-
|
414
|
-
"on-languagechange"?: this["
|
415
|
+
onLanguagechange?: AttrEventHandler<Event, HTMLBodyElement>;
|
416
|
+
"on-languagechange"?: this["onLanguagechange"];
|
415
417
|
|
416
418
|
/**
|
417
419
|
* Fired when the window receives a message.
|
@@ -424,8 +426,8 @@ declare global {
|
|
424
426
|
* Fired when the window receives an error message.
|
425
427
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-messageerror
|
426
428
|
*/
|
427
|
-
|
428
|
-
"on-messageerror"?: this["
|
429
|
+
onMessageerror?: AttrEventHandler<MessageEvent, HTMLBodyElement>;
|
430
|
+
"on-messageerror"?: this["onMessageerror"];
|
429
431
|
|
430
432
|
/**
|
431
433
|
* Fired when the network connection is lost.
|
@@ -445,29 +447,29 @@ declare global {
|
|
445
447
|
* Fired when the page's session history entry stops being the active entry.
|
446
448
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-pagehide
|
447
449
|
*/
|
448
|
-
|
449
|
-
"on-pagehide"?: this["
|
450
|
+
onPagehide?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
|
451
|
+
"on-pagehide"?: this["onPagehide"];
|
450
452
|
|
451
453
|
/**
|
452
454
|
* Fired when the page's session history entry becomes the active entry.
|
453
455
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-pageshow
|
454
456
|
*/
|
455
|
-
|
456
|
-
"on-pageshow"?: this["
|
457
|
+
onPageshow?: AttrEventHandler<PageTransitionEvent, HTMLBodyElement>;
|
458
|
+
"on-pageshow"?: this["onPageshow"];
|
457
459
|
|
458
460
|
/**
|
459
461
|
* Fired when the window's session history is popped.
|
460
462
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-popstate
|
461
463
|
*/
|
462
|
-
|
463
|
-
"on-popstate"?: this["
|
464
|
+
onPopstate?: AttrEventHandler<PopStateEvent, HTMLBodyElement>;
|
465
|
+
"on-popstate"?: this["onPopstate"];
|
464
466
|
|
465
467
|
/**
|
466
468
|
* Fires when a previously-unhandled promise rejection becomes handled.
|
467
469
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-rejectionhandled
|
468
470
|
*/
|
469
|
-
|
470
|
-
"on-rejectionhandled"?: this["
|
471
|
+
onRejectionhandled?: AttrEventHandler<Event, HTMLBodyElement>;
|
472
|
+
"on-rejectionhandled"?: this["onRejectionhandled"];
|
471
473
|
|
472
474
|
/**
|
473
475
|
* Fired when the corresponding localStorage or sessionStorage storage areas change.
|
@@ -832,8 +834,8 @@ declare global {
|
|
832
834
|
* Fired at a form element when it is constructing the entry list
|
833
835
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-formdata
|
834
836
|
*/
|
835
|
-
|
836
|
-
"on-formdata"?: this["
|
837
|
+
onFormdata?: AttrEventHandler<FormDataEvent, HTMLFormElement>;
|
838
|
+
"on-formdata"?: this["onFormdata"];
|
837
839
|
|
838
840
|
/**
|
839
841
|
* Fired when a form is submitted, either by user interaction or through a script.
|
@@ -2575,61 +2577,61 @@ declare global {
|
|
2575
2577
|
* Fired when an Animation unexpectedly aborts.
|
2576
2578
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationcancel
|
2577
2579
|
*/
|
2578
|
-
|
2579
|
-
"on-animationcancel"?: this["
|
2580
|
+
onAnimationcancel?: AttrEventHandler<AnimationEvent, T>;
|
2581
|
+
"on-animationcancel"?: this["onAnimationcancel"];
|
2580
2582
|
|
2581
2583
|
/**
|
2582
2584
|
* Fired when an animation has completed.
|
2583
2585
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationend
|
2584
2586
|
*/
|
2585
|
-
|
2586
|
-
"on-animationend"?: this["
|
2587
|
+
onAnimationend?: AttrEventHandler<AnimationEvent, T>;
|
2588
|
+
"on-animationend"?: this["onAnimationend"];
|
2587
2589
|
|
2588
2590
|
/**
|
2589
2591
|
* Fired at the end of each iteration of an animation, except when an animationend event would fire at the same time.
|
2590
2592
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationiteration
|
2591
2593
|
*/
|
2592
|
-
|
2593
|
-
"on-animationiteration"?: this["
|
2594
|
+
onAnimationiteration?: AttrEventHandler<AnimationEvent, T>;
|
2595
|
+
"on-animationiteration"?: this["onAnimationiteration"];
|
2594
2596
|
|
2595
2597
|
/**
|
2596
2598
|
* Fired when an animation has started.
|
2597
2599
|
* @see https://w3c.github.io/csswg-drafts/css-animations/#eventdef-globaleventhandlers-animationstart
|
2598
2600
|
*/
|
2599
|
-
|
2600
|
-
"on-animationstart"?: this["
|
2601
|
+
onAnimationstart?: AttrEventHandler<AnimationEvent, T>;
|
2602
|
+
"on-animationstart"?: this["onAnimationstart"];
|
2601
2603
|
|
2602
2604
|
/**
|
2603
2605
|
* Fired when a non-primary pointing device button (any mouse button other than the primary—usually leftmost—button)
|
2604
2606
|
* has been pressed and released both within the same element.
|
2605
2607
|
* @see https://w3c.github.io/uievents/#event-type-auxclick
|
2606
2608
|
*/
|
2607
|
-
|
2608
|
-
"on-auxclick"?: this["
|
2609
|
+
onAuxclick?: AttrEventHandler<PointerEvent, T>;
|
2610
|
+
"on-auxclick"?: this["onAuxclick"];
|
2609
2611
|
onauxclick?: AttrString;
|
2610
2612
|
|
2611
2613
|
/**
|
2612
2614
|
* Fires when the value of an <input>, or <textarea> element is about to be modified.
|
2613
2615
|
* @see https://w3c.github.io/uievents/#event-type-beforeinput
|
2614
2616
|
*/
|
2615
|
-
|
2616
|
-
"on-beforeinput"?: this["
|
2617
|
+
onBeforeinput?: AttrEventHandler<InputEvent, T>;
|
2618
|
+
"on-beforeinput"?: this["onBeforeinput"];
|
2617
2619
|
onbeforeinput?: AttrString;
|
2618
2620
|
|
2619
2621
|
/**
|
2620
2622
|
* Fired on elements with the hidden=until-found attribute before they are revealed.
|
2621
2623
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforematch
|
2622
2624
|
*/
|
2623
|
-
|
2624
|
-
"on-beforematch"?: this["
|
2625
|
+
onBeforematch?: AttrEventHandler<Event, T>;
|
2626
|
+
"on-beforematch"?: this["onBeforematch"];
|
2625
2627
|
onbeforematch?: AttrString;
|
2626
2628
|
|
2627
2629
|
/**
|
2628
2630
|
* Fired on elements with the popover attribute when they are transitioning between showing and hidden
|
2629
2631
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-beforetoggle
|
2630
2632
|
*/
|
2631
|
-
|
2632
|
-
"on-beforetoggle"?: this["
|
2633
|
+
onBeforetoggle?: AttrEventHandler<Event, T>;
|
2634
|
+
"on-beforetoggle"?: this["onBeforetoggle"];
|
2633
2635
|
onbeforetoggle?: AttrString;
|
2634
2636
|
|
2635
2637
|
/**
|
@@ -2654,16 +2656,16 @@ declare global {
|
|
2654
2656
|
* playback rate up to its end without having to stop for further buffering of content.
|
2655
2657
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplay
|
2656
2658
|
*/
|
2657
|
-
|
2658
|
-
"on-canplay"?: this["
|
2659
|
+
onCanplay?: AttrEventHandler<Event, T>;
|
2660
|
+
"on-canplay"?: this["onCanplay"];
|
2659
2661
|
oncanplay?: AttrString;
|
2660
2662
|
|
2661
2663
|
/**
|
2662
2664
|
* Fires when the user agent can play through the media data without having to stop for further buffering of content.
|
2663
2665
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-canplaythrough
|
2664
2666
|
*/
|
2665
|
-
|
2666
|
-
"on-canplaythrough"?: this["
|
2667
|
+
onCanplaythrough?: AttrEventHandler<Event, T>;
|
2668
|
+
"on-canplaythrough"?: this["onCanplaythrough"];
|
2667
2669
|
oncanplaythrough?: AttrString;
|
2668
2670
|
|
2669
2671
|
/**
|
@@ -2695,30 +2697,30 @@ declare global {
|
|
2695
2697
|
* Fired when a text composition system such as an input method editor completes or cancels the current composition session.
|
2696
2698
|
* @see https://w3c.github.io/uievents/#event-type-compositionend
|
2697
2699
|
*/
|
2698
|
-
|
2699
|
-
"on-compositionend"?: this["
|
2700
|
+
onCompositionend?: AttrEventHandler<CompositionEvent, T>;
|
2701
|
+
"on-compositionend"?: this["onCompositionend"];
|
2700
2702
|
|
2701
2703
|
/**
|
2702
2704
|
* Fired when a text composition system such as an input method editor starts a new composition session.
|
2703
2705
|
* @see https://w3c.github.io/uievents/#event-type-compositionstart
|
2704
2706
|
*/
|
2705
|
-
|
2706
|
-
"on-compositionstart"?: this["
|
2707
|
+
onCompositionstart?: AttrEventHandler<CompositionEvent, T>;
|
2708
|
+
"on-compositionstart"?: this["onCompositionstart"];
|
2707
2709
|
|
2708
2710
|
/**
|
2709
2711
|
* Fired when a new character is received in the context of a text composition session controlled by a text
|
2710
2712
|
* composition system such as an input method editor.
|
2711
2713
|
* @see https://w3c.github.io/uievents/#event-type-compositionupdate
|
2712
2714
|
*/
|
2713
|
-
|
2714
|
-
"on-compositionupdate"?: this["
|
2715
|
+
onCompositionupdate?: AttrEventHandler<CompositionEvent, T>;
|
2716
|
+
"on-compositionupdate"?: this["onCompositionupdate"];
|
2715
2717
|
|
2716
2718
|
/**
|
2717
2719
|
* Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is lost
|
2718
2720
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-contextlost
|
2719
2721
|
*/
|
2720
|
-
|
2721
|
-
"on-contextlost"?: this["
|
2722
|
+
onContextlost?: AttrEventHandler<Event, T>;
|
2723
|
+
"on-contextlost"?: this["onContextlost"];
|
2722
2724
|
oncontextlost?: AttrString;
|
2723
2725
|
|
2724
2726
|
/**
|
@@ -2726,16 +2728,16 @@ declare global {
|
|
2726
2728
|
* This event is typically triggered by clicking the right mouse button, or by pressing the context menu key.
|
2727
2729
|
* @see https://w3c.github.io/uievents/#event-type-contextmenu
|
2728
2730
|
*/
|
2729
|
-
|
2730
|
-
"on-contextmenu"?: this["
|
2731
|
+
onContextmenu?: AttrEventHandler<PointerEvent, T>;
|
2732
|
+
"on-contextmenu"?: this["onContextmenu"];
|
2731
2733
|
oncontextmenu?: AttrString;
|
2732
2734
|
|
2733
2735
|
/**
|
2734
2736
|
* Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is restored after being lost
|
2735
2737
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-contextrestored
|
2736
2738
|
*/
|
2737
|
-
|
2738
|
-
"on-contextrestored"?: this["
|
2739
|
+
onContextrestored?: AttrEventHandler<Event, T>;
|
2740
|
+
"on-contextrestored"?: this["onContextrestored"];
|
2739
2741
|
oncontextrestored?: AttrString;
|
2740
2742
|
|
2741
2743
|
/**
|
@@ -2750,8 +2752,8 @@ declare global {
|
|
2750
2752
|
* Fired when one or more cues in the track have become active or stopped being active.
|
2751
2753
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-cuechange
|
2752
2754
|
*/
|
2753
|
-
|
2754
|
-
"on-cuechange"?: this["
|
2755
|
+
onCuechange?: AttrEventHandler<Event, T>;
|
2756
|
+
"on-cuechange"?: this["onCuechange"];
|
2755
2757
|
oncuechange?: AttrString;
|
2756
2758
|
|
2757
2759
|
/**
|
@@ -2766,8 +2768,8 @@ declare global {
|
|
2766
2768
|
* Fired when the user double-clicks on an element.
|
2767
2769
|
* @see https://w3c.github.io/uievents/#event-type-dblclick
|
2768
2770
|
*/
|
2769
|
-
|
2770
|
-
"on-dblclick"?: this["
|
2771
|
+
onDblclick?: AttrEventHandler<MouseEvent, T>;
|
2772
|
+
"on-dblclick"?: this["onDblclick"];
|
2771
2773
|
ondblclick?: AttrString;
|
2772
2774
|
|
2773
2775
|
/**
|
@@ -2782,40 +2784,40 @@ declare global {
|
|
2782
2784
|
* Fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
|
2783
2785
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragend
|
2784
2786
|
*/
|
2785
|
-
|
2786
|
-
"on-dragend"?: this["
|
2787
|
+
onDragend?: AttrEventHandler<DragEvent, T>;
|
2788
|
+
"on-dragend"?: this["onDragend"];
|
2787
2789
|
ondragend?: AttrString;
|
2788
2790
|
|
2789
2791
|
/**
|
2790
2792
|
* Fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
|
2791
2793
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragenter
|
2792
2794
|
*/
|
2793
|
-
|
2794
|
-
"on-dragenter"?: this["
|
2795
|
+
onDragenter?: AttrEventHandler<DragEvent, T>;
|
2796
|
+
"on-dragenter"?: this["onDragenter"];
|
2795
2797
|
ondragenter?: AttrString;
|
2796
2798
|
|
2797
2799
|
/**
|
2798
2800
|
* Fired when a dragged element or text selection leaves a valid drop target.
|
2799
2801
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragleave
|
2800
2802
|
*/
|
2801
|
-
|
2802
|
-
"on-dragleave"?: this["
|
2803
|
+
onDragleave?: AttrEventHandler<DragEvent, T>;
|
2804
|
+
"on-dragleave"?: this["onDragleave"];
|
2803
2805
|
ondragleave?: AttrString;
|
2804
2806
|
|
2805
2807
|
/**
|
2806
2808
|
* Fired an element or text selection is being dragged over a valid drop target (every few hundred milliseconds).
|
2807
2809
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragover
|
2808
2810
|
*/
|
2809
|
-
|
2810
|
-
"on-dragover"?: this["
|
2811
|
+
onDragover?: AttrEventHandler<DragEvent, T>;
|
2812
|
+
"on-dragover"?: this["onDragover"];
|
2811
2813
|
ondragover?: AttrString;
|
2812
2814
|
|
2813
2815
|
/**
|
2814
2816
|
* Fired when an element or text selection has started being dragged.
|
2815
2817
|
* @see https://html.spec.whatwg.org/multipage/dnd.html#event-dnd-dragstart
|
2816
2818
|
*/
|
2817
|
-
|
2818
|
-
"on-dragstart"?: this["
|
2819
|
+
onDragstart?: AttrEventHandler<DragEvent, T>;
|
2820
|
+
"on-dragstart"?: this["onDragstart"];
|
2819
2821
|
ondragstart?: AttrString;
|
2820
2822
|
|
2821
2823
|
/**
|
@@ -2830,8 +2832,8 @@ declare global {
|
|
2830
2832
|
* Fired when the duration attribute of a media element has just been updated.
|
2831
2833
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-durationchange
|
2832
2834
|
*/
|
2833
|
-
|
2834
|
-
"on-durationchange"?: this["
|
2835
|
+
onDurationchange?: AttrEventHandler<Event, T>;
|
2836
|
+
"on-durationchange"?: this["onDurationchange"];
|
2835
2837
|
ondurationchange?: AttrString;
|
2836
2838
|
|
2837
2839
|
/**
|
@@ -2878,38 +2880,38 @@ declare global {
|
|
2878
2880
|
* @see HTMLAttributes.onFocus
|
2879
2881
|
* @see https://w3c.github.io/uievents/#event-type-focusin
|
2880
2882
|
*/
|
2881
|
-
|
2882
|
-
"on-focusin"?: this["
|
2883
|
+
onFocusin?: AttrEventHandler<FocusEvent, T>;
|
2884
|
+
"on-focusin"?: this["onFocusin"];
|
2883
2885
|
|
2884
2886
|
/**
|
2885
2887
|
* Fires when an element has lost focus, after the blur event. The two events differ in that focusout bubbles, while blur does not.
|
2886
2888
|
* @see HTMLAttributes.onBlur
|
2887
2889
|
* @see https://w3c.github.io/uievents/#event-type-focusout
|
2888
2890
|
*/
|
2889
|
-
|
2890
|
-
"on-focusout"?: this["
|
2891
|
+
onFocusout?: AttrEventHandler<FocusEvent, T>;
|
2892
|
+
"on-focusout"?: this["onFocusout"];
|
2891
2893
|
|
2892
2894
|
/**
|
2893
2895
|
* Fired at a form element when it is constructing the entry list
|
2894
2896
|
* @see https://html.spec.whatwg.org/multipage/indices.html#event-formdata
|
2895
2897
|
*/
|
2896
|
-
|
2897
|
-
"on-formdata"?: this["
|
2898
|
+
onFormdata?: AttrEventHandler<FormDataEvent, T>;
|
2899
|
+
"on-formdata"?: this["onFormdata"];
|
2898
2900
|
onformdata?: AttrString;
|
2899
2901
|
|
2900
2902
|
/**
|
2901
2903
|
* Fired immediately after an Element switches into or out of fullscreen mode.
|
2902
2904
|
* @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenchange
|
2903
2905
|
*/
|
2904
|
-
|
2905
|
-
"on-fullscreenchange"?: this["
|
2906
|
+
onFullscreenchange?: AttrEventHandler<Event, T>;
|
2907
|
+
"on-fullscreenchange"?: this["onFullscreenchange"];
|
2906
2908
|
|
2907
2909
|
/**
|
2908
2910
|
* Fired when the browser cannot switch to fullscreen mode.
|
2909
2911
|
* @see https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenerror
|
2910
2912
|
*/
|
2911
|
-
|
2912
|
-
"on-fullscreenerror"?: this["
|
2913
|
+
onFullscreenerror?: AttrEventHandler<Event, T>;
|
2914
|
+
"on-fullscreenerror"?: this["onFullscreenerror"];
|
2913
2915
|
|
2914
2916
|
/**
|
2915
2917
|
* Fired when an element captures a pointer using setPointerCapture().
|
@@ -2917,8 +2919,8 @@ declare global {
|
|
2917
2919
|
* @see Element.setPointerCapture
|
2918
2920
|
* @see https://w3c.github.io/pointerevents/#the-gotpointercapture-event
|
2919
2921
|
*/
|
2920
|
-
|
2921
|
-
"on-gotpointercapture"?: this["
|
2922
|
+
onGotpointercapture?: AttrEventHandler<PointerEvent, T>;
|
2923
|
+
"on-gotpointercapture"?: this["onGotpointercapture"];
|
2922
2924
|
|
2923
2925
|
/**
|
2924
2926
|
* Fired when the form element's value changes, as a result of user input.
|
@@ -2940,24 +2942,24 @@ declare global {
|
|
2940
2942
|
* Fired when a key is first pressed down.
|
2941
2943
|
* @see https://w3c.github.io/uievents/#event-type-keydown
|
2942
2944
|
*/
|
2943
|
-
|
2944
|
-
"on-keydown"?: this["
|
2945
|
+
onKeydown?: AttrEventHandler<KeyboardEvent, T>;
|
2946
|
+
"on-keydown"?: this["onKeydown"];
|
2945
2947
|
onkeydown?: AttrString;
|
2946
2948
|
|
2947
2949
|
/**
|
2948
2950
|
* Fired when a key is pressed down and then released, while the element has focus.
|
2949
2951
|
* @see https://w3c.github.io/uievents/#event-type-keypress
|
2950
2952
|
*/
|
2951
|
-
|
2952
|
-
"on-keypress"?: this["
|
2953
|
+
onKeypress?: AttrEventHandler<KeyboardEvent, T>;
|
2954
|
+
"on-keypress"?: this["onKeypress"];
|
2953
2955
|
onkeypress?: AttrString;
|
2954
2956
|
|
2955
2957
|
/**
|
2956
2958
|
* Fired when a key is released after being pressed down.
|
2957
2959
|
* @see https://w3c.github.io/uievents/#event-type-keyup
|
2958
2960
|
*/
|
2959
|
-
|
2960
|
-
"on-keyup"?: this["
|
2961
|
+
onKeyup?: AttrEventHandler<KeyboardEvent, T>;
|
2962
|
+
"on-keyup"?: this["onKeyup"];
|
2961
2963
|
onkeyup?: AttrString;
|
2962
2964
|
|
2963
2965
|
/**
|
@@ -2972,87 +2974,87 @@ declare global {
|
|
2972
2974
|
* Fired when the user agent can render the media data at the current playback position for the first time.
|
2973
2975
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadeddata
|
2974
2976
|
*/
|
2975
|
-
|
2976
|
-
"on-loadeddata"?: this["
|
2977
|
+
onLoadeddata?: AttrEventHandler<Event, T>;
|
2978
|
+
"on-loadeddata"?: this["onLoadeddata"];
|
2977
2979
|
onloadeddata?: AttrString;
|
2978
2980
|
|
2979
2981
|
/**
|
2980
2982
|
* Fired when the user agent has just determined the duration and dimensions of the media resource.
|
2981
2983
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadedmetadata
|
2982
2984
|
*/
|
2983
|
-
|
2984
|
-
"on-loadedmetadata"?: this["
|
2985
|
+
onLoadedmetadata?: AttrEventHandler<Event, T>;
|
2986
|
+
"on-loadedmetadata"?: this["onLoadedmetadata"];
|
2985
2987
|
onloadedmetadata?: AttrString;
|
2986
2988
|
|
2987
2989
|
/**
|
2988
2990
|
* Fired when the user agent begins looking for media data, before the media has begun to load.
|
2989
2991
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-loadstart
|
2990
2992
|
*/
|
2991
|
-
|
2992
|
-
"on-loadstart"?: this["
|
2993
|
+
onLoadstart?: AttrEventHandler<Event, T>;
|
2994
|
+
"on-loadstart"?: this["onLoadstart"];
|
2993
2995
|
onloadstart?: AttrString;
|
2994
2996
|
|
2995
2997
|
/**
|
2996
2998
|
* Fired when a captured pointer is released.
|
2997
2999
|
* @see https://w3c.github.io/pointerevents/#dfn-lostpointercapture
|
2998
3000
|
*/
|
2999
|
-
|
3000
|
-
"on-lostpointercapture"?: this["
|
3001
|
+
onLostpointercapture?: AttrEventHandler<PointerEvent, T>;
|
3002
|
+
"on-lostpointercapture"?: this["onLostpointercapture"];
|
3001
3003
|
|
3002
3004
|
/**
|
3003
3005
|
* Fired when a pointing device button is pressed down over an element.
|
3004
3006
|
* @see https://w3c.github.io/uievents/#event-type-mousedown
|
3005
3007
|
*/
|
3006
|
-
|
3007
|
-
"on-mousedown"?: this["
|
3008
|
+
onMousedown?: AttrEventHandler<MouseEvent, T>;
|
3009
|
+
"on-mousedown"?: this["onMousedown"];
|
3008
3010
|
onmousedown?: AttrString;
|
3009
3011
|
|
3010
3012
|
/**
|
3011
3013
|
* Fired when a pointing device is moved onto the element.
|
3012
3014
|
* @see https://w3c.github.io/uievents/#event-type-mouseenter
|
3013
3015
|
*/
|
3014
|
-
|
3015
|
-
"on-mouseenter"?: this["
|
3016
|
+
onMouseenter?: AttrEventHandler<MouseEvent, T>;
|
3017
|
+
"on-mouseenter"?: this["onMouseenter"];
|
3016
3018
|
onmouseenter?: AttrString;
|
3017
3019
|
|
3018
3020
|
/**
|
3019
3021
|
* Fired when a pointing device is moved off the element.
|
3020
3022
|
* @see https://w3c.github.io/uievents/#event-type-mouseleave
|
3021
3023
|
*/
|
3022
|
-
|
3023
|
-
"on-mouseleave"?: this["
|
3024
|
+
onMouseleave?: AttrEventHandler<MouseEvent, T>;
|
3025
|
+
"on-mouseleave"?: this["onMouseleave"];
|
3024
3026
|
onmouseleave?: AttrString;
|
3025
3027
|
|
3026
3028
|
/**
|
3027
3029
|
* Fired when a pointing device is moved over an element.
|
3028
3030
|
* @see https://w3c.github.io/uievents/#event-type-mousemove
|
3029
3031
|
*/
|
3030
|
-
|
3031
|
-
"on-mousemove"?: this["
|
3032
|
+
onMousemove?: AttrEventHandler<MouseEvent, T>;
|
3033
|
+
"on-mousemove"?: this["onMousemove"];
|
3032
3034
|
onmousemove?: AttrString;
|
3033
3035
|
|
3034
3036
|
/**
|
3035
3037
|
* Fired when a pointing device is moved off the element or off one of its children.
|
3036
3038
|
* @see https://w3c.github.io/uievents/#event-type-mouseout
|
3037
3039
|
*/
|
3038
|
-
|
3039
|
-
"on-mouseout"?: this["
|
3040
|
+
onMouseout?: AttrEventHandler<MouseEvent, T>;
|
3041
|
+
"on-mouseout"?: this["onMouseout"];
|
3040
3042
|
onmouseout?: AttrString;
|
3041
3043
|
|
3042
3044
|
/**
|
3043
3045
|
* Fired when a pointing device is moved onto the element or onto one of its children.
|
3044
3046
|
* @see https://w3c.github.io/uievents/#event-type-mouseover
|
3045
3047
|
*/
|
3046
|
-
|
3047
|
-
"on-mouseover"?: this["
|
3048
|
+
onMouseover?: AttrEventHandler<MouseEvent, T>;
|
3049
|
+
"on-mouseover"?: this["onMouseover"];
|
3048
3050
|
onmouseover?: AttrString;
|
3049
3051
|
|
3050
3052
|
/**
|
3051
3053
|
* Fired when a pointing device button is released over an element.
|
3052
3054
|
* @see https://w3c.github.io/uievents/#event-type-mouseup
|
3053
3055
|
*/
|
3054
|
-
|
3055
|
-
"on-mouseup"?: this["
|
3056
|
+
onMouseup?: AttrEventHandler<MouseEvent, T>;
|
3057
|
+
"on-mouseup"?: this["onMouseup"];
|
3056
3058
|
onmouseup?: AttrString;
|
3057
3059
|
|
3058
3060
|
/**
|
@@ -3091,57 +3093,57 @@ declare global {
|
|
3091
3093
|
* Fired when the pointing device's hardware triggers a cancellation of the pointer event, such as due to a system event.
|
3092
3094
|
* @see https://w3c.github.io/pointerevents/#the-pointercancel-event
|
3093
3095
|
*/
|
3094
|
-
|
3095
|
-
"on-pointercancel"?: this["
|
3096
|
+
onPointercancel?: AttrEventHandler<PointerEvent, T>;
|
3097
|
+
"on-pointercancel"?: this["onPointercancel"];
|
3096
3098
|
|
3097
3099
|
/**
|
3098
3100
|
* Fired when a pointing device's button is pressed down on an element.
|
3099
3101
|
* @see https://w3c.github.io/pointerevents/#the-pointerdown-event
|
3100
3102
|
*/
|
3101
|
-
|
3102
|
-
"on-pointerdown"?: this["
|
3103
|
+
onPointerdown?: AttrEventHandler<PointerEvent, T>;
|
3104
|
+
"on-pointerdown"?: this["onPointerdown"];
|
3103
3105
|
|
3104
3106
|
/**
|
3105
3107
|
* Fired when a pointing device is moved onto the element.
|
3106
3108
|
* @see https://w3c.github.io/pointerevents/#the-pointerenter-event
|
3107
3109
|
*/
|
3108
|
-
|
3109
|
-
"on-pointerenter"?: this["
|
3110
|
+
onPointerenter?: AttrEventHandler<PointerEvent, T>;
|
3111
|
+
"on-pointerenter"?: this["onPointerenter"];
|
3110
3112
|
|
3111
3113
|
/**
|
3112
3114
|
* Fired when a pointing device is moved off the element.
|
3113
3115
|
* @see https://w3c.github.io/pointerevents/#the-pointerleave-event
|
3114
3116
|
*/
|
3115
|
-
|
3116
|
-
"on-pointerleave"?: this["
|
3117
|
+
onPointerleave?: AttrEventHandler<PointerEvent, T>;
|
3118
|
+
"on-pointerleave"?: this["onPointerleave"];
|
3117
3119
|
|
3118
3120
|
/**
|
3119
3121
|
* Fired when a pointing device is moved over an element.
|
3120
3122
|
* @see https://w3c.github.io/pointerevents/#the-pointermove-event
|
3121
3123
|
*/
|
3122
|
-
|
3123
|
-
"on-pointermove"?: this["
|
3124
|
+
onPointermove?: AttrEventHandler<PointerEvent, T>;
|
3125
|
+
"on-pointermove"?: this["onPointermove"];
|
3124
3126
|
|
3125
3127
|
/**
|
3126
3128
|
* Fired when a pointing device is moved off the element or off one of its children.
|
3127
3129
|
* @see https://w3c.github.io/pointerevents/#the-pointerout-event
|
3128
3130
|
*/
|
3129
|
-
|
3130
|
-
"on-pointerout"?: this["
|
3131
|
+
onPointerout?: AttrEventHandler<PointerEvent, T>;
|
3132
|
+
"on-pointerout"?: this["onPointerout"];
|
3131
3133
|
|
3132
3134
|
/**
|
3133
3135
|
* Fired when a pointing device is moved onto the element or onto one of its children.
|
3134
3136
|
* @see https://w3c.github.io/pointerevents/#the-pointerover-event
|
3135
3137
|
*/
|
3136
|
-
|
3137
|
-
"on-pointerover"?: this["
|
3138
|
+
onPointerover?: AttrEventHandler<PointerEvent, T>;
|
3139
|
+
"on-pointerover"?: this["onPointerover"];
|
3138
3140
|
|
3139
3141
|
/**
|
3140
3142
|
* Fired when a pointing device's button is released over an element.
|
3141
3143
|
* @see https://w3c.github.io/pointerevents/#the-pointerup-event
|
3142
3144
|
*/
|
3143
|
-
|
3144
|
-
"on-pointerup"?: this["
|
3145
|
+
onPointerup?: AttrEventHandler<PointerEvent, T>;
|
3146
|
+
"on-pointerup"?: this["onPointerup"];
|
3145
3147
|
|
3146
3148
|
/**
|
3147
3149
|
* Fired when the user agent is downloading media data or resources, to indicate progress.
|
@@ -3155,8 +3157,8 @@ declare global {
|
|
3155
3157
|
* Fired when the playback rate of a media element has changed.
|
3156
3158
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-ratechange
|
3157
3159
|
*/
|
3158
|
-
|
3159
|
-
"on-ratechange"?: this["
|
3160
|
+
onRatechange?: AttrEventHandler<Event, T>;
|
3161
|
+
"on-ratechange"?: this["onRatechange"];
|
3160
3162
|
onratechange?: AttrString;
|
3161
3163
|
|
3162
3164
|
/**
|
@@ -3187,8 +3189,8 @@ declare global {
|
|
3187
3189
|
* 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.
|
3188
3190
|
* @see https://drafts.csswg.org/cssom-view/#eventdef-document-scrollend
|
3189
3191
|
*/
|
3190
|
-
|
3191
|
-
"on-scrollend"?: this["
|
3192
|
+
onScrollend?: AttrEventHandler<Event, T>;
|
3193
|
+
"on-scrollend"?: this["onScrollend"];
|
3192
3194
|
onscrollend?: AttrString;
|
3193
3195
|
|
3194
3196
|
/**
|
@@ -3200,7 +3202,7 @@ declare global {
|
|
3200
3202
|
T
|
3201
3203
|
>;
|
3202
3204
|
"on-securitypolicyviolation"?: this["onSecurityPolicyViolation"];
|
3203
|
-
onsecuritypolicyviolation?:
|
3205
|
+
onsecuritypolicyviolation?: Attrstring;
|
3204
3206
|
|
3205
3207
|
/**
|
3206
3208
|
* Fired when a seek operation on a media element completes.
|
@@ -3230,8 +3232,8 @@ declare global {
|
|
3230
3232
|
* Fired when a <slot> element's distributed nodes change.
|
3231
3233
|
* @see https://dom.spec.whatwg.org/#eventdef-htmlslotelement-slotchange
|
3232
3234
|
*/
|
3233
|
-
|
3234
|
-
"on-slotchange"?: this["
|
3235
|
+
onSlotchange?: AttrEventHandler<Event, T>;
|
3236
|
+
"on-slotchange"?: this["onSlotchange"];
|
3235
3237
|
onslotchange?: AttrString;
|
3236
3238
|
|
3237
3239
|
/**
|
@@ -3262,8 +3264,8 @@ declare global {
|
|
3262
3264
|
* Fired when the current playback position of a media element changes as part of normal playback or due to a seek operation.
|
3263
3265
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-timeupdate
|
3264
3266
|
*/
|
3265
|
-
|
3266
|
-
"on-timeupdate"?: this["
|
3267
|
+
onTimeupdate?: AttrEventHandler<Event, T>;
|
3268
|
+
"on-timeupdate"?: this["onTimeupdate"];
|
3267
3269
|
ontimeupdate?: AttrString;
|
3268
3270
|
|
3269
3271
|
/**
|
@@ -3278,64 +3280,64 @@ declare global {
|
|
3278
3280
|
* Fired when a touch event is interrupted, such as by a modal window or an incoming phone call.
|
3279
3281
|
* @see https://w3c.github.io/touch-events/#event-touchcancel
|
3280
3282
|
*/
|
3281
|
-
|
3282
|
-
"on-touchcancel"?: this["
|
3283
|
+
onTouchcancel?: AttrEventHandler<TouchEvent, T>;
|
3284
|
+
"on-touchcancel"?: this["onTouchcancel"];
|
3283
3285
|
|
3284
3286
|
/**
|
3285
3287
|
* Fired when a finger is lifted from a touch surface.
|
3286
3288
|
* @see https://w3c.github.io/touch-events/#event-touchend
|
3287
3289
|
*/
|
3288
|
-
|
3289
|
-
"on-touchend"?: this["
|
3290
|
+
onTouchend?: AttrEventHandler<TouchEvent, T>;
|
3291
|
+
"on-touchend"?: this["onTouchend"];
|
3290
3292
|
|
3291
3293
|
/**
|
3292
3294
|
* Fired when a finger is moved along a touch surface.
|
3293
3295
|
* @see https://w3c.github.io/touch-events/#event-touchmove
|
3294
3296
|
*/
|
3295
|
-
|
3296
|
-
"on-touchmove"?: this["
|
3297
|
+
onTouchmove?: AttrEventHandler<TouchEvent, T>;
|
3298
|
+
"on-touchmove"?: this["onTouchmove"];
|
3297
3299
|
|
3298
3300
|
/**
|
3299
3301
|
* Fired when a finger is placed on a touch surface.
|
3300
3302
|
* @see https://w3c.github.io/touch-events/#event-touchstart
|
3301
3303
|
*/
|
3302
|
-
|
3303
|
-
"on-touchstart"?: this["
|
3304
|
+
onTouchstart?: AttrEventHandler<TouchEvent, T>;
|
3305
|
+
"on-touchstart"?: this["onTouchstart"];
|
3304
3306
|
|
3305
3307
|
/**
|
3306
3308
|
* Fired when a CSS transition is canceled.
|
3307
3309
|
* @see https://drafts.csswg.org/css-transitions/#transitioncancel
|
3308
3310
|
*/
|
3309
|
-
|
3310
|
-
"on-transitioncancel"?: this["
|
3311
|
+
onTransitioncancel?: AttrEventHandler<TransitionEvent, T>;
|
3312
|
+
"on-transitioncancel"?: this["onTransitioncancel"];
|
3311
3313
|
|
3312
3314
|
/**
|
3313
3315
|
* Fired when a CSS transition has completed.
|
3314
3316
|
* @see https://drafts.csswg.org/css-transitions/#transitionend
|
3315
3317
|
*/
|
3316
|
-
|
3317
|
-
"on-transitionend"?: this["
|
3318
|
+
onTransitionend?: AttrEventHandler<TransitionEvent, T>;
|
3319
|
+
"on-transitionend"?: this["onTransitionend"];
|
3318
3320
|
|
3319
3321
|
/**
|
3320
3322
|
* Fired when a CSS transition is first created, i.e. before any transition-delay has begun.
|
3321
3323
|
* @see https://drafts.csswg.org/css-transitions/#transitionrun
|
3322
3324
|
*/
|
3323
|
-
|
3324
|
-
"on-transitionrun"?: this["
|
3325
|
+
onTransitionrun?: AttrEventHandler<TransitionEvent, T>;
|
3326
|
+
"on-transitionrun"?: this["onTransitionrun"];
|
3325
3327
|
|
3326
3328
|
/**
|
3327
3329
|
* Fired when a CSS transition has actually started, i.e., after any transition-delay has ended.
|
3328
3330
|
* @see https://drafts.csswg.org/css-transitions/#transitionstart
|
3329
3331
|
*/
|
3330
|
-
|
3331
|
-
"on-transitionstart"?: this["
|
3332
|
+
onTransitionstart?: AttrEventHandler<TransitionEvent, T>;
|
3333
|
+
"on-transitionstart"?: this["onTransitionstart"];
|
3332
3334
|
|
3333
3335
|
/**
|
3334
3336
|
* Fired when the volume level or muted state of a media element changes.
|
3335
3337
|
* @see https://html.spec.whatwg.org/multipage/media.html#event-media-volumechange
|
3336
3338
|
*/
|
3337
|
-
|
3338
|
-
"on-volumechange"?: this["
|
3339
|
+
onVolumechange?: AttrEventHandler<Event, T>;
|
3340
|
+
"on-volumechange"?: this["onVolumechange"];
|
3339
3341
|
onvolumechange?: AttrString;
|
3340
3342
|
|
3341
3343
|
/**
|