@arcgis/lumina 4.33.0-next.16 → 4.33.0-next.160
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-BQOv8BAL.js +587 -0
- package/dist/LitElement.d.ts +56 -45
- package/dist/config.d.ts +7 -9
- package/dist/config.js +18 -8
- package/dist/context.d.ts +14 -4
- package/dist/controllers/Controller.d.ts +147 -0
- package/dist/controllers/ControllerInternals.d.ts +53 -0
- package/dist/controllers/ControllerManager.d.ts +68 -0
- package/dist/controllers/accessor/index.d.ts +4 -0
- package/dist/controllers/accessor/index.js +245 -0
- package/dist/controllers/accessor/reEmitEvent.d.ts +10 -0
- package/dist/controllers/accessor/store.d.ts +17 -0
- package/dist/controllers/accessor/useAccessor.d.ts +76 -0
- package/dist/controllers/functional.d.ts +19 -0
- package/dist/controllers/index.d.ts +24 -0
- package/dist/controllers/index.js +270 -0
- package/dist/controllers/load.d.ts +6 -0
- package/dist/controllers/proxyExports.d.ts +27 -0
- package/dist/controllers/tests/autoDestroyMock.d.ts +5 -0
- package/dist/controllers/tests/utils.d.ts +1 -0
- package/dist/controllers/toFunction.d.ts +8 -0
- package/dist/controllers/trackKey.d.ts +8 -0
- package/dist/controllers/trackPropKey.d.ts +21 -0
- package/dist/controllers/trackPropertyKey.d.ts +29 -0
- package/dist/controllers/types.d.ts +187 -0
- package/dist/controllers/useDirection.d.ts +11 -0
- package/dist/controllers/useMedia.d.ts +8 -0
- package/dist/controllers/usePropertyChange.d.ts +14 -0
- package/dist/controllers/useT9n.d.ts +48 -0
- package/dist/controllers/useWatchAttributes.d.ts +7 -0
- package/dist/controllers/utils.d.ts +12 -0
- package/dist/createEvent.d.ts +8 -3
- package/dist/decorators.d.ts +2 -2
- package/dist/devOnlyDetectIncorrectLazyUsages.d.ts +1 -1
- package/dist/hmrSupport.d.ts +1 -1
- package/dist/hmrSupport.js +22 -28
- package/dist/index.d.ts +17 -16
- package/dist/index.js +423 -194
- package/dist/jsx/baseTypes.d.ts +13 -9
- package/dist/jsx/directives.d.ts +25 -7
- package/dist/jsx/generatedTypes.d.ts +420 -90
- package/dist/jsx/types.d.ts +5 -32
- package/dist/lazyLoad-DUvrNd2L.js +406 -0
- package/dist/lazyLoad.d.ts +27 -72
- package/dist/lifecycleSupport.d.ts +2 -2
- package/dist/makeRuntime.d.ts +148 -0
- package/dist/proxyExports-Cdzj7WL_.js +60 -0
- package/dist/render.d.ts +5 -0
- package/dist/runtime.d.ts +4 -107
- package/dist/stencilSsrCompatibility/index.d.ts +2 -6
- package/dist/stencilSsrCompatibility/index.js +2 -3
- package/dist/typings/importMeta.d.ts +2 -2
- package/dist/utils.d.ts +8 -0
- package/dist/wrappersUtils.d.ts +13 -1
- package/package.json +7 -6
- package/dist/chunk-NO7HOBNA.js +0 -421
- package/dist/chunk-PGHUBTOM.js +0 -21
- package/dist/wrappersUtils.test.d.ts +0 -1
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import type { StyleMapDirective } from "lit/directives/style-map.js";
|
|
8
|
-
import type { ChangeEventHandlerUnion, CustomAttributes, EventHandlerUnion, FocusEventHandlerUnion, InputEventHandlerUnion } from "./baseTypes";
|
|
9
|
-
import type { JsxNode } from "./types";
|
|
10
|
-
import type { Properties as CssProperties } from "csstype";
|
|
1
|
+
import { DirectiveResult } from 'lit/directive.js';
|
|
2
|
+
import { ClassInfo, ClassMapDirective } from 'lit/directives/class-map.js';
|
|
3
|
+
import { StyleMapDirective } from 'lit/directives/style-map.js';
|
|
4
|
+
import { ChangeEventHandlerUnion, CustomAttributes, EventHandlerUnion, FocusEventHandlerUnion, InputEventHandlerUnion } from './baseTypes';
|
|
5
|
+
import { JsxNode } from './types';
|
|
6
|
+
import { Properties as CssProperties } from 'csstype';
|
|
11
7
|
/**
|
|
12
8
|
* Some attributes accepts numbers as a number or as a string, while also
|
|
13
9
|
* accepting "inherit". Define the type as `number | string | "inherit"` rather
|
|
@@ -66,7 +62,7 @@ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
|
|
|
66
62
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
67
63
|
*/
|
|
68
64
|
onBlur?: FocusEventHandlerUnion<T, FocusEvent>;
|
|
69
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
65
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */
|
|
70
66
|
onCancel?: EventHandlerUnion<T, Event>;
|
|
71
67
|
/**
|
|
72
68
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -99,7 +95,7 @@ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
|
|
|
99
95
|
onCompositionStart?: EventHandlerUnion<T, CompositionEvent>;
|
|
100
96
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/compositionupdate_event) */
|
|
101
97
|
onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent>;
|
|
102
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/
|
|
98
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
103
99
|
onContextLost?: EventHandlerUnion<T, Event>;
|
|
104
100
|
/**
|
|
105
101
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
@@ -424,7 +420,7 @@ export interface GlobalEventHandlersCamelCase<T = HTMLElement> {
|
|
|
424
420
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
|
|
425
421
|
*/
|
|
426
422
|
onTimeUpdate?: EventHandlerUnion<T, Event>;
|
|
427
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
423
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */
|
|
428
424
|
onToggle?: EventHandlerUnion<T, Event>;
|
|
429
425
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
|
|
430
426
|
onTouchCancel?: EventHandlerUnion<T, TouchEvent>;
|
|
@@ -574,10 +570,7 @@ export interface AriaAttributes {
|
|
|
574
570
|
ariaPressed?: boolean | "false" | "mixed" | "true";
|
|
575
571
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) */
|
|
576
572
|
ariaReadOnly?: boolean | "false" | "true";
|
|
577
|
-
/**
|
|
578
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
579
|
-
* @see ariaAtomic
|
|
580
|
-
*/
|
|
573
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant) */
|
|
581
574
|
ariaRelevant?: "additions removals" | "additions text" | "additions" | "all" | "removals additions" | "removals text" | "removals" | "text additions" | "text removals" | "text";
|
|
582
575
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) */
|
|
583
576
|
ariaRequired?: boolean | "false" | "true";
|
|
@@ -613,6 +606,10 @@ export interface AriaAttributes {
|
|
|
613
606
|
export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttributes<T> {
|
|
614
607
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) */
|
|
615
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;
|
|
616
613
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) */
|
|
617
614
|
autocapitalize?: HtmlAutocapitalize;
|
|
618
615
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
|
|
@@ -647,6 +644,7 @@ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttr
|
|
|
647
644
|
lang?: string;
|
|
648
645
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce) */
|
|
649
646
|
nonce?: string;
|
|
647
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part) */
|
|
650
648
|
part?: string;
|
|
651
649
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) */
|
|
652
650
|
popover?: boolean | "auto" | "manual";
|
|
@@ -658,6 +656,7 @@ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttr
|
|
|
658
656
|
slot?: string;
|
|
659
657
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) */
|
|
660
658
|
spellcheck?: boolean;
|
|
659
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
|
|
661
660
|
style?: CssProperties | DirectiveResult<typeof StyleMapDirective> | string;
|
|
662
661
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex) */
|
|
663
662
|
tabIndex?: number | string;
|
|
@@ -665,6 +664,8 @@ export interface HTMLAttributes<T = HTMLElement> extends AriaAttributes, DOMAttr
|
|
|
665
664
|
title?: string;
|
|
666
665
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
|
|
667
666
|
translate?: boolean;
|
|
667
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/writingSuggestions) */
|
|
668
|
+
writingSuggestions?: string;
|
|
668
669
|
}
|
|
669
670
|
interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
|
|
670
671
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */
|
|
@@ -693,6 +694,8 @@ interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
|
|
|
693
694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rel)
|
|
694
695
|
*/
|
|
695
696
|
rel?: string;
|
|
697
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList) */
|
|
698
|
+
relList?: string;
|
|
696
699
|
/**
|
|
697
700
|
* Sets or retrieves the window or frame at which to target content.
|
|
698
701
|
*
|
|
@@ -705,15 +708,19 @@ interface HtmlAnchorAttributes<T> extends HTMLAttributes<T> {
|
|
|
705
708
|
interface HtmlAudioAttributes<T> extends HtmlMediaAttributes<T> {
|
|
706
709
|
}
|
|
707
710
|
interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
|
|
708
|
-
/**
|
|
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
|
+
*/
|
|
709
716
|
alt?: string;
|
|
710
|
-
/** Sets or retrieves the coordinates of the object. */
|
|
711
|
-
coords?: string;
|
|
712
717
|
/**
|
|
713
|
-
*
|
|
718
|
+
* Sets or retrieves the coordinates of the object.
|
|
714
719
|
*
|
|
715
|
-
*
|
|
720
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)
|
|
716
721
|
*/
|
|
722
|
+
coords?: string;
|
|
723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */
|
|
717
724
|
download?: string;
|
|
718
725
|
/**
|
|
719
726
|
* Returns the hyperlink's URL.
|
|
@@ -729,7 +736,13 @@ interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
|
|
|
729
736
|
referrerPolicy?: ReferrerPolicy;
|
|
730
737
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel) */
|
|
731
738
|
rel?: string;
|
|
732
|
-
/**
|
|
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
|
+
*/
|
|
733
746
|
shape?: "circle" | "default" | "poly" | "rect";
|
|
734
747
|
/**
|
|
735
748
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -739,7 +752,11 @@ interface HtmlAreaAttributes<T> extends HTMLAttributes<T> {
|
|
|
739
752
|
target?: string;
|
|
740
753
|
}
|
|
741
754
|
interface HtmlBaseAttributes<T> extends HTMLAttributes<T> {
|
|
742
|
-
/**
|
|
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
|
+
*/
|
|
743
760
|
href?: string;
|
|
744
761
|
/**
|
|
745
762
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -749,24 +766,52 @@ interface HtmlBaseAttributes<T> extends HTMLAttributes<T> {
|
|
|
749
766
|
target?: string;
|
|
750
767
|
}
|
|
751
768
|
interface HtmlBlockquoteAttributes<T> extends HTMLAttributes<T> {
|
|
752
|
-
/**
|
|
769
|
+
/**
|
|
770
|
+
* Sets or retrieves reference information about the object.
|
|
771
|
+
*
|
|
772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
|
|
773
|
+
*/
|
|
753
774
|
cite?: string;
|
|
754
775
|
}
|
|
755
776
|
interface HtmlButtonAttributes<T> extends HTMLAttributes<T> {
|
|
756
777
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
|
|
757
778
|
disabled?: boolean;
|
|
758
779
|
form?: string;
|
|
759
|
-
/**
|
|
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
|
+
*/
|
|
760
785
|
formAction?: string;
|
|
761
|
-
/**
|
|
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
|
+
*/
|
|
762
791
|
formEnctype?: HtmlFormEncType;
|
|
763
|
-
/**
|
|
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
|
+
*/
|
|
764
797
|
formMethod?: HtmlFormMethod;
|
|
765
|
-
/**
|
|
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
|
+
*/
|
|
766
803
|
formNoValidate?: boolean;
|
|
767
|
-
/**
|
|
804
|
+
/**
|
|
805
|
+
* Overrides the target attribute on a form element.
|
|
806
|
+
*
|
|
807
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)
|
|
808
|
+
*/
|
|
768
809
|
formTarget?: string;
|
|
769
|
-
/**
|
|
810
|
+
/**
|
|
811
|
+
* Sets or retrieves the name of the object.
|
|
812
|
+
*
|
|
813
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
|
|
814
|
+
*/
|
|
770
815
|
name?: string;
|
|
771
816
|
popoverTarget?: string;
|
|
772
817
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
|
|
@@ -779,7 +824,11 @@ interface HtmlButtonAttributes<T> extends HTMLAttributes<T> {
|
|
|
779
824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
|
|
780
825
|
*/
|
|
781
826
|
type?: "button" | "reset" | "submit";
|
|
782
|
-
/**
|
|
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
|
+
*/
|
|
783
832
|
value?: number | string;
|
|
784
833
|
}
|
|
785
834
|
interface HtmlCanvasAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -817,12 +866,21 @@ interface HtmlDataAttributes<T> extends HTMLAttributes<T> {
|
|
|
817
866
|
value?: number | string;
|
|
818
867
|
}
|
|
819
868
|
interface HtmlModAttributes<T> extends HTMLAttributes<T> {
|
|
820
|
-
/**
|
|
869
|
+
/**
|
|
870
|
+
* Sets or retrieves reference information about the object.
|
|
871
|
+
*
|
|
872
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
|
|
873
|
+
*/
|
|
821
874
|
cite?: string;
|
|
822
|
-
/**
|
|
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
|
+
*/
|
|
823
880
|
dateTime?: string;
|
|
824
881
|
}
|
|
825
882
|
interface HtmlDetailsAttributes<T> extends HTMLAttributes<T> {
|
|
883
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name) */
|
|
826
884
|
name?: string;
|
|
827
885
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
828
886
|
open?: boolean;
|
|
@@ -846,6 +904,7 @@ interface HtmlEmbedAttributes<T> extends HTMLAttributes<T> {
|
|
|
846
904
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src)
|
|
847
905
|
*/
|
|
848
906
|
src?: string;
|
|
907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/type) */
|
|
849
908
|
type?: string;
|
|
850
909
|
/**
|
|
851
910
|
* Sets or retrieves the width of the object.
|
|
@@ -855,8 +914,10 @@ interface HtmlEmbedAttributes<T> extends HTMLAttributes<T> {
|
|
|
855
914
|
width?: number | string;
|
|
856
915
|
}
|
|
857
916
|
interface HtmlFieldsetAttributes<T> extends HTMLAttributes<T> {
|
|
917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
|
|
858
918
|
disabled?: boolean;
|
|
859
919
|
form?: string;
|
|
920
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
|
|
860
921
|
name?: string;
|
|
861
922
|
}
|
|
862
923
|
interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -872,7 +933,11 @@ interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
|
|
|
872
933
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
|
|
873
934
|
*/
|
|
874
935
|
action?: string;
|
|
875
|
-
/**
|
|
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
|
+
*/
|
|
876
941
|
autocomplete?: "off" | "on";
|
|
877
942
|
/**
|
|
878
943
|
* Sets or retrieves the MIME encoding for the form.
|
|
@@ -898,9 +963,14 @@ interface HtmlFormAttributes<T> extends HTMLAttributes<T> {
|
|
|
898
963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
|
|
899
964
|
*/
|
|
900
965
|
name?: string;
|
|
901
|
-
/**
|
|
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
|
+
*/
|
|
902
971
|
noValidate?: boolean;
|
|
903
972
|
rel?: string;
|
|
973
|
+
relList?: string;
|
|
904
974
|
/**
|
|
905
975
|
* Sets or retrieves the window or frame at which to target content.
|
|
906
976
|
*
|
|
@@ -929,6 +999,7 @@ interface HtmlIframeAttributes<T> extends HTMLAttributes<T> {
|
|
|
929
999
|
name?: string;
|
|
930
1000
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
|
|
931
1001
|
referrerPolicy?: ReferrerPolicy;
|
|
1002
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
|
|
932
1003
|
sandbox?: HtmlIframeSandbox | string;
|
|
933
1004
|
/**
|
|
934
1005
|
* Sets or retrieves a URL to be loaded by the object.
|
|
@@ -1007,18 +1078,43 @@ interface HtmlImgAttributes<T> extends HTMLAttributes<T> {
|
|
|
1007
1078
|
width?: number | string;
|
|
1008
1079
|
}
|
|
1009
1080
|
interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
1010
|
-
/**
|
|
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
|
+
*/
|
|
1011
1086
|
accept?: string;
|
|
1012
|
-
/**
|
|
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
|
+
*/
|
|
1013
1092
|
alt?: string;
|
|
1014
|
-
/**
|
|
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
|
+
*/
|
|
1015
1098
|
autocomplete?: AutoFill;
|
|
1099
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
|
|
1016
1100
|
capture?: boolean | string;
|
|
1017
|
-
/**
|
|
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
|
+
*/
|
|
1018
1106
|
checked?: boolean;
|
|
1019
|
-
/**
|
|
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
|
+
*/
|
|
1020
1112
|
defaultChecked?: boolean;
|
|
1021
|
-
/**
|
|
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
|
+
*/
|
|
1022
1118
|
defaultValue?: number | string;
|
|
1023
1119
|
dirName?: string;
|
|
1024
1120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -1030,27 +1126,68 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1030
1126
|
*/
|
|
1031
1127
|
files?: FileList;
|
|
1032
1128
|
form?: string;
|
|
1033
|
-
/**
|
|
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
|
+
*/
|
|
1034
1134
|
formAction?: string;
|
|
1035
|
-
/**
|
|
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
|
+
*/
|
|
1036
1140
|
formEnctype?: HtmlFormEncType;
|
|
1037
|
-
/**
|
|
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
|
+
*/
|
|
1038
1146
|
formMethod?: HtmlFormMethod;
|
|
1039
|
-
/**
|
|
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
|
+
*/
|
|
1040
1152
|
formNoValidate?: boolean;
|
|
1041
|
-
/**
|
|
1153
|
+
/**
|
|
1154
|
+
* Overrides the target attribute on a form element.
|
|
1155
|
+
*
|
|
1156
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)
|
|
1157
|
+
*/
|
|
1042
1158
|
formTarget?: string;
|
|
1043
|
-
/**
|
|
1159
|
+
/**
|
|
1160
|
+
* Sets or retrieves the height of the object.
|
|
1161
|
+
*
|
|
1162
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
|
|
1163
|
+
*/
|
|
1044
1164
|
height?: number | string;
|
|
1045
|
-
/**
|
|
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
|
+
*/
|
|
1046
1170
|
indeterminate?: boolean;
|
|
1047
1171
|
list?: string;
|
|
1048
|
-
/**
|
|
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
|
+
*/
|
|
1049
1177
|
max?: number | string;
|
|
1050
|
-
/**
|
|
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
|
+
*/
|
|
1051
1183
|
maxLength?: number | string;
|
|
1052
|
-
/**
|
|
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
|
+
*/
|
|
1053
1189
|
min?: number | string;
|
|
1190
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
1054
1191
|
minLength?: number | string;
|
|
1055
1192
|
/**
|
|
1056
1193
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -1058,18 +1195,35 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1058
1195
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
|
|
1059
1196
|
*/
|
|
1060
1197
|
multiple?: boolean;
|
|
1061
|
-
/**
|
|
1198
|
+
/**
|
|
1199
|
+
* Sets or retrieves the name of the object.
|
|
1200
|
+
*
|
|
1201
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
|
|
1202
|
+
*/
|
|
1062
1203
|
name?: string;
|
|
1063
|
-
/**
|
|
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
|
+
*/
|
|
1064
1209
|
pattern?: string;
|
|
1065
|
-
/**
|
|
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
|
+
*/
|
|
1066
1215
|
placeholder?: string;
|
|
1067
1216
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
|
|
1068
1217
|
popoverTargetAction?: string;
|
|
1069
1218
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
|
|
1070
1219
|
popoverTargetElement?: Element;
|
|
1220
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly) */
|
|
1071
1221
|
readOnly?: boolean;
|
|
1072
|
-
/**
|
|
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
|
+
*/
|
|
1073
1227
|
required?: boolean;
|
|
1074
1228
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
|
|
1075
1229
|
selectionDirection?: "backward" | "forward" | "none";
|
|
@@ -1085,10 +1239,19 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1085
1239
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
|
|
1086
1240
|
*/
|
|
1087
1241
|
selectionStart?: number;
|
|
1242
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size) */
|
|
1088
1243
|
size?: number | string;
|
|
1089
|
-
/**
|
|
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
|
+
*/
|
|
1090
1249
|
src?: string;
|
|
1091
|
-
/**
|
|
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
|
+
*/
|
|
1092
1255
|
step?: number | string;
|
|
1093
1256
|
/**
|
|
1094
1257
|
* Returns the content type of the object.
|
|
@@ -1096,15 +1259,31 @@ interface HtmlInputAttributes<T> extends HTMLAttributes<T> {
|
|
|
1096
1259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type)
|
|
1097
1260
|
*/
|
|
1098
1261
|
type?: string;
|
|
1099
|
-
/**
|
|
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
|
+
*/
|
|
1100
1267
|
value?: number | string;
|
|
1101
|
-
/**
|
|
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
|
+
*/
|
|
1102
1273
|
valueAsDate?: Date;
|
|
1103
|
-
/**
|
|
1274
|
+
/**
|
|
1275
|
+
* Returns the input field value as a number.
|
|
1276
|
+
*
|
|
1277
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
|
|
1278
|
+
*/
|
|
1104
1279
|
valueAsNumber?: number;
|
|
1105
1280
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
|
|
1106
1281
|
webkitdirectory?: boolean;
|
|
1107
|
-
/**
|
|
1282
|
+
/**
|
|
1283
|
+
* Sets or retrieves the width of the object.
|
|
1284
|
+
*
|
|
1285
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
|
|
1286
|
+
*/
|
|
1108
1287
|
width?: number | string;
|
|
1109
1288
|
}
|
|
1110
1289
|
interface HtmlLabelAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1117,19 +1296,29 @@ interface HtmlLabelAttributes<T> extends HTMLAttributes<T> {
|
|
|
1117
1296
|
htmlFor?: string;
|
|
1118
1297
|
}
|
|
1119
1298
|
interface HtmlLiAttributes<T> extends HTMLAttributes<T> {
|
|
1120
|
-
/**
|
|
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
|
+
*/
|
|
1121
1304
|
value?: number | string;
|
|
1122
1305
|
}
|
|
1123
1306
|
interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
|
|
1124
1307
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/as) */
|
|
1125
1308
|
as?: HtmlLinkAs;
|
|
1309
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking) */
|
|
1310
|
+
blocking?: string;
|
|
1126
1311
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
|
|
1127
1312
|
crossOrigin?: HtmlCrossOrigin;
|
|
1128
1313
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */
|
|
1129
1314
|
disabled?: boolean;
|
|
1130
1315
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
|
|
1131
1316
|
fetchPriority?: "auto" | "high" | "low";
|
|
1132
|
-
/**
|
|
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
|
+
*/
|
|
1133
1322
|
href?: string;
|
|
1134
1323
|
/**
|
|
1135
1324
|
* Sets or retrieves the language code of the object.
|
|
@@ -1141,7 +1330,11 @@ interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
|
|
|
1141
1330
|
imageSrcset?: string;
|
|
1142
1331
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
1143
1332
|
integrity?: string;
|
|
1144
|
-
/**
|
|
1333
|
+
/**
|
|
1334
|
+
* Sets or retrieves the media type.
|
|
1335
|
+
*
|
|
1336
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
|
|
1337
|
+
*/
|
|
1145
1338
|
media?: string;
|
|
1146
1339
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
|
|
1147
1340
|
referrerPolicy?: ReferrerPolicy;
|
|
@@ -1151,6 +1344,9 @@ interface HtmlLinkAttributes<T> extends HTMLAttributes<T> {
|
|
|
1151
1344
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/rel)
|
|
1152
1345
|
*/
|
|
1153
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) */
|
|
1154
1350
|
sizes?: string;
|
|
1155
1351
|
/**
|
|
1156
1352
|
* Sets or retrieves the MIME type of the object.
|
|
@@ -1226,6 +1422,7 @@ interface HtmlMediaAttributes<T> extends HTMLAttributes<T> {
|
|
|
1226
1422
|
muted?: boolean;
|
|
1227
1423
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
|
|
1228
1424
|
onEncrypted?: EventHandlerUnion<T, Event>;
|
|
1425
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */
|
|
1229
1426
|
onWaitingForKey?: EventHandlerUnion<T, Event>;
|
|
1230
1427
|
/**
|
|
1231
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.
|
|
@@ -1285,15 +1482,25 @@ interface HtmlMetaAttributes<T> extends HTMLAttributes<T> {
|
|
|
1285
1482
|
}
|
|
1286
1483
|
interface HtmlMeterAttributes<T> extends HTMLAttributes<T> {
|
|
1287
1484
|
form?: string;
|
|
1485
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */
|
|
1288
1486
|
high?: number | string;
|
|
1487
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */
|
|
1289
1488
|
low?: number | string;
|
|
1489
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */
|
|
1290
1490
|
max?: number | string;
|
|
1491
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */
|
|
1291
1492
|
min?: number | string;
|
|
1493
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */
|
|
1292
1494
|
optimum?: number | string;
|
|
1495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */
|
|
1293
1496
|
value?: number | string;
|
|
1294
1497
|
}
|
|
1295
1498
|
interface HtmlQuoteAttributes<T> extends HTMLAttributes<T> {
|
|
1296
|
-
/**
|
|
1499
|
+
/**
|
|
1500
|
+
* Sets or retrieves reference information about the object.
|
|
1501
|
+
*
|
|
1502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
|
|
1503
|
+
*/
|
|
1297
1504
|
cite?: string;
|
|
1298
1505
|
}
|
|
1299
1506
|
interface HtmlObjectAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1342,30 +1549,58 @@ interface HtmlOlAttributes<T> extends HTMLAttributes<T> {
|
|
|
1342
1549
|
type?: "1" | "A" | "a" | "I" | "i";
|
|
1343
1550
|
}
|
|
1344
1551
|
interface HtmlOptgroupAttributes<T> extends HTMLAttributes<T> {
|
|
1552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
|
|
1345
1553
|
disabled?: boolean;
|
|
1346
|
-
/**
|
|
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
|
+
*/
|
|
1347
1559
|
label?: string;
|
|
1348
1560
|
}
|
|
1349
1561
|
interface HtmlOptionAttributes<T> extends HTMLAttributes<T> {
|
|
1350
|
-
/**
|
|
1562
|
+
/**
|
|
1563
|
+
* Sets or retrieves the status of an option.
|
|
1564
|
+
*
|
|
1565
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
|
|
1566
|
+
*/
|
|
1351
1567
|
defaultSelected?: boolean;
|
|
1568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
|
|
1352
1569
|
disabled?: boolean;
|
|
1353
|
-
/**
|
|
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
|
+
*/
|
|
1354
1575
|
label?: string;
|
|
1355
|
-
/**
|
|
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
|
+
*/
|
|
1356
1581
|
selected?: boolean;
|
|
1357
|
-
/**
|
|
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
|
+
*/
|
|
1358
1587
|
value?: number | string;
|
|
1359
1588
|
}
|
|
1360
1589
|
interface HtmlOutputAttributes<T> extends HTMLAttributes<T> {
|
|
1590
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
1361
1591
|
defaultValue?: number | string;
|
|
1362
1592
|
for?: string;
|
|
1363
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) */
|
|
1364
1597
|
name?: string;
|
|
1365
1598
|
/**
|
|
1366
1599
|
* Returns the element's current value.
|
|
1367
1600
|
*
|
|
1368
1601
|
* Can be set, to change the value.
|
|
1602
|
+
*
|
|
1603
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
|
|
1369
1604
|
*/
|
|
1370
1605
|
value?: number | string;
|
|
1371
1606
|
}
|
|
@@ -1386,6 +1621,8 @@ interface HtmlProgressAttributes<T> extends HTMLAttributes<T> {
|
|
|
1386
1621
|
interface HtmlScriptAttributes<T> extends HTMLAttributes<T> {
|
|
1387
1622
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
|
|
1388
1623
|
async?: boolean;
|
|
1624
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking) */
|
|
1625
|
+
blocking?: string;
|
|
1389
1626
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
|
|
1390
1627
|
crossOrigin?: HtmlCrossOrigin;
|
|
1391
1628
|
/**
|
|
@@ -1416,15 +1653,28 @@ interface HtmlScriptAttributes<T> extends HTMLAttributes<T> {
|
|
|
1416
1653
|
type?: string;
|
|
1417
1654
|
}
|
|
1418
1655
|
interface HtmlSelectAttributes<T> extends HTMLAttributes<T> {
|
|
1656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
|
|
1419
1657
|
autocomplete?: AutoFill;
|
|
1420
1658
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
|
|
1421
1659
|
disabled?: boolean;
|
|
1422
1660
|
form?: string;
|
|
1423
|
-
/**
|
|
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
|
+
*/
|
|
1424
1666
|
multiple?: boolean;
|
|
1425
|
-
/**
|
|
1667
|
+
/**
|
|
1668
|
+
* Sets or retrieves the name of the object.
|
|
1669
|
+
*
|
|
1670
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
|
|
1671
|
+
*/
|
|
1426
1672
|
name?: string;
|
|
1427
|
-
/**
|
|
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
|
+
*/
|
|
1428
1678
|
required?: boolean;
|
|
1429
1679
|
/**
|
|
1430
1680
|
* Sets or retrieves the index of the selected option in a select object.
|
|
@@ -1432,7 +1682,11 @@ interface HtmlSelectAttributes<T> extends HTMLAttributes<T> {
|
|
|
1432
1682
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedIndex)
|
|
1433
1683
|
*/
|
|
1434
1684
|
selectedIndex?: number;
|
|
1435
|
-
/**
|
|
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
|
+
*/
|
|
1436
1690
|
size?: number | string;
|
|
1437
1691
|
/**
|
|
1438
1692
|
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
@@ -1448,18 +1702,34 @@ interface HtmlSlotAttributes<T> extends HTMLAttributes<T> {
|
|
|
1448
1702
|
interface HtmlSourceAttributes<T> extends HTMLAttributes<T> {
|
|
1449
1703
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */
|
|
1450
1704
|
height?: number;
|
|
1451
|
-
/**
|
|
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
|
+
*/
|
|
1452
1710
|
media?: string;
|
|
1711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) */
|
|
1453
1712
|
sizes?: string;
|
|
1454
|
-
/**
|
|
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
|
+
*/
|
|
1455
1718
|
src?: string;
|
|
1719
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) */
|
|
1456
1720
|
srcset?: string;
|
|
1457
|
-
/**
|
|
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
|
+
*/
|
|
1458
1726
|
type?: string;
|
|
1459
1727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */
|
|
1460
1728
|
width?: number;
|
|
1461
1729
|
}
|
|
1462
1730
|
interface HtmlStyleAttributes<T> extends HTMLAttributes<T> {
|
|
1731
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking) */
|
|
1732
|
+
blocking?: string;
|
|
1463
1733
|
/**
|
|
1464
1734
|
* Enables or disables the style sheet.
|
|
1465
1735
|
*
|
|
@@ -1516,36 +1786,88 @@ interface HtmlTemplateAttributes<T extends HTMLTemplateElement> extends HTMLAttr
|
|
|
1516
1786
|
shadowRootSerializable?: boolean;
|
|
1517
1787
|
}
|
|
1518
1788
|
interface HtmlTextareaAttributes<T> extends HTMLAttributes<T> {
|
|
1789
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
|
|
1519
1790
|
autocomplete?: AutoFill;
|
|
1520
1791
|
children?: "Error: Use value property instead. See https://lit.dev/docs/templates/expressions/#invalid-locations";
|
|
1521
|
-
/**
|
|
1792
|
+
/**
|
|
1793
|
+
* Sets or retrieves the width of the object.
|
|
1794
|
+
*
|
|
1795
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/cols)
|
|
1796
|
+
*/
|
|
1522
1797
|
cols?: number | string;
|
|
1523
|
-
/**
|
|
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
|
+
*/
|
|
1524
1803
|
defaultValue?: number | string;
|
|
1525
1804
|
dirName?: string;
|
|
1805
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
1526
1806
|
disabled?: boolean;
|
|
1527
1807
|
form?: string;
|
|
1528
|
-
/**
|
|
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
|
+
*/
|
|
1529
1813
|
maxLength?: number | string;
|
|
1814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength) */
|
|
1530
1815
|
minLength?: number | string;
|
|
1531
|
-
/**
|
|
1816
|
+
/**
|
|
1817
|
+
* Sets or retrieves the name of the object.
|
|
1818
|
+
*
|
|
1819
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
|
|
1820
|
+
*/
|
|
1532
1821
|
name?: string;
|
|
1533
|
-
/**
|
|
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
|
+
*/
|
|
1534
1827
|
placeholder?: string;
|
|
1535
|
-
/**
|
|
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
|
+
*/
|
|
1536
1833
|
readOnly?: boolean;
|
|
1537
|
-
/**
|
|
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
|
+
*/
|
|
1538
1839
|
required?: boolean;
|
|
1539
|
-
/**
|
|
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
|
+
*/
|
|
1540
1845
|
rows?: number | string;
|
|
1846
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
|
|
1541
1847
|
selectionDirection?: "backward" | "forward" | "none";
|
|
1542
|
-
/**
|
|
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
|
+
*/
|
|
1543
1853
|
selectionEnd?: number;
|
|
1544
|
-
/**
|
|
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
|
+
*/
|
|
1545
1859
|
selectionStart?: number;
|
|
1546
|
-
/**
|
|
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
|
+
*/
|
|
1547
1865
|
value?: number | string;
|
|
1548
|
-
/**
|
|
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
|
+
*/
|
|
1549
1871
|
wrap?: "hard" | "off" | "soft";
|
|
1550
1872
|
}
|
|
1551
1873
|
interface HtmlThAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1585,11 +1907,15 @@ interface HtmlTimeAttributes<T> extends HTMLAttributes<T> {
|
|
|
1585
1907
|
dateTime?: string;
|
|
1586
1908
|
}
|
|
1587
1909
|
interface HtmlTrackAttributes<T> extends HTMLAttributes<T> {
|
|
1910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) */
|
|
1588
1911
|
default?: boolean;
|
|
1912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) */
|
|
1589
1913
|
kind?: "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
|
|
1914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) */
|
|
1590
1915
|
label?: string;
|
|
1591
1916
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */
|
|
1592
1917
|
src?: string;
|
|
1918
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) */
|
|
1593
1919
|
srclang?: string;
|
|
1594
1920
|
}
|
|
1595
1921
|
interface HtmlVideoAttributes<T> extends HtmlMediaAttributes<T> {
|
|
@@ -2041,8 +2367,12 @@ interface SvgSvgAttributes<T> extends SvgContainerElementAttributes<T>, SvgNewVi
|
|
|
2041
2367
|
onOnline?: EventHandlerUnion<T, Event>;
|
|
2042
2368
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
|
|
2043
2369
|
onPageHide?: EventHandlerUnion<T, PageTransitionEvent>;
|
|
2370
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */
|
|
2371
|
+
onPageReveal?: EventHandlerUnion<T, Event>;
|
|
2044
2372
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
|
|
2045
2373
|
onPageShow?: EventHandlerUnion<T, PageTransitionEvent>;
|
|
2374
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */
|
|
2375
|
+
onPageSwap?: EventHandlerUnion<T, Event>;
|
|
2046
2376
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
|
|
2047
2377
|
onPopState?: EventHandlerUnion<T, PopStateEvent>;
|
|
2048
2378
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
|