@arcgis/lumina 4.33.0-next.99 → 4.34.0-next.0
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/{Controller-CZ8Djohh.js → Controller-BQOv8BAL.js} +170 -210
- package/dist/LitElement.d.ts +22 -18
- package/dist/config.d.ts +7 -9
- package/dist/config.js +15 -12
- package/dist/context.d.ts +2 -2
- package/dist/controllers/Controller.d.ts +4 -10
- package/dist/controllers/ControllerInternals.d.ts +7 -13
- package/dist/controllers/ControllerManager.d.ts +6 -21
- package/dist/controllers/accessor/index.d.ts +3 -1
- package/dist/controllers/accessor/index.js +208 -222
- package/dist/controllers/accessor/reEmitEvent.d.ts +1 -1
- package/dist/controllers/accessor/store.d.ts +17 -0
- package/dist/controllers/accessor/useAccessor.d.ts +29 -32
- package/dist/controllers/index.d.ts +2 -2
- package/dist/controllers/index.js +45 -38
- package/dist/controllers/trackKey.d.ts +1 -1
- package/dist/controllers/trackPropKey.d.ts +1 -1
- package/dist/controllers/trackPropertyKey.d.ts +2 -2
- package/dist/controllers/types.d.ts +35 -0
- package/dist/controllers/usePropertyChange.d.ts +3 -1
- package/dist/controllers/utils.d.ts +6 -9
- package/dist/createEvent.d.ts +4 -4
- package/dist/hmrSupport.js +22 -22
- package/dist/index.d.ts +1 -1
- package/dist/index.js +193 -200
- package/dist/jsx/generatedTypes.d.ts +414 -80
- package/dist/lazyLoad-DUvrNd2L.js +406 -0
- package/dist/lazyLoad.d.ts +22 -67
- package/dist/lifecycleSupport.d.ts +1 -1
- package/dist/makeRuntime.d.ts +40 -1
- package/dist/{proxyExports-CK5BLFLO.js → proxyExports-Cdzj7WL_.js} +8 -8
- package/dist/render.d.ts +1 -1
- package/dist/utils.d.ts +8 -0
- package/dist/wrappersUtils.d.ts +13 -1
- package/package.json +5 -5
- package/dist/utils-DBdf1Dqp.js +0 -405
|
@@ -62,7 +62,7 @@ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
|
|
|
62
62
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
63
63
|
*/
|
|
64
64
|
onBlur?: FocusEventHandlerUnion<T, FocusEvent>;
|
|
65
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
65
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */
|
|
66
66
|
onCancel?: EventHandlerUnion<T, Event>;
|
|
67
67
|
/**
|
|
68
68
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -95,7 +95,7 @@ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
|
|
|
95
95
|
onCompositionStart?: EventHandlerUnion<T, CompositionEvent>;
|
|
96
96
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/compositionupdate_event) */
|
|
97
97
|
onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent>;
|
|
98
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/
|
|
98
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
99
99
|
onContextLost?: EventHandlerUnion<T, Event>;
|
|
100
100
|
/**
|
|
101
101
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
@@ -420,7 +420,7 @@ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
|
|
|
420
420
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
|
|
421
421
|
*/
|
|
422
422
|
onTimeUpdate?: EventHandlerUnion<T, Event>;
|
|
423
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
423
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */
|
|
424
424
|
onToggle?: EventHandlerUnion<T, Event>;
|
|
425
425
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
|
|
426
426
|
onTouchCancel?: EventHandlerUnion<T, TouchEvent>;
|
|
@@ -570,10 +570,7 @@ export interface AriaAttributes {
|
|
|
570
570
|
ariaPressed?: boolean | "false" | "mixed" | "true";
|
|
571
571
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) */
|
|
572
572
|
ariaReadOnly?: boolean | "false" | "true";
|
|
573
|
-
/**
|
|
574
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
575
|
-
* @see ariaAtomic
|
|
576
|
-
*/
|
|
573
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant) */
|
|
577
574
|
ariaRelevant?: "additions removals" | "additions text" | "additions" | "all" | "removals additions" | "removals text" | "removals" | "text additions" | "text removals" | "text";
|
|
578
575
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) */
|
|
579
576
|
ariaRequired?: boolean | "false" | "true";
|
|
@@ -609,6 +606,10 @@ export interface AriaAttributes {
|
|
|
609
606
|
export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttributes<T> {
|
|
610
607
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) */
|
|
611
608
|
accessKey?: string;
|
|
609
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */
|
|
610
|
+
ariaColIndexText?: string;
|
|
611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */
|
|
612
|
+
ariaRowIndexText?: string;
|
|
612
613
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) */
|
|
613
614
|
autocapitalize?: HtmlAutocapitalize;
|
|
614
615
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
|
|
@@ -643,6 +644,7 @@ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttr
|
|
|
643
644
|
lang?: string;
|
|
644
645
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce) */
|
|
645
646
|
nonce?: string;
|
|
647
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part) */
|
|
646
648
|
part?: string;
|
|
647
649
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) */
|
|
648
650
|
popover?: boolean | "auto" | "manual";
|
|
@@ -654,6 +656,7 @@ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttr
|
|
|
654
656
|
slot?: string;
|
|
655
657
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) */
|
|
656
658
|
spellcheck?: boolean;
|
|
659
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
|
|
657
660
|
style?: CssProperties | DirectiveResult<typeof StyleMapDirective> | string;
|
|
658
661
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex) */
|
|
659
662
|
tabIndex?: number | string;
|
|
@@ -661,6 +664,8 @@ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttr
|
|
|
661
664
|
title?: string;
|
|
662
665
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
|
|
663
666
|
translate?: boolean;
|
|
667
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/writingSuggestions) */
|
|
668
|
+
writingSuggestions?: string;
|
|
664
669
|
}
|
|
665
670
|
interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
|
|
666
671
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */
|
|
@@ -689,6 +694,8 @@ interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
|
|
|
689
694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rel)
|
|
690
695
|
*/
|
|
691
696
|
rel?: string;
|
|
697
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList) */
|
|
698
|
+
relList?: string;
|
|
692
699
|
/**
|
|
693
700
|
* Sets or retrieves the window or frame at which to target content.
|
|
694
701
|
*
|
|
@@ -701,15 +708,19 @@ interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
|
|
|
701
708
|
interface HtmlAudioAttributes<T> extends HtmlMediaAttributes<T> {
|
|
702
709
|
}
|
|
703
710
|
interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
|
|
704
|
-
/**
|
|
711
|
+
/**
|
|
712
|
+
* Sets or retrieves a text alternative to the graphic.
|
|
713
|
+
*
|
|
714
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
|
|
715
|
+
*/
|
|
705
716
|
alt?: string;
|
|
706
|
-
/** Sets or retrieves the coordinates of the object. */
|
|
707
|
-
coords?: string;
|
|
708
717
|
/**
|
|
709
|
-
*
|
|
718
|
+
* Sets or retrieves the coordinates of the object.
|
|
710
719
|
*
|
|
711
|
-
*
|
|
720
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)
|
|
712
721
|
*/
|
|
722
|
+
coords?: string;
|
|
723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */
|
|
713
724
|
download?: string;
|
|
714
725
|
/**
|
|
715
726
|
* Returns the hyperlink's URL.
|
|
@@ -725,7 +736,13 @@ interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
|
|
|
725
736
|
referrerPolicy?: ReferrerPolicy;
|
|
726
737
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel) */
|
|
727
738
|
rel?: string;
|
|
728
|
-
/**
|
|
739
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */
|
|
740
|
+
relList?: string;
|
|
741
|
+
/**
|
|
742
|
+
* Sets or retrieves the shape of the object.
|
|
743
|
+
*
|
|
744
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
745
|
+
*/
|
|
729
746
|
shape?: "circle" | "default" | "poly" | "rect";
|
|
730
747
|
/**
|
|
731
748
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -735,7 +752,11 @@ interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
|
|
|
735
752
|
target?: string;
|
|
736
753
|
}
|
|
737
754
|
interface HtmlBaseAttributes<T> extends HTMLAttributes<T> {
|
|
738
|
-
/**
|
|
755
|
+
/**
|
|
756
|
+
* Gets or sets the baseline URL on which relative links are based.
|
|
757
|
+
*
|
|
758
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href)
|
|
759
|
+
*/
|
|
739
760
|
href?: string;
|
|
740
761
|
/**
|
|
741
762
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -745,24 +766,52 @@ interface HtmlBaseAttributes<T> extends HTMLAttributes<T> {
|
|
|
745
766
|
target?: string;
|
|
746
767
|
}
|
|
747
768
|
interface HtmlBlockquoteAttributes<T> extends HTMLAttributes<T> {
|
|
748
|
-
/**
|
|
769
|
+
/**
|
|
770
|
+
* Sets or retrieves reference information about the object.
|
|
771
|
+
*
|
|
772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
|
|
773
|
+
*/
|
|
749
774
|
cite?: string;
|
|
750
775
|
}
|
|
751
776
|
interface HtmlButtonAttributes<T> extends HTMLAttributes<T> {
|
|
752
777
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
|
|
753
778
|
disabled?: boolean;
|
|
754
779
|
form?: string;
|
|
755
|
-
/**
|
|
780
|
+
/**
|
|
781
|
+
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
782
|
+
*
|
|
783
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
|
|
784
|
+
*/
|
|
756
785
|
formAction?: string;
|
|
757
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
788
|
+
*
|
|
789
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype)
|
|
790
|
+
*/
|
|
758
791
|
formEnctype?: HtmlFormEncType;
|
|
759
|
-
/**
|
|
792
|
+
/**
|
|
793
|
+
* Overrides the submit method attribute previously specified on a form element.
|
|
794
|
+
*
|
|
795
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
|
|
796
|
+
*/
|
|
760
797
|
formMethod?: HtmlFormMethod;
|
|
761
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
|
|
800
|
+
*
|
|
801
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate)
|
|
802
|
+
*/
|
|
762
803
|
formNoValidate?: boolean;
|
|
763
|
-
/**
|
|
804
|
+
/**
|
|
805
|
+
* Overrides the target attribute on a form element.
|
|
806
|
+
*
|
|
807
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)
|
|
808
|
+
*/
|
|
764
809
|
formTarget?: string;
|
|
765
|
-
/**
|
|
810
|
+
/**
|
|
811
|
+
* Sets or retrieves the name of the object.
|
|
812
|
+
*
|
|
813
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
|
|
814
|
+
*/
|
|
766
815
|
name?: string;
|
|
767
816
|
popoverTarget?: string;
|
|
768
817
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
|
|
@@ -775,7 +824,11 @@ interface HtmlButtonAttributes<T> extends HTMLAttributes<T> {
|
|
|
775
824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
|
|
776
825
|
*/
|
|
777
826
|
type?: "button" | "reset" | "submit";
|
|
778
|
-
/**
|
|
827
|
+
/**
|
|
828
|
+
* Sets or retrieves the default or selected value of the control.
|
|
829
|
+
*
|
|
830
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
|
|
831
|
+
*/
|
|
779
832
|
value?: number | string;
|
|
780
833
|
}
|
|
781
834
|
interface HtmlCanvasAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -813,12 +866,21 @@ interface HtmlDataAttributes<T> extends HTMLAttributes<T> {
|
|
|
813
866
|
value?: number | string;
|
|
814
867
|
}
|
|
815
868
|
interface HtmlModAttributes<T> extends HTMLAttributes<T> {
|
|
816
|
-
/**
|
|
869
|
+
/**
|
|
870
|
+
* Sets or retrieves reference information about the object.
|
|
871
|
+
*
|
|
872
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
|
|
873
|
+
*/
|
|
817
874
|
cite?: string;
|
|
818
|
-
/**
|
|
875
|
+
/**
|
|
876
|
+
* Sets or retrieves the date and time of a modification to the object.
|
|
877
|
+
*
|
|
878
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime)
|
|
879
|
+
*/
|
|
819
880
|
dateTime?: string;
|
|
820
881
|
}
|
|
821
882
|
interface HtmlDetailsAttributes<T> extends HTMLAttributes<T> {
|
|
883
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name) */
|
|
822
884
|
name?: string;
|
|
823
885
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
824
886
|
open?: boolean;
|
|
@@ -842,6 +904,7 @@ interface HtmlEmbedAttributes<T> extends HTMLAttributes<T> {
|
|
|
842
904
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src)
|
|
843
905
|
*/
|
|
844
906
|
src?: string;
|
|
907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/type) */
|
|
845
908
|
type?: string;
|
|
846
909
|
/**
|
|
847
910
|
* Sets or retrieves the width of the object.
|
|
@@ -851,8 +914,10 @@ interface HtmlEmbedAttributes<T> extends HTMLAttributes<T> {
|
|
|
851
914
|
width?: number | string;
|
|
852
915
|
}
|
|
853
916
|
interface HtmlFieldsetAttributes<T> extends HTMLAttributes<T> {
|
|
917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
|
|
854
918
|
disabled?: boolean;
|
|
855
919
|
form?: string;
|
|
920
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
|
|
856
921
|
name?: string;
|
|
857
922
|
}
|
|
858
923
|
interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -868,7 +933,11 @@ interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
|
|
|
868
933
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
|
|
869
934
|
*/
|
|
870
935
|
action?: string;
|
|
871
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* Specifies whether autocomplete is applied to an editable text field.
|
|
938
|
+
*
|
|
939
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
|
|
940
|
+
*/
|
|
872
941
|
autocomplete?: "off" | "on";
|
|
873
942
|
/**
|
|
874
943
|
* Sets or retrieves the MIME encoding for the form.
|
|
@@ -894,9 +963,14 @@ interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
|
|
|
894
963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
|
|
895
964
|
*/
|
|
896
965
|
name?: string;
|
|
897
|
-
/**
|
|
966
|
+
/**
|
|
967
|
+
* Designates a form that is not validated when submitted.
|
|
968
|
+
*
|
|
969
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
970
|
+
*/
|
|
898
971
|
noValidate?: boolean;
|
|
899
972
|
rel?: string;
|
|
973
|
+
relList?: string;
|
|
900
974
|
/**
|
|
901
975
|
* Sets or retrieves the window or frame at which to target content.
|
|
902
976
|
*
|
|
@@ -925,6 +999,7 @@ interface HtmlIframeAttributes<T> extends HTMLAttributes<T> {
|
|
|
925
999
|
name?: string;
|
|
926
1000
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
|
|
927
1001
|
referrerPolicy?: ReferrerPolicy;
|
|
1002
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
|
|
928
1003
|
sandbox?: HtmlIframeSandbox | string;
|
|
929
1004
|
/**
|
|
930
1005
|
* Sets or retrieves a URL to be loaded by the object.
|
|
@@ -1003,18 +1078,43 @@ interface HtmlImgAttributes<T> extends HTMLAttributes<T> {
|
|
|
1003
1078
|
width?: number | string;
|
|
1004
1079
|
}
|
|
1005
1080
|
interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
1006
|
-
/**
|
|
1081
|
+
/**
|
|
1082
|
+
* Sets or retrieves a comma-separated list of content types.
|
|
1083
|
+
*
|
|
1084
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/accept)
|
|
1085
|
+
*/
|
|
1007
1086
|
accept?: string;
|
|
1008
|
-
/**
|
|
1087
|
+
/**
|
|
1088
|
+
* Sets or retrieves a text alternative to the graphic.
|
|
1089
|
+
*
|
|
1090
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/alt)
|
|
1091
|
+
*/
|
|
1009
1092
|
alt?: string;
|
|
1010
|
-
/**
|
|
1093
|
+
/**
|
|
1094
|
+
* Specifies whether autocomplete is applied to an editable text field.
|
|
1095
|
+
*
|
|
1096
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
|
|
1097
|
+
*/
|
|
1011
1098
|
autocomplete?: AutoFill;
|
|
1099
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
|
|
1012
1100
|
capture?: boolean | string;
|
|
1013
|
-
/**
|
|
1101
|
+
/**
|
|
1102
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
1103
|
+
*
|
|
1104
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
1105
|
+
*/
|
|
1014
1106
|
checked?: boolean;
|
|
1015
|
-
/**
|
|
1107
|
+
/**
|
|
1108
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
1109
|
+
*
|
|
1110
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)
|
|
1111
|
+
*/
|
|
1016
1112
|
defaultChecked?: boolean;
|
|
1017
|
-
/**
|
|
1113
|
+
/**
|
|
1114
|
+
* Sets or retrieves the initial contents of the object.
|
|
1115
|
+
*
|
|
1116
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
1117
|
+
*/
|
|
1018
1118
|
defaultValue?: number | string;
|
|
1019
1119
|
dirName?: string;
|
|
1020
1120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -1026,27 +1126,68 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1026
1126
|
*/
|
|
1027
1127
|
files?: FileList;
|
|
1028
1128
|
form?: string;
|
|
1029
|
-
/**
|
|
1129
|
+
/**
|
|
1130
|
+
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
1131
|
+
*
|
|
1132
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
|
|
1133
|
+
*/
|
|
1030
1134
|
formAction?: string;
|
|
1031
|
-
/**
|
|
1135
|
+
/**
|
|
1136
|
+
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
1137
|
+
*
|
|
1138
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype)
|
|
1139
|
+
*/
|
|
1032
1140
|
formEnctype?: HtmlFormEncType;
|
|
1033
|
-
/**
|
|
1141
|
+
/**
|
|
1142
|
+
* Overrides the submit method attribute previously specified on a form element.
|
|
1143
|
+
*
|
|
1144
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
|
|
1145
|
+
*/
|
|
1034
1146
|
formMethod?: HtmlFormMethod;
|
|
1035
|
-
/**
|
|
1147
|
+
/**
|
|
1148
|
+
* Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
|
|
1149
|
+
*
|
|
1150
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate)
|
|
1151
|
+
*/
|
|
1036
1152
|
formNoValidate?: boolean;
|
|
1037
|
-
/**
|
|
1153
|
+
/**
|
|
1154
|
+
* Overrides the target attribute on a form element.
|
|
1155
|
+
*
|
|
1156
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)
|
|
1157
|
+
*/
|
|
1038
1158
|
formTarget?: string;
|
|
1039
|
-
/**
|
|
1159
|
+
/**
|
|
1160
|
+
* Sets or retrieves the height of the object.
|
|
1161
|
+
*
|
|
1162
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
|
|
1163
|
+
*/
|
|
1040
1164
|
height?: number | string;
|
|
1041
|
-
/**
|
|
1165
|
+
/**
|
|
1166
|
+
* When set, overrides the rendering of checkbox controls so that the current value is not visible.
|
|
1167
|
+
*
|
|
1168
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
|
|
1169
|
+
*/
|
|
1042
1170
|
indeterminate?: boolean;
|
|
1043
1171
|
list?: string;
|
|
1044
|
-
/**
|
|
1172
|
+
/**
|
|
1173
|
+
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
|
|
1174
|
+
*
|
|
1175
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)
|
|
1176
|
+
*/
|
|
1045
1177
|
max?: number | string;
|
|
1046
|
-
/**
|
|
1178
|
+
/**
|
|
1179
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
1180
|
+
*
|
|
1181
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
1182
|
+
*/
|
|
1047
1183
|
maxLength?: number | string;
|
|
1048
|
-
/**
|
|
1184
|
+
/**
|
|
1185
|
+
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
|
|
1186
|
+
*
|
|
1187
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)
|
|
1188
|
+
*/
|
|
1049
1189
|
min?: number | string;
|
|
1190
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
1050
1191
|
minLength?: number | string;
|
|
1051
1192
|
/**
|
|
1052
1193
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -1054,18 +1195,35 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1054
1195
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
|
|
1055
1196
|
*/
|
|
1056
1197
|
multiple?: boolean;
|
|
1057
|
-
/**
|
|
1198
|
+
/**
|
|
1199
|
+
* Sets or retrieves the name of the object.
|
|
1200
|
+
*
|
|
1201
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
|
|
1202
|
+
*/
|
|
1058
1203
|
name?: string;
|
|
1059
|
-
/**
|
|
1204
|
+
/**
|
|
1205
|
+
* Gets or sets a string containing a regular expression that the user's input must match.
|
|
1206
|
+
*
|
|
1207
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern)
|
|
1208
|
+
*/
|
|
1060
1209
|
pattern?: string;
|
|
1061
|
-
/**
|
|
1210
|
+
/**
|
|
1211
|
+
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
|
|
1212
|
+
*
|
|
1213
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder)
|
|
1214
|
+
*/
|
|
1062
1215
|
placeholder?: string;
|
|
1063
1216
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
|
|
1064
1217
|
popoverTargetAction?: string;
|
|
1065
1218
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
|
|
1066
1219
|
popoverTargetElement?: Element;
|
|
1220
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly) */
|
|
1067
1221
|
readOnly?: boolean;
|
|
1068
|
-
/**
|
|
1222
|
+
/**
|
|
1223
|
+
* When present, marks an element that can't be submitted without a value.
|
|
1224
|
+
*
|
|
1225
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required)
|
|
1226
|
+
*/
|
|
1069
1227
|
required?: boolean;
|
|
1070
1228
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
|
|
1071
1229
|
selectionDirection?: "backward" | "forward" | "none";
|
|
@@ -1081,10 +1239,19 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1081
1239
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
|
|
1082
1240
|
*/
|
|
1083
1241
|
selectionStart?: number;
|
|
1242
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size) */
|
|
1084
1243
|
size?: number | string;
|
|
1085
|
-
/**
|
|
1244
|
+
/**
|
|
1245
|
+
* The address or URL of the a media resource that is to be considered.
|
|
1246
|
+
*
|
|
1247
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/src)
|
|
1248
|
+
*/
|
|
1086
1249
|
src?: string;
|
|
1087
|
-
/**
|
|
1250
|
+
/**
|
|
1251
|
+
* Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
|
|
1252
|
+
*
|
|
1253
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/step)
|
|
1254
|
+
*/
|
|
1088
1255
|
step?: number | string;
|
|
1089
1256
|
/**
|
|
1090
1257
|
* Returns the content type of the object.
|
|
@@ -1092,15 +1259,31 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1092
1259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type)
|
|
1093
1260
|
*/
|
|
1094
1261
|
type?: string;
|
|
1095
|
-
/**
|
|
1262
|
+
/**
|
|
1263
|
+
* Returns the value of the data at the cursor's current position.
|
|
1264
|
+
*
|
|
1265
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
|
|
1266
|
+
*/
|
|
1096
1267
|
value?: number | string;
|
|
1097
|
-
/**
|
|
1268
|
+
/**
|
|
1269
|
+
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
|
|
1270
|
+
*
|
|
1271
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
|
|
1272
|
+
*/
|
|
1098
1273
|
valueAsDate?: Date;
|
|
1099
|
-
/**
|
|
1274
|
+
/**
|
|
1275
|
+
* Returns the input field value as a number.
|
|
1276
|
+
*
|
|
1277
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
|
|
1278
|
+
*/
|
|
1100
1279
|
valueAsNumber?: number;
|
|
1101
1280
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
|
|
1102
1281
|
webkitdirectory?: boolean;
|
|
1103
|
-
/**
|
|
1282
|
+
/**
|
|
1283
|
+
* Sets or retrieves the width of the object.
|
|
1284
|
+
*
|
|
1285
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
|
|
1286
|
+
*/
|
|
1104
1287
|
width?: number | string;
|
|
1105
1288
|
}
|
|
1106
1289
|
interface HtmlLabelAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1113,19 +1296,29 @@ interface HtmlLabelAttributes<T> extends HTMLAttributes<T> {
|
|
|
1113
1296
|
htmlFor?: string;
|
|
1114
1297
|
}
|
|
1115
1298
|
interface HtmlLiAttributes<T> extends HTMLAttributes<T> {
|
|
1116
|
-
/**
|
|
1299
|
+
/**
|
|
1300
|
+
* Sets or retrieves the value of a list item.
|
|
1301
|
+
*
|
|
1302
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLIElement/value)
|
|
1303
|
+
*/
|
|
1117
1304
|
value?: number | string;
|
|
1118
1305
|
}
|
|
1119
1306
|
interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
|
|
1120
1307
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/as) */
|
|
1121
1308
|
as?: HtmlLinkAs;
|
|
1309
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking) */
|
|
1310
|
+
blocking?: string;
|
|
1122
1311
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
|
|
1123
1312
|
crossOrigin?: HtmlCrossOrigin;
|
|
1124
1313
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */
|
|
1125
1314
|
disabled?: boolean;
|
|
1126
1315
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
|
|
1127
1316
|
fetchPriority?: "auto" | "high" | "low";
|
|
1128
|
-
/**
|
|
1317
|
+
/**
|
|
1318
|
+
* Sets or retrieves a destination URL or an anchor point.
|
|
1319
|
+
*
|
|
1320
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
|
|
1321
|
+
*/
|
|
1129
1322
|
href?: string;
|
|
1130
1323
|
/**
|
|
1131
1324
|
* Sets or retrieves the language code of the object.
|
|
@@ -1137,7 +1330,11 @@ interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
|
|
|
1137
1330
|
imageSrcset?: string;
|
|
1138
1331
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
1139
1332
|
integrity?: string;
|
|
1140
|
-
/**
|
|
1333
|
+
/**
|
|
1334
|
+
* Sets or retrieves the media type.
|
|
1335
|
+
*
|
|
1336
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
|
|
1337
|
+
*/
|
|
1141
1338
|
media?: string;
|
|
1142
1339
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
|
|
1143
1340
|
referrerPolicy?: ReferrerPolicy;
|
|
@@ -1147,6 +1344,9 @@ interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
|
|
|
1147
1344
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/rel)
|
|
1148
1345
|
*/
|
|
1149
1346
|
rel?: string;
|
|
1347
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList) */
|
|
1348
|
+
relList?: string;
|
|
1349
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) */
|
|
1150
1350
|
sizes?: string;
|
|
1151
1351
|
/**
|
|
1152
1352
|
* Sets or retrieves the MIME type of the object.
|
|
@@ -1222,6 +1422,7 @@ interface HtmlMediaAttributes<T> extends HTMLAttributes<T> {
|
|
|
1222
1422
|
muted?: boolean;
|
|
1223
1423
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
|
|
1224
1424
|
onEncrypted?: EventHandlerUnion<T, Event>;
|
|
1425
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */
|
|
1225
1426
|
onWaitingForKey?: EventHandlerUnion<T, Event>;
|
|
1226
1427
|
/**
|
|
1227
1428
|
* Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.
|
|
@@ -1281,15 +1482,25 @@ interface HtmlMetaAttributes<T> extends HTMLAttributes<T> {
|
|
|
1281
1482
|
}
|
|
1282
1483
|
interface HtmlMeterAttributes<T> extends HTMLAttributes<T> {
|
|
1283
1484
|
form?: string;
|
|
1485
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */
|
|
1284
1486
|
high?: number | string;
|
|
1487
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */
|
|
1285
1488
|
low?: number | string;
|
|
1489
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */
|
|
1286
1490
|
max?: number | string;
|
|
1491
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */
|
|
1287
1492
|
min?: number | string;
|
|
1493
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */
|
|
1288
1494
|
optimum?: number | string;
|
|
1495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */
|
|
1289
1496
|
value?: number | string;
|
|
1290
1497
|
}
|
|
1291
1498
|
interface HtmlQuoteAttributes<T> extends HTMLAttributes<T> {
|
|
1292
|
-
/**
|
|
1499
|
+
/**
|
|
1500
|
+
* Sets or retrieves reference information about the object.
|
|
1501
|
+
*
|
|
1502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
|
|
1503
|
+
*/
|
|
1293
1504
|
cite?: string;
|
|
1294
1505
|
}
|
|
1295
1506
|
interface HtmlObjectAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1338,30 +1549,58 @@ interface HtmlOlAttributes<T> extends HTMLAttributes<T> {
|
|
|
1338
1549
|
type?: "1" | "A" | "a" | "I" | "i";
|
|
1339
1550
|
}
|
|
1340
1551
|
interface HtmlOptgroupAttributes<T> extends HTMLAttributes<T> {
|
|
1552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
|
|
1341
1553
|
disabled?: boolean;
|
|
1342
|
-
/**
|
|
1554
|
+
/**
|
|
1555
|
+
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
|
|
1556
|
+
*
|
|
1557
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
|
|
1558
|
+
*/
|
|
1343
1559
|
label?: string;
|
|
1344
1560
|
}
|
|
1345
1561
|
interface HtmlOptionAttributes<T> extends HTMLAttributes<T> {
|
|
1346
|
-
/**
|
|
1562
|
+
/**
|
|
1563
|
+
* Sets or retrieves the status of an option.
|
|
1564
|
+
*
|
|
1565
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
|
|
1566
|
+
*/
|
|
1347
1567
|
defaultSelected?: boolean;
|
|
1568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
|
|
1348
1569
|
disabled?: boolean;
|
|
1349
|
-
/**
|
|
1570
|
+
/**
|
|
1571
|
+
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
|
|
1572
|
+
*
|
|
1573
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
|
|
1574
|
+
*/
|
|
1350
1575
|
label?: string;
|
|
1351
|
-
/**
|
|
1576
|
+
/**
|
|
1577
|
+
* Sets or retrieves whether the option in the list box is the default item.
|
|
1578
|
+
*
|
|
1579
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
|
|
1580
|
+
*/
|
|
1352
1581
|
selected?: boolean;
|
|
1353
|
-
/**
|
|
1582
|
+
/**
|
|
1583
|
+
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
1584
|
+
*
|
|
1585
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)
|
|
1586
|
+
*/
|
|
1354
1587
|
value?: number | string;
|
|
1355
1588
|
}
|
|
1356
1589
|
interface HtmlOutputAttributes<T> extends HTMLAttributes<T> {
|
|
1590
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
1357
1591
|
defaultValue?: number | string;
|
|
1358
1592
|
for?: string;
|
|
1359
1593
|
form?: string;
|
|
1594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
1595
|
+
htmlFor?: string;
|
|
1596
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
|
|
1360
1597
|
name?: string;
|
|
1361
1598
|
/**
|
|
1362
1599
|
* Returns the element's current value.
|
|
1363
1600
|
*
|
|
1364
1601
|
* Can be set, to change the value.
|
|
1602
|
+
*
|
|
1603
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
|
|
1365
1604
|
*/
|
|
1366
1605
|
value?: number | string;
|
|
1367
1606
|
}
|
|
@@ -1382,6 +1621,8 @@ interface HtmlProgressAttributes<T> extends HTMLAttributes<T> {
|
|
|
1382
1621
|
interface HtmlScriptAttributes<T> extends HTMLAttributes<T> {
|
|
1383
1622
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
|
|
1384
1623
|
async?: boolean;
|
|
1624
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking) */
|
|
1625
|
+
blocking?: string;
|
|
1385
1626
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
|
|
1386
1627
|
crossOrigin?: HtmlCrossOrigin;
|
|
1387
1628
|
/**
|
|
@@ -1412,15 +1653,28 @@ interface HtmlScriptAttributes<T> extends HTMLAttributes<T> {
|
|
|
1412
1653
|
type?: string;
|
|
1413
1654
|
}
|
|
1414
1655
|
interface HtmlSelectAttributes<T> extends HTMLAttributes<T> {
|
|
1656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
|
|
1415
1657
|
autocomplete?: AutoFill;
|
|
1416
1658
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
|
|
1417
1659
|
disabled?: boolean;
|
|
1418
1660
|
form?: string;
|
|
1419
|
-
/**
|
|
1661
|
+
/**
|
|
1662
|
+
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
1663
|
+
*
|
|
1664
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple)
|
|
1665
|
+
*/
|
|
1420
1666
|
multiple?: boolean;
|
|
1421
|
-
/**
|
|
1667
|
+
/**
|
|
1668
|
+
* Sets or retrieves the name of the object.
|
|
1669
|
+
*
|
|
1670
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
|
|
1671
|
+
*/
|
|
1422
1672
|
name?: string;
|
|
1423
|
-
/**
|
|
1673
|
+
/**
|
|
1674
|
+
* When present, marks an element that can't be submitted without a value.
|
|
1675
|
+
*
|
|
1676
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required)
|
|
1677
|
+
*/
|
|
1424
1678
|
required?: boolean;
|
|
1425
1679
|
/**
|
|
1426
1680
|
* Sets or retrieves the index of the selected option in a select object.
|
|
@@ -1428,7 +1682,11 @@ interface HtmlSelectAttributes<T> extends HTMLAttributes<T> {
|
|
|
1428
1682
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedIndex)
|
|
1429
1683
|
*/
|
|
1430
1684
|
selectedIndex?: number;
|
|
1431
|
-
/**
|
|
1685
|
+
/**
|
|
1686
|
+
* Sets or retrieves the number of rows in the list box.
|
|
1687
|
+
*
|
|
1688
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size)
|
|
1689
|
+
*/
|
|
1432
1690
|
size?: number | string;
|
|
1433
1691
|
/**
|
|
1434
1692
|
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
@@ -1444,18 +1702,34 @@ interface HtmlSlotAttributes<T> extends HTMLAttributes<T> {
|
|
|
1444
1702
|
interface HtmlSourceAttributes<T> extends HTMLAttributes<T> {
|
|
1445
1703
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */
|
|
1446
1704
|
height?: number;
|
|
1447
|
-
/**
|
|
1705
|
+
/**
|
|
1706
|
+
* Gets or sets the intended media type of the media source.
|
|
1707
|
+
*
|
|
1708
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media)
|
|
1709
|
+
*/
|
|
1448
1710
|
media?: string;
|
|
1711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) */
|
|
1449
1712
|
sizes?: string;
|
|
1450
|
-
/**
|
|
1713
|
+
/**
|
|
1714
|
+
* The address or URL of the a media resource that is to be considered.
|
|
1715
|
+
*
|
|
1716
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src)
|
|
1717
|
+
*/
|
|
1451
1718
|
src?: string;
|
|
1719
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) */
|
|
1452
1720
|
srcset?: string;
|
|
1453
|
-
/**
|
|
1721
|
+
/**
|
|
1722
|
+
* Gets or sets the MIME type of a media resource.
|
|
1723
|
+
*
|
|
1724
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type)
|
|
1725
|
+
*/
|
|
1454
1726
|
type?: string;
|
|
1455
1727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */
|
|
1456
1728
|
width?: number;
|
|
1457
1729
|
}
|
|
1458
1730
|
interface HtmlStyleAttributes<T> extends HTMLAttributes<T> {
|
|
1731
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking) */
|
|
1732
|
+
blocking?: string;
|
|
1459
1733
|
/**
|
|
1460
1734
|
* Enables or disables the style sheet.
|
|
1461
1735
|
*
|
|
@@ -1512,36 +1786,88 @@ interface HtmlTemplateAttributes<T extends HTMLTemplateElement> extends HTMLAttr
|
|
|
1512
1786
|
shadowRootSerializable?: boolean;
|
|
1513
1787
|
}
|
|
1514
1788
|
interface HtmlTextareaAttributes<T> extends HTMLAttributes<T> {
|
|
1789
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
|
|
1515
1790
|
autocomplete?: AutoFill;
|
|
1516
1791
|
children?: "Error: Use value property instead. See https://lit.dev/docs/templates/expressions/#invalid-locations";
|
|
1517
|
-
/**
|
|
1792
|
+
/**
|
|
1793
|
+
* Sets or retrieves the width of the object.
|
|
1794
|
+
*
|
|
1795
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/cols)
|
|
1796
|
+
*/
|
|
1518
1797
|
cols?: number | string;
|
|
1519
|
-
/**
|
|
1798
|
+
/**
|
|
1799
|
+
* Sets or retrieves the initial contents of the object.
|
|
1800
|
+
*
|
|
1801
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
|
|
1802
|
+
*/
|
|
1520
1803
|
defaultValue?: number | string;
|
|
1521
1804
|
dirName?: string;
|
|
1805
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
1522
1806
|
disabled?: boolean;
|
|
1523
1807
|
form?: string;
|
|
1524
|
-
/**
|
|
1808
|
+
/**
|
|
1809
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
1810
|
+
*
|
|
1811
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength)
|
|
1812
|
+
*/
|
|
1525
1813
|
maxLength?: number | string;
|
|
1814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength) */
|
|
1526
1815
|
minLength?: number | string;
|
|
1527
|
-
/**
|
|
1816
|
+
/**
|
|
1817
|
+
* Sets or retrieves the name of the object.
|
|
1818
|
+
*
|
|
1819
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
|
|
1820
|
+
*/
|
|
1528
1821
|
name?: string;
|
|
1529
|
-
/**
|
|
1822
|
+
/**
|
|
1823
|
+
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
|
|
1824
|
+
*
|
|
1825
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/placeholder)
|
|
1826
|
+
*/
|
|
1530
1827
|
placeholder?: string;
|
|
1531
|
-
/**
|
|
1828
|
+
/**
|
|
1829
|
+
* Sets or retrieves the value indicated whether the content of the object is read-only.
|
|
1830
|
+
*
|
|
1831
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/readOnly)
|
|
1832
|
+
*/
|
|
1532
1833
|
readOnly?: boolean;
|
|
1533
|
-
/**
|
|
1834
|
+
/**
|
|
1835
|
+
* When present, marks an element that can't be submitted without a value.
|
|
1836
|
+
*
|
|
1837
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/required)
|
|
1838
|
+
*/
|
|
1534
1839
|
required?: boolean;
|
|
1535
|
-
/**
|
|
1840
|
+
/**
|
|
1841
|
+
* Sets or retrieves the number of horizontal rows contained in the object.
|
|
1842
|
+
*
|
|
1843
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
|
|
1844
|
+
*/
|
|
1536
1845
|
rows?: number | string;
|
|
1846
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
|
|
1537
1847
|
selectionDirection?: "backward" | "forward" | "none";
|
|
1538
|
-
/**
|
|
1848
|
+
/**
|
|
1849
|
+
* Gets or sets the end position or offset of a text selection.
|
|
1850
|
+
*
|
|
1851
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)
|
|
1852
|
+
*/
|
|
1539
1853
|
selectionEnd?: number;
|
|
1540
|
-
/**
|
|
1854
|
+
/**
|
|
1855
|
+
* Gets or sets the starting position or offset of a text selection.
|
|
1856
|
+
*
|
|
1857
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)
|
|
1858
|
+
*/
|
|
1541
1859
|
selectionStart?: number;
|
|
1542
|
-
/**
|
|
1860
|
+
/**
|
|
1861
|
+
* Retrieves or sets the text in the entry field of the textArea element.
|
|
1862
|
+
*
|
|
1863
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)
|
|
1864
|
+
*/
|
|
1543
1865
|
value?: number | string;
|
|
1544
|
-
/**
|
|
1866
|
+
/**
|
|
1867
|
+
* Sets or retrieves how to handle wordwrapping in the object.
|
|
1868
|
+
*
|
|
1869
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/wrap)
|
|
1870
|
+
*/
|
|
1545
1871
|
wrap?: "hard" | "off" | "soft";
|
|
1546
1872
|
}
|
|
1547
1873
|
interface HtmlThAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1581,11 +1907,15 @@ interface HtmlTimeAttributes<T> extends HTMLAttributes<T> {
|
|
|
1581
1907
|
dateTime?: string;
|
|
1582
1908
|
}
|
|
1583
1909
|
interface HtmlTrackAttributes<T> extends HTMLAttributes<T> {
|
|
1910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) */
|
|
1584
1911
|
default?: boolean;
|
|
1912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) */
|
|
1585
1913
|
kind?: "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
|
|
1914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) */
|
|
1586
1915
|
label?: string;
|
|
1587
1916
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */
|
|
1588
1917
|
src?: string;
|
|
1918
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) */
|
|
1589
1919
|
srclang?: string;
|
|
1590
1920
|
}
|
|
1591
1921
|
interface HtmlVideoAttributes<T> extends HtmlMediaAttributes<T> {
|
|
@@ -2037,8 +2367,12 @@ interface SvgSvgAttributes<T> extends SvgContainerElementAttributes<T>, SvgNewVi
|
|
|
2037
2367
|
onOnline?: EventHandlerUnion<T, Event>;
|
|
2038
2368
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
|
|
2039
2369
|
onPageHide?: EventHandlerUnion<T, PageTransitionEvent>;
|
|
2370
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */
|
|
2371
|
+
onPageReveal?: EventHandlerUnion<T, Event>;
|
|
2040
2372
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
|
|
2041
2373
|
onPageShow?: EventHandlerUnion<T, PageTransitionEvent>;
|
|
2374
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */
|
|
2375
|
+
onPageSwap?: EventHandlerUnion<T, Event>;
|
|
2042
2376
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
|
|
2043
2377
|
onPopState?: EventHandlerUnion<T, PopStateEvent>;
|
|
2044
2378
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
|