@types/web 0.0.246 → 0.0.247
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/README.md +1 -1
- package/index.d.ts +231 -175
- package/package.json +1 -1
- package/ts5.5/index.d.ts +231 -175
- package/ts5.6/index.d.ts +231 -175
package/ts5.5/index.d.ts
CHANGED
|
@@ -379,6 +379,11 @@ interface ConstantSourceOptions {
|
|
|
379
379
|
offset?: number;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
interface ConstrainBooleanOrDOMStringParameters {
|
|
383
|
+
exact?: boolean | string;
|
|
384
|
+
ideal?: boolean | string;
|
|
385
|
+
}
|
|
386
|
+
|
|
382
387
|
interface ConstrainBooleanParameters {
|
|
383
388
|
exact?: boolean;
|
|
384
389
|
ideal?: boolean;
|
|
@@ -1116,7 +1121,7 @@ interface MediaTrackCapabilities {
|
|
|
1116
1121
|
channelCount?: ULongRange;
|
|
1117
1122
|
deviceId?: string;
|
|
1118
1123
|
displaySurface?: string;
|
|
1119
|
-
echoCancellation?: boolean[];
|
|
1124
|
+
echoCancellation?: (boolean | string)[];
|
|
1120
1125
|
facingMode?: string[];
|
|
1121
1126
|
frameRate?: DoubleRange;
|
|
1122
1127
|
groupId?: string;
|
|
@@ -1134,7 +1139,7 @@ interface MediaTrackConstraintSet {
|
|
|
1134
1139
|
channelCount?: ConstrainULong;
|
|
1135
1140
|
deviceId?: ConstrainDOMString;
|
|
1136
1141
|
displaySurface?: ConstrainDOMString;
|
|
1137
|
-
echoCancellation?:
|
|
1142
|
+
echoCancellation?: ConstrainBooleanOrDOMString;
|
|
1138
1143
|
facingMode?: ConstrainDOMString;
|
|
1139
1144
|
frameRate?: ConstrainDouble;
|
|
1140
1145
|
groupId?: ConstrainDOMString;
|
|
@@ -1156,7 +1161,7 @@ interface MediaTrackSettings {
|
|
|
1156
1161
|
channelCount?: number;
|
|
1157
1162
|
deviceId?: string;
|
|
1158
1163
|
displaySurface?: string;
|
|
1159
|
-
echoCancellation?: boolean;
|
|
1164
|
+
echoCancellation?: boolean | string;
|
|
1160
1165
|
facingMode?: string;
|
|
1161
1166
|
frameRate?: number;
|
|
1162
1167
|
groupId?: string;
|
|
@@ -2016,6 +2021,15 @@ interface RegistrationOptions {
|
|
|
2016
2021
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2017
2022
|
}
|
|
2018
2023
|
|
|
2024
|
+
interface Report {
|
|
2025
|
+
body?: ReportBody | null;
|
|
2026
|
+
type?: string;
|
|
2027
|
+
url?: string;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
interface ReportBody {
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2019
2033
|
interface ReportingObserverOptions {
|
|
2020
2034
|
buffered?: boolean;
|
|
2021
2035
|
types?: string[];
|
|
@@ -2113,6 +2127,11 @@ interface ScrollOptions {
|
|
|
2113
2127
|
behavior?: ScrollBehavior;
|
|
2114
2128
|
}
|
|
2115
2129
|
|
|
2130
|
+
interface ScrollTimelineOptions {
|
|
2131
|
+
axis?: ScrollAxis;
|
|
2132
|
+
source?: Element | null;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2116
2135
|
interface ScrollToOptions extends ScrollOptions {
|
|
2117
2136
|
left?: number;
|
|
2118
2137
|
top?: number;
|
|
@@ -2135,7 +2154,7 @@ interface SecurityPolicyViolationEventInit extends EventInit {
|
|
|
2135
2154
|
|
|
2136
2155
|
interface ShadowRootInit {
|
|
2137
2156
|
clonable?: boolean;
|
|
2138
|
-
customElementRegistry?: CustomElementRegistry;
|
|
2157
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
2139
2158
|
delegatesFocus?: boolean;
|
|
2140
2159
|
mode: ShadowRootMode;
|
|
2141
2160
|
serializable?: boolean;
|
|
@@ -2149,6 +2168,16 @@ interface ShareData {
|
|
|
2149
2168
|
url?: string;
|
|
2150
2169
|
}
|
|
2151
2170
|
|
|
2171
|
+
interface SpeechRecognitionErrorEventInit extends EventInit {
|
|
2172
|
+
error: SpeechRecognitionErrorCode;
|
|
2173
|
+
message?: string;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
interface SpeechRecognitionEventInit extends EventInit {
|
|
2177
|
+
resultIndex?: number;
|
|
2178
|
+
results: SpeechRecognitionResultList;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2152
2181
|
interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {
|
|
2153
2182
|
error: SpeechSynthesisErrorCode;
|
|
2154
2183
|
}
|
|
@@ -2492,6 +2521,12 @@ interface VideoFrameInit {
|
|
|
2492
2521
|
visibleRect?: DOMRectInit;
|
|
2493
2522
|
}
|
|
2494
2523
|
|
|
2524
|
+
interface ViewTimelineOptions {
|
|
2525
|
+
axis?: ScrollAxis;
|
|
2526
|
+
inset?: string | (CSSNumericValue | CSSKeywordValue)[];
|
|
2527
|
+
subject?: Element;
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2495
2530
|
interface WaveShaperOptions extends AudioNodeOptions {
|
|
2496
2531
|
curve?: number[] | Float32Array;
|
|
2497
2532
|
oversample?: OverSampleType;
|
|
@@ -4579,91 +4614,6 @@ declare var CDATASection: {
|
|
|
4579
4614
|
new(): CDATASection;
|
|
4580
4615
|
};
|
|
4581
4616
|
|
|
4582
|
-
/**
|
|
4583
|
-
* The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report.
|
|
4584
|
-
*
|
|
4585
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody)
|
|
4586
|
-
*/
|
|
4587
|
-
interface CSPViolationReportBody extends ReportBody {
|
|
4588
|
-
/**
|
|
4589
|
-
* The **`blockedURL`** read-only property of the CSPViolationReportBody interface is a string value that represents the resource that was blocked because it violates a Content Security Policy (CSP).
|
|
4590
|
-
*
|
|
4591
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL)
|
|
4592
|
-
*/
|
|
4593
|
-
readonly blockedURL: string | null;
|
|
4594
|
-
/**
|
|
4595
|
-
* The **`columnNumber`** read-only property of the CSPViolationReportBody interface indicates the column number in the source file that triggered the Content Security Policy (CSP) violation.
|
|
4596
|
-
*
|
|
4597
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber)
|
|
4598
|
-
*/
|
|
4599
|
-
readonly columnNumber: number | null;
|
|
4600
|
-
/**
|
|
4601
|
-
* The **`disposition`** read-only property of the CSPViolationReportBody interface indicates whether the user agent is configured to enforce Content Security Policy (CSP) violations or only report them.
|
|
4602
|
-
*
|
|
4603
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition)
|
|
4604
|
-
*/
|
|
4605
|
-
readonly disposition: SecurityPolicyViolationEventDisposition;
|
|
4606
|
-
/**
|
|
4607
|
-
* The **`documentURL`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the document or worker that violated the Content Security Policy (CSP).
|
|
4608
|
-
*
|
|
4609
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL)
|
|
4610
|
-
*/
|
|
4611
|
-
readonly documentURL: string;
|
|
4612
|
-
/**
|
|
4613
|
-
* The **`effectiveDirective`** read-only property of the CSPViolationReportBody interface is a string that represents the effective Content Security Policy (CSP) directive that was violated.
|
|
4614
|
-
*
|
|
4615
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective)
|
|
4616
|
-
*/
|
|
4617
|
-
readonly effectiveDirective: string;
|
|
4618
|
-
/**
|
|
4619
|
-
* The **`lineNumber`** read-only property of the CSPViolationReportBody interface indicates the line number in the source file that triggered the Content Security Policy (CSP) violation.
|
|
4620
|
-
*
|
|
4621
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber)
|
|
4622
|
-
*/
|
|
4623
|
-
readonly lineNumber: number | null;
|
|
4624
|
-
/**
|
|
4625
|
-
* The **`originalPolicy`** read-only property of the CSPViolationReportBody interface is a string that represents the Content Security Policy (CSP) whose enforcement uncovered the violation.
|
|
4626
|
-
*
|
|
4627
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy)
|
|
4628
|
-
*/
|
|
4629
|
-
readonly originalPolicy: string;
|
|
4630
|
-
/**
|
|
4631
|
-
* The **`referrer`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the referring page of the resource who's Content Security Policy (CSP) was violated.
|
|
4632
|
-
*
|
|
4633
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer)
|
|
4634
|
-
*/
|
|
4635
|
-
readonly referrer: string | null;
|
|
4636
|
-
/**
|
|
4637
|
-
* The **`sample`** read-only property of the CSPViolationReportBody interface is a string that contains a part of the resource that violated the Content Security Policy (CSP).
|
|
4638
|
-
*
|
|
4639
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample)
|
|
4640
|
-
*/
|
|
4641
|
-
readonly sample: string | null;
|
|
4642
|
-
/**
|
|
4643
|
-
* The **`sourceFile`** read-only property of the CSPViolationReportBody interface indicates the URL of the source file that violated the Content Security Policy (CSP).
|
|
4644
|
-
*
|
|
4645
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile)
|
|
4646
|
-
*/
|
|
4647
|
-
readonly sourceFile: string | null;
|
|
4648
|
-
/**
|
|
4649
|
-
* The **`statusCode`** read-only property of the CSPViolationReportBody interface is a number representing the HTTP status code of the response to the request that triggered a Content Security Policy (CSP) violation (when loading a window or worker).
|
|
4650
|
-
*
|
|
4651
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode)
|
|
4652
|
-
*/
|
|
4653
|
-
readonly statusCode: number;
|
|
4654
|
-
/**
|
|
4655
|
-
* The **`toJSON()`** method of the CSPViolationReportBody interface is a _serializer_, which returns a JSON representation of the `CSPViolationReportBody` object.
|
|
4656
|
-
*
|
|
4657
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON)
|
|
4658
|
-
*/
|
|
4659
|
-
toJSON(): any;
|
|
4660
|
-
}
|
|
4661
|
-
|
|
4662
|
-
declare var CSPViolationReportBody: {
|
|
4663
|
-
prototype: CSPViolationReportBody;
|
|
4664
|
-
new(): CSPViolationReportBody;
|
|
4665
|
-
};
|
|
4666
|
-
|
|
4667
4617
|
/**
|
|
4668
4618
|
* The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.
|
|
4669
4619
|
*
|
|
@@ -4904,7 +4854,7 @@ interface CSSGroupingRule extends CSSRule {
|
|
|
4904
4854
|
*/
|
|
4905
4855
|
deleteRule(index: number): void;
|
|
4906
4856
|
/**
|
|
4907
|
-
* The **`insertRule()`** method of the ```js-nolint insertRule(rule) insertRule(rule, index) ``` - `rule` - : A string - `index`
|
|
4857
|
+
* The **`insertRule()`** method of the ```js-nolint insertRule(rule) insertRule(rule, index) ``` - `rule` - : A string - `index` MISSING: optional_inline] - : An optional index at which to insert the rule; defaults to 0.
|
|
4908
4858
|
*
|
|
4909
4859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/insertRule)
|
|
4910
4860
|
*/
|
|
@@ -6417,6 +6367,8 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
|
|
|
6417
6367
|
fontVariantCaps: string;
|
|
6418
6368
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian) */
|
|
6419
6369
|
fontVariantEastAsian: string;
|
|
6370
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji) */
|
|
6371
|
+
fontVariantEmoji: string;
|
|
6420
6372
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures) */
|
|
6421
6373
|
fontVariantLigatures: string;
|
|
6422
6374
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric) */
|
|
@@ -8805,7 +8757,7 @@ declare var CustomElementRegistry: {
|
|
|
8805
8757
|
};
|
|
8806
8758
|
|
|
8807
8759
|
/**
|
|
8808
|
-
* The **`CustomEvent`** interface
|
|
8760
|
+
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
|
|
8809
8761
|
*
|
|
8810
8762
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
8811
8763
|
*/
|
|
@@ -8939,7 +8891,7 @@ interface DOMImplementation {
|
|
|
8939
8891
|
*/
|
|
8940
8892
|
createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;
|
|
8941
8893
|
/**
|
|
8942
|
-
* The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or ```js-nolint createDocumentType(
|
|
8894
|
+
* The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or ```js-nolint createDocumentType(name, publicId, systemId) ``` - `name` - : A string containing the name of the doctype, like `html`.
|
|
8943
8895
|
*
|
|
8944
8896
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)
|
|
8945
8897
|
*/
|
|
@@ -10473,6 +10425,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10473
10425
|
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
|
|
10474
10426
|
createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
|
|
10475
10427
|
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
|
|
10428
|
+
createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
|
|
10429
|
+
createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;
|
|
10476
10430
|
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
|
|
10477
10431
|
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
|
|
10478
10432
|
createEvent(eventInterface: "StorageEvent"): StorageEvent;
|
|
@@ -13748,7 +13702,12 @@ interface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {
|
|
|
13748
13702
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement)
|
|
13749
13703
|
*/
|
|
13750
13704
|
interface HTMLDListElement extends HTMLElement {
|
|
13751
|
-
/**
|
|
13705
|
+
/**
|
|
13706
|
+
* The **`compact`** property of the HTMLDListElement interface indicates that spacing between list items should be reduced.
|
|
13707
|
+
* @deprecated
|
|
13708
|
+
*
|
|
13709
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact)
|
|
13710
|
+
*/
|
|
13752
13711
|
compact: boolean;
|
|
13753
13712
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13754
13713
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13842,6 +13801,12 @@ declare var HTMLDetailsElement: {
|
|
|
13842
13801
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement)
|
|
13843
13802
|
*/
|
|
13844
13803
|
interface HTMLDialogElement extends HTMLElement {
|
|
13804
|
+
/**
|
|
13805
|
+
* The **`closedBy`** property of the A string; possible values are: - `any` - : The dialog can be dismissed with a light dismiss user action, a platform-specific user action, or a developer-specified mechanism.
|
|
13806
|
+
*
|
|
13807
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/closedBy)
|
|
13808
|
+
*/
|
|
13809
|
+
closedBy: string;
|
|
13845
13810
|
/**
|
|
13846
13811
|
* The **`open`** property of the `open` HTML attribute, indicating whether the dialog is available for interaction.
|
|
13847
13812
|
*
|
|
@@ -15092,7 +15057,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
15092
15057
|
*/
|
|
15093
15058
|
max: string;
|
|
15094
15059
|
/**
|
|
15095
|
-
* The **`maxLength`** property of the HTMLInputElement interface indicates the maximum number of characters (in UTF-16
|
|
15060
|
+
* The **`maxLength`** property of the HTMLInputElement interface indicates the maximum number of characters (in UTF-16) allowed to be entered for the value of the input element, and the maximum number of characters allowed for the value to be valid.
|
|
15096
15061
|
*
|
|
15097
15062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
15098
15063
|
*/
|
|
@@ -15104,7 +15069,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
15104
15069
|
*/
|
|
15105
15070
|
min: string;
|
|
15106
15071
|
/**
|
|
15107
|
-
* The **`minLength`** property of the HTMLInputElement interface indicates the minimum number of characters (in UTF-16
|
|
15072
|
+
* The **`minLength`** property of the HTMLInputElement interface indicates the minimum number of characters (in UTF-16) required for the value of the input element to be valid.
|
|
15108
15073
|
*
|
|
15109
15074
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength)
|
|
15110
15075
|
*/
|
|
@@ -15226,7 +15191,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
15226
15191
|
*/
|
|
15227
15192
|
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
|
|
15228
15193
|
/**
|
|
15229
|
-
* The **`
|
|
15194
|
+
* The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements should let the user select directories instead of files.
|
|
15230
15195
|
*
|
|
15231
15196
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
|
|
15232
15197
|
*/
|
|
@@ -15869,7 +15834,12 @@ declare var HTMLMediaElement: {
|
|
|
15869
15834
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement)
|
|
15870
15835
|
*/
|
|
15871
15836
|
interface HTMLMenuElement extends HTMLElement {
|
|
15872
|
-
/**
|
|
15837
|
+
/**
|
|
15838
|
+
* The **`compact`** property of the HTMLMenuElement interface indicates that spacing between list items should be reduced.
|
|
15839
|
+
* @deprecated
|
|
15840
|
+
*
|
|
15841
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact)
|
|
15842
|
+
*/
|
|
15873
15843
|
compact: boolean;
|
|
15874
15844
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15875
15845
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -16024,7 +15994,12 @@ declare var HTMLModElement: {
|
|
|
16024
15994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement)
|
|
16025
15995
|
*/
|
|
16026
15996
|
interface HTMLOListElement extends HTMLElement {
|
|
16027
|
-
/**
|
|
15997
|
+
/**
|
|
15998
|
+
* The **`compact`** property of the HTMLOListElement interface indicates that spacing between list items should be reduced.
|
|
15999
|
+
* @deprecated
|
|
16000
|
+
*
|
|
16001
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact)
|
|
16002
|
+
*/
|
|
16028
16003
|
compact: boolean;
|
|
16029
16004
|
/**
|
|
16030
16005
|
* The **`reversed`** property of the HTMLOListElement interface indicates order of a list.
|
|
@@ -17598,13 +17573,13 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
17598
17573
|
*/
|
|
17599
17574
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
17600
17575
|
/**
|
|
17601
|
-
* The **`maxLength`** property of the HTMLTextAreaElement interface indicates the maximum number of characters (in UTF-16
|
|
17576
|
+
* The **`maxLength`** property of the HTMLTextAreaElement interface indicates the maximum number of characters (in UTF-16) allowed to be entered for the value of the textarea element, and the maximum number of characters allowed for the value to be valid.
|
|
17602
17577
|
*
|
|
17603
17578
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength)
|
|
17604
17579
|
*/
|
|
17605
17580
|
maxLength: number;
|
|
17606
17581
|
/**
|
|
17607
|
-
* The **`minLength`** property of the HTMLTextAreaElement interface indicates the minimum number of characters (in UTF-16
|
|
17582
|
+
* The **`minLength`** property of the HTMLTextAreaElement interface indicates the minimum number of characters (in UTF-16) required for the value of the textarea element to be valid.
|
|
17608
17583
|
*
|
|
17609
17584
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength)
|
|
17610
17585
|
*/
|
|
@@ -17658,7 +17633,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
17658
17633
|
*/
|
|
17659
17634
|
selectionStart: number;
|
|
17660
17635
|
/**
|
|
17661
|
-
* The **`textLength`** read-only property of the HTMLTextAreaElement interface is a non-negative integer representing the number of characters, in UTF-16
|
|
17636
|
+
* The **`textLength`** read-only property of the HTMLTextAreaElement interface is a non-negative integer representing the number of characters, in UTF-16, of the textarea element's value.
|
|
17662
17637
|
*
|
|
17663
17638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength)
|
|
17664
17639
|
*/
|
|
@@ -17866,7 +17841,12 @@ declare var HTMLTrackElement: {
|
|
|
17866
17841
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement)
|
|
17867
17842
|
*/
|
|
17868
17843
|
interface HTMLUListElement extends HTMLElement {
|
|
17869
|
-
/**
|
|
17844
|
+
/**
|
|
17845
|
+
* The **`compact`** property of the HTMLUListElement interface indicates that spacing between list items should be reduced.
|
|
17846
|
+
* @deprecated
|
|
17847
|
+
*
|
|
17848
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact)
|
|
17849
|
+
*/
|
|
17870
17850
|
compact: boolean;
|
|
17871
17851
|
/** @deprecated */
|
|
17872
17852
|
type: string;
|
|
@@ -19219,44 +19199,49 @@ declare var InputEvent: {
|
|
|
19219
19199
|
*/
|
|
19220
19200
|
interface IntersectionObserver {
|
|
19221
19201
|
/**
|
|
19222
|
-
* The
|
|
19202
|
+
* The **`root`** read-only property of the IntersectionObserver interface identifies the Element or Document whose bounds are treated as the bounding box of the viewport for the element which is the observer's target.
|
|
19223
19203
|
*
|
|
19224
19204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/root)
|
|
19225
19205
|
*/
|
|
19226
19206
|
readonly root: Element | Document | null;
|
|
19227
19207
|
/**
|
|
19228
|
-
* The
|
|
19208
|
+
* The **`rootMargin`** read-only property of the IntersectionObserver interface is a string with syntax similar to that of the CSS margin property.
|
|
19229
19209
|
*
|
|
19230
19210
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
|
19231
19211
|
*/
|
|
19232
19212
|
readonly rootMargin: string;
|
|
19213
|
+
/**
|
|
19214
|
+
* The **`scrollMargin`** read-only property of the IntersectionObserver interface adds a margin to all nested scroll container within the root element, including the root element if it is a scroll container.
|
|
19215
|
+
*
|
|
19216
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/scrollMargin)
|
|
19217
|
+
*/
|
|
19233
19218
|
readonly scrollMargin: string;
|
|
19234
19219
|
/**
|
|
19235
|
-
* The
|
|
19220
|
+
* The **`thresholds`** read-only property of the IntersectionObserver interface returns the list of intersection thresholds that was specified when the observer was instantiated with IntersectionObserver.IntersectionObserver.
|
|
19236
19221
|
*
|
|
19237
19222
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/thresholds)
|
|
19238
19223
|
*/
|
|
19239
19224
|
readonly thresholds: ReadonlyArray<number>;
|
|
19240
19225
|
/**
|
|
19241
|
-
* The
|
|
19226
|
+
* The **`disconnect()`** method of the IntersectionObserver interface stops the observer watching all of its target elements for visibility changes.
|
|
19242
19227
|
*
|
|
19243
19228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/disconnect)
|
|
19244
19229
|
*/
|
|
19245
19230
|
disconnect(): void;
|
|
19246
19231
|
/**
|
|
19247
|
-
* The
|
|
19232
|
+
* The **`observe()`** method of the IntersectionObserver interface adds an element to the set of target elements being watched by the `IntersectionObserver`.
|
|
19248
19233
|
*
|
|
19249
19234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/observe)
|
|
19250
19235
|
*/
|
|
19251
19236
|
observe(target: Element): void;
|
|
19252
19237
|
/**
|
|
19253
|
-
* The
|
|
19238
|
+
* The **`takeRecords()`** method of the IntersectionObserver interface returns an array of IntersectionObserverEntry objects, one for each targeted element which has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback.
|
|
19254
19239
|
*
|
|
19255
19240
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/takeRecords)
|
|
19256
19241
|
*/
|
|
19257
19242
|
takeRecords(): IntersectionObserverEntry[];
|
|
19258
19243
|
/**
|
|
19259
|
-
* The
|
|
19244
|
+
* The **`unobserve()`** method of the IntersectionObserver interface instructs the `IntersectionObserver` to stop observing the specified target element.
|
|
19260
19245
|
*
|
|
19261
19246
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/unobserve)
|
|
19262
19247
|
*/
|
|
@@ -19275,43 +19260,43 @@ declare var IntersectionObserver: {
|
|
|
19275
19260
|
*/
|
|
19276
19261
|
interface IntersectionObserverEntry {
|
|
19277
19262
|
/**
|
|
19278
|
-
* The
|
|
19263
|
+
* The **`boundingClientRect`** read-only property of the IntersectionObserverEntry interface returns a DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element.
|
|
19279
19264
|
*
|
|
19280
19265
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/boundingClientRect)
|
|
19281
19266
|
*/
|
|
19282
19267
|
readonly boundingClientRect: DOMRectReadOnly;
|
|
19283
19268
|
/**
|
|
19284
|
-
* The
|
|
19269
|
+
* The **`intersectionRatio`** read-only property of the IntersectionObserverEntry interface tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.
|
|
19285
19270
|
*
|
|
19286
19271
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/intersectionRatio)
|
|
19287
19272
|
*/
|
|
19288
19273
|
readonly intersectionRatio: number;
|
|
19289
19274
|
/**
|
|
19290
|
-
* The
|
|
19275
|
+
* The **`intersectionRect`** read-only property of the IntersectionObserverEntry interface is a DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root.
|
|
19291
19276
|
*
|
|
19292
19277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/intersectionRect)
|
|
19293
19278
|
*/
|
|
19294
19279
|
readonly intersectionRect: DOMRectReadOnly;
|
|
19295
19280
|
/**
|
|
19296
|
-
* The
|
|
19281
|
+
* The **`isIntersecting`** read-only property of the IntersectionObserverEntry interface is a Boolean value which is `true` if the target element intersects with the intersection observer's root.
|
|
19297
19282
|
*
|
|
19298
19283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/isIntersecting)
|
|
19299
19284
|
*/
|
|
19300
19285
|
readonly isIntersecting: boolean;
|
|
19301
19286
|
/**
|
|
19302
|
-
* The
|
|
19287
|
+
* The **`rootBounds`** read-only property of the IntersectionObserverEntry interface is a DOMRectReadOnly corresponding to the IntersectionObserverEntry.target's root intersection rectangle, offset by the IntersectionObserver.rootMargin if one is specified.
|
|
19303
19288
|
*
|
|
19304
19289
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/rootBounds)
|
|
19305
19290
|
*/
|
|
19306
19291
|
readonly rootBounds: DOMRectReadOnly | null;
|
|
19307
19292
|
/**
|
|
19308
|
-
* The
|
|
19293
|
+
* The **`target`** read-only property of the IntersectionObserverEntry interface indicates which targeted Element has changed its amount of intersection with the intersection root.
|
|
19309
19294
|
*
|
|
19310
19295
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/target)
|
|
19311
19296
|
*/
|
|
19312
19297
|
readonly target: Element;
|
|
19313
19298
|
/**
|
|
19314
|
-
* The
|
|
19299
|
+
* The **`time`** read-only property of the IntersectionObserverEntry interface is a DOMHighResTimeStamp that indicates the time at which the intersection change occurred relative to the time at which the document was created.
|
|
19315
19300
|
*
|
|
19316
19301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/time)
|
|
19317
19302
|
*/
|
|
@@ -23645,13 +23630,13 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming {
|
|
|
23645
23630
|
*/
|
|
23646
23631
|
readonly type: NavigationTimingType;
|
|
23647
23632
|
/**
|
|
23648
|
-
* The **`unloadEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the
|
|
23633
|
+
* The **`unloadEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the previous document's `unload` event handler completes.
|
|
23649
23634
|
*
|
|
23650
23635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)
|
|
23651
23636
|
*/
|
|
23652
23637
|
readonly unloadEventEnd: DOMHighResTimeStamp;
|
|
23653
23638
|
/**
|
|
23654
|
-
* The **`unloadEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the
|
|
23639
|
+
* The **`unloadEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the previous document's `unload` event handler starts.
|
|
23655
23640
|
*
|
|
23656
23641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)
|
|
23657
23642
|
*/
|
|
@@ -24307,6 +24292,12 @@ interface PointerEvent extends MouseEvent {
|
|
|
24307
24292
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary)
|
|
24308
24293
|
*/
|
|
24309
24294
|
readonly isPrimary: boolean;
|
|
24295
|
+
/**
|
|
24296
|
+
* The **`persistentDeviceId`** read-only property of the PointerEvent interface is a unique identifier for the pointing device generating the `PointerEvent`.
|
|
24297
|
+
*
|
|
24298
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/persistentDeviceId)
|
|
24299
|
+
*/
|
|
24300
|
+
readonly persistentDeviceId: number;
|
|
24310
24301
|
/**
|
|
24311
24302
|
* The **`pointerId`** read-only property of the event.
|
|
24312
24303
|
*
|
|
@@ -26288,57 +26279,6 @@ declare var RemotePlayback: {
|
|
|
26288
26279
|
new(): RemotePlayback;
|
|
26289
26280
|
};
|
|
26290
26281
|
|
|
26291
|
-
/**
|
|
26292
|
-
* The `Report` interface of the Reporting API represents a single report.
|
|
26293
|
-
*
|
|
26294
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
26295
|
-
*/
|
|
26296
|
-
interface Report {
|
|
26297
|
-
/**
|
|
26298
|
-
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
|
|
26299
|
-
*
|
|
26300
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
|
|
26301
|
-
*/
|
|
26302
|
-
readonly body: ReportBody | null;
|
|
26303
|
-
/**
|
|
26304
|
-
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
|
|
26305
|
-
*
|
|
26306
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
|
|
26307
|
-
*/
|
|
26308
|
-
readonly type: string;
|
|
26309
|
-
/**
|
|
26310
|
-
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
|
|
26311
|
-
*
|
|
26312
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
|
|
26313
|
-
*/
|
|
26314
|
-
readonly url: string;
|
|
26315
|
-
toJSON(): any;
|
|
26316
|
-
}
|
|
26317
|
-
|
|
26318
|
-
declare var Report: {
|
|
26319
|
-
prototype: Report;
|
|
26320
|
-
new(): Report;
|
|
26321
|
-
};
|
|
26322
|
-
|
|
26323
|
-
/**
|
|
26324
|
-
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
26325
|
-
*
|
|
26326
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
26327
|
-
*/
|
|
26328
|
-
interface ReportBody {
|
|
26329
|
-
/**
|
|
26330
|
-
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
|
|
26331
|
-
*
|
|
26332
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
|
|
26333
|
-
*/
|
|
26334
|
-
toJSON(): any;
|
|
26335
|
-
}
|
|
26336
|
-
|
|
26337
|
-
declare var ReportBody: {
|
|
26338
|
-
prototype: ReportBody;
|
|
26339
|
-
new(): ReportBody;
|
|
26340
|
-
};
|
|
26341
|
-
|
|
26342
26282
|
/**
|
|
26343
26283
|
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
26344
26284
|
*
|
|
@@ -30531,6 +30471,31 @@ declare var ScriptProcessorNode: {
|
|
|
30531
30471
|
new(): ScriptProcessorNode;
|
|
30532
30472
|
};
|
|
30533
30473
|
|
|
30474
|
+
/**
|
|
30475
|
+
* The **`ScrollTimeline`** interface of the Web Animations API represents a scroll progress timeline (see CSS scroll-driven animations for more details).
|
|
30476
|
+
*
|
|
30477
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline)
|
|
30478
|
+
*/
|
|
30479
|
+
interface ScrollTimeline extends AnimationTimeline {
|
|
30480
|
+
/**
|
|
30481
|
+
* The **`axis`** read-only property of the An enumerated value.
|
|
30482
|
+
*
|
|
30483
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/axis)
|
|
30484
|
+
*/
|
|
30485
|
+
readonly axis: ScrollAxis;
|
|
30486
|
+
/**
|
|
30487
|
+
* The **`source`** read-only property of the An Element.
|
|
30488
|
+
*
|
|
30489
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/source)
|
|
30490
|
+
*/
|
|
30491
|
+
readonly source: Element | null;
|
|
30492
|
+
}
|
|
30493
|
+
|
|
30494
|
+
declare var ScrollTimeline: {
|
|
30495
|
+
prototype: ScrollTimeline;
|
|
30496
|
+
new(options?: ScrollTimelineOptions): ScrollTimeline;
|
|
30497
|
+
};
|
|
30498
|
+
|
|
30534
30499
|
/**
|
|
30535
30500
|
* The **`SecurityPolicyViolationEvent`** interface inherits from Event, and represents the event object of a `securitypolicyviolation` event sent on an Element/securitypolicyviolation_event, Document/securitypolicyviolation_event, or WorkerGlobalScope/securitypolicyviolation_event when its Content Security Policy (CSP) is violated.
|
|
30536
30501
|
*
|
|
@@ -30831,7 +30796,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
30831
30796
|
*/
|
|
30832
30797
|
interface ServiceWorkerContainer extends EventTarget {
|
|
30833
30798
|
/**
|
|
30834
|
-
* The **`controller`** read-only property of the ServiceWorkerContainer interface
|
|
30799
|
+
* The **`controller`** read-only property of the ServiceWorkerContainer interface represents the active ServiceWorker controlling the current page (associated with this `ServiceWorkerContainer`), or `null` if the page has no active or activating service worker.
|
|
30835
30800
|
*
|
|
30836
30801
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
|
|
30837
30802
|
*/
|
|
@@ -31008,7 +30973,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
|
31008
30973
|
*/
|
|
31009
30974
|
readonly host: Element;
|
|
31010
30975
|
/**
|
|
31011
|
-
* The **`innerHTML`** property of the ShadowRoot interface
|
|
30976
|
+
* The **`innerHTML`** property of the ShadowRoot interface gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
|
|
31012
30977
|
*
|
|
31013
30978
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
|
|
31014
30979
|
*/
|
|
@@ -31230,6 +31195,58 @@ declare var SpeechRecognitionAlternative: {
|
|
|
31230
31195
|
new(): SpeechRecognitionAlternative;
|
|
31231
31196
|
};
|
|
31232
31197
|
|
|
31198
|
+
/**
|
|
31199
|
+
* The **`SpeechRecognitionErrorEvent`** interface of the Web Speech API represents error messages from the recognition service.
|
|
31200
|
+
* Available only in secure contexts.
|
|
31201
|
+
*
|
|
31202
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent)
|
|
31203
|
+
*/
|
|
31204
|
+
interface SpeechRecognitionErrorEvent extends Event {
|
|
31205
|
+
/**
|
|
31206
|
+
* The **`error`** read-only property of the A string naming the type of error.
|
|
31207
|
+
*
|
|
31208
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/error)
|
|
31209
|
+
*/
|
|
31210
|
+
readonly error: SpeechRecognitionErrorCode;
|
|
31211
|
+
/**
|
|
31212
|
+
* The **`message`** read-only property of the error in more detail.
|
|
31213
|
+
*
|
|
31214
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/message)
|
|
31215
|
+
*/
|
|
31216
|
+
readonly message: string;
|
|
31217
|
+
}
|
|
31218
|
+
|
|
31219
|
+
declare var SpeechRecognitionErrorEvent: {
|
|
31220
|
+
prototype: SpeechRecognitionErrorEvent;
|
|
31221
|
+
new(type: string, eventInitDict: SpeechRecognitionErrorEventInit): SpeechRecognitionErrorEvent;
|
|
31222
|
+
};
|
|
31223
|
+
|
|
31224
|
+
/**
|
|
31225
|
+
* The **`SpeechRecognitionEvent`** interface of the Web Speech API represents the event object for the SpeechRecognition.result_event and SpeechRecognition.nomatch_event events, and contains all the data associated with an interim or final speech recognition result.
|
|
31226
|
+
* Available only in secure contexts.
|
|
31227
|
+
*
|
|
31228
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent)
|
|
31229
|
+
*/
|
|
31230
|
+
interface SpeechRecognitionEvent extends Event {
|
|
31231
|
+
/**
|
|
31232
|
+
* The **`resultIndex`** read-only property of the the SpeechRecognitionResultList 'array' that has actually changed.
|
|
31233
|
+
*
|
|
31234
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/resultIndex)
|
|
31235
|
+
*/
|
|
31236
|
+
readonly resultIndex: number;
|
|
31237
|
+
/**
|
|
31238
|
+
* The **`results`** read-only property of the recognition results for the current session.
|
|
31239
|
+
*
|
|
31240
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/results)
|
|
31241
|
+
*/
|
|
31242
|
+
readonly results: SpeechRecognitionResultList;
|
|
31243
|
+
}
|
|
31244
|
+
|
|
31245
|
+
declare var SpeechRecognitionEvent: {
|
|
31246
|
+
prototype: SpeechRecognitionEvent;
|
|
31247
|
+
new(type: string, eventInitDict: SpeechRecognitionEventInit): SpeechRecognitionEvent;
|
|
31248
|
+
};
|
|
31249
|
+
|
|
31233
31250
|
/**
|
|
31234
31251
|
* The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
|
|
31235
31252
|
* Available only in secure contexts.
|
|
@@ -32012,7 +32029,7 @@ declare var Text: {
|
|
|
32012
32029
|
};
|
|
32013
32030
|
|
|
32014
32031
|
/**
|
|
32015
|
-
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`,
|
|
32032
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
|
|
32016
32033
|
*
|
|
32017
32034
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
32018
32035
|
*/
|
|
@@ -32067,19 +32084,19 @@ declare var TextDecoderStream: {
|
|
|
32067
32084
|
};
|
|
32068
32085
|
|
|
32069
32086
|
/**
|
|
32070
|
-
* The **`TextEncoder`** interface
|
|
32087
|
+
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
|
|
32071
32088
|
*
|
|
32072
32089
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
32073
32090
|
*/
|
|
32074
32091
|
interface TextEncoder extends TextEncoderCommon {
|
|
32075
32092
|
/**
|
|
32076
|
-
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the
|
|
32093
|
+
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
|
|
32077
32094
|
*
|
|
32078
32095
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
|
32079
32096
|
*/
|
|
32080
32097
|
encode(input?: string): Uint8Array;
|
|
32081
32098
|
/**
|
|
32082
|
-
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns
|
|
32099
|
+
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
|
|
32083
32100
|
*
|
|
32084
32101
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
|
32085
32102
|
*/
|
|
@@ -33013,6 +33030,11 @@ declare var webkitURL: typeof URL;
|
|
|
33013
33030
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
33014
33031
|
*/
|
|
33015
33032
|
interface URLPattern {
|
|
33033
|
+
/**
|
|
33034
|
+
* The **`hasRegExpGroups`** read-only property of the URLPattern interface is a boolean indicating whether or not any of the `URLPattern` components contain regular expression capturing groups.
|
|
33035
|
+
*
|
|
33036
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hasRegExpGroups)
|
|
33037
|
+
*/
|
|
33016
33038
|
readonly hasRegExpGroups: boolean;
|
|
33017
33039
|
/**
|
|
33018
33040
|
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
@@ -33676,6 +33698,37 @@ declare var VideoPlaybackQuality: {
|
|
|
33676
33698
|
new(): VideoPlaybackQuality;
|
|
33677
33699
|
};
|
|
33678
33700
|
|
|
33701
|
+
/**
|
|
33702
|
+
* The **`ViewTimeline`** interface of the Web Animations API represents a view progress timeline (see CSS scroll-driven animations for more details).
|
|
33703
|
+
*
|
|
33704
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline)
|
|
33705
|
+
*/
|
|
33706
|
+
interface ViewTimeline extends ScrollTimeline {
|
|
33707
|
+
/**
|
|
33708
|
+
* The **`endOffset`** read-only property of the ViewTimeline interface returns a CSSNumericValue representing the ending (100% progress) scroll position of the timeline as an offset from the start of the overflowing section of content in the scroller.
|
|
33709
|
+
*
|
|
33710
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline/endOffset)
|
|
33711
|
+
*/
|
|
33712
|
+
readonly endOffset: CSSNumericValue;
|
|
33713
|
+
/**
|
|
33714
|
+
* The **`startOffset`** read-only property of the ViewTimeline interface returns a CSSNumericValue representing the starting (0% progress) scroll position of the timeline as an offset from the start of the overflowing section of content in the scroller.
|
|
33715
|
+
*
|
|
33716
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline/startOffset)
|
|
33717
|
+
*/
|
|
33718
|
+
readonly startOffset: CSSNumericValue;
|
|
33719
|
+
/**
|
|
33720
|
+
* The **`subject`** read-only property of the ViewTimeline interface returns a reference to the subject element whose visibility within its nearest ancestor scrollable element (scroller) is driving the progress of the timeline.
|
|
33721
|
+
*
|
|
33722
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline/subject)
|
|
33723
|
+
*/
|
|
33724
|
+
readonly subject: Element;
|
|
33725
|
+
}
|
|
33726
|
+
|
|
33727
|
+
declare var ViewTimeline: {
|
|
33728
|
+
prototype: ViewTimeline;
|
|
33729
|
+
new(options?: ViewTimelineOptions): ViewTimeline;
|
|
33730
|
+
};
|
|
33731
|
+
|
|
33679
33732
|
/**
|
|
33680
33733
|
* The **`ViewTransition`** interface of the View Transition API represents an active view transition, and provides functionality to react to the transition reaching different states (e.g., ready to run the animation, or animation finished) or skip the transition altogether.
|
|
33681
33734
|
*
|
|
@@ -39506,6 +39559,7 @@ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasEl
|
|
|
39506
39559
|
type ClipboardItemData = Promise<string | Blob>;
|
|
39507
39560
|
type ClipboardItems = ClipboardItem[];
|
|
39508
39561
|
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
|
|
39562
|
+
type ConstrainBooleanOrDOMString = boolean | string | ConstrainBooleanOrDOMStringParameters;
|
|
39509
39563
|
type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
|
|
39510
39564
|
type ConstrainDouble = number | ConstrainDoubleRange;
|
|
39511
39565
|
type ConstrainULong = number | ConstrainULongRange;
|
|
@@ -39730,6 +39784,7 @@ type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
|
|
|
39730
39784
|
type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
|
|
39731
39785
|
type ResizeQuality = "high" | "low" | "medium" | "pixelated";
|
|
39732
39786
|
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
|
|
39787
|
+
type ScrollAxis = "block" | "inline" | "x" | "y";
|
|
39733
39788
|
type ScrollBehavior = "auto" | "instant" | "smooth";
|
|
39734
39789
|
type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
|
|
39735
39790
|
type ScrollRestoration = "auto" | "manual";
|
|
@@ -39740,6 +39795,7 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing
|
|
|
39740
39795
|
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
|
|
39741
39796
|
type ShadowRootMode = "closed" | "open";
|
|
39742
39797
|
type SlotAssignmentMode = "manual" | "named";
|
|
39798
|
+
type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "phrases-not-supported" | "service-not-allowed";
|
|
39743
39799
|
type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";
|
|
39744
39800
|
type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
|
|
39745
39801
|
type TextTrackMode = "disabled" | "hidden" | "showing";
|