@types/web 0.0.295 → 0.0.297
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 +94 -81
- package/package.json +1 -1
- package/ts5.5/index.d.ts +94 -81
- package/ts5.6/index.d.ts +94 -81
- package/ts5.9/index.d.ts +94 -81
package/ts5.5/index.d.ts
CHANGED
|
@@ -627,7 +627,7 @@ interface EffectTiming {
|
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
interface ElementCreationOptions {
|
|
630
|
-
customElementRegistry?: CustomElementRegistry;
|
|
630
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
631
631
|
is?: string;
|
|
632
632
|
}
|
|
633
633
|
|
|
@@ -2201,6 +2201,10 @@ interface ShareData {
|
|
|
2201
2201
|
url?: string;
|
|
2202
2202
|
}
|
|
2203
2203
|
|
|
2204
|
+
interface ShowPopoverOptions {
|
|
2205
|
+
source?: HTMLElement;
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2204
2208
|
interface SpeechRecognitionErrorEventInit extends EventInit {
|
|
2205
2209
|
error: SpeechRecognitionErrorCode;
|
|
2206
2210
|
message?: string;
|
|
@@ -2316,6 +2320,10 @@ interface ToggleEventInit extends EventInit {
|
|
|
2316
2320
|
source?: Element | null;
|
|
2317
2321
|
}
|
|
2318
2322
|
|
|
2323
|
+
interface TogglePopoverOptions extends ShowPopoverOptions {
|
|
2324
|
+
force?: boolean;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2319
2327
|
interface TouchEventInit extends EventModifierInit {
|
|
2320
2328
|
changedTouches?: Touch[];
|
|
2321
2329
|
targetTouches?: Touch[];
|
|
@@ -2610,8 +2618,8 @@ interface WebTransportErrorOptions {
|
|
|
2610
2618
|
}
|
|
2611
2619
|
|
|
2612
2620
|
interface WebTransportHash {
|
|
2613
|
-
algorithm
|
|
2614
|
-
value
|
|
2621
|
+
algorithm: string;
|
|
2622
|
+
value: BufferSource;
|
|
2615
2623
|
}
|
|
2616
2624
|
|
|
2617
2625
|
interface WebTransportOptions {
|
|
@@ -4829,7 +4837,7 @@ declare var CSSCounterStyleRule: {
|
|
|
4829
4837
|
*/
|
|
4830
4838
|
interface CSSFontFaceRule extends CSSRule {
|
|
4831
4839
|
/**
|
|
4832
|
-
* The read-only **`style`** property of the CSSFontFaceRule interface
|
|
4840
|
+
* The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
|
|
4833
4841
|
*
|
|
4834
4842
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
4835
4843
|
*/
|
|
@@ -4960,7 +4968,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
4960
4968
|
*/
|
|
4961
4969
|
readonly layerName: string | null;
|
|
4962
4970
|
/**
|
|
4963
|
-
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object
|
|
4971
|
+
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object representing the media query list of the @import rule.
|
|
4964
4972
|
*
|
|
4965
4973
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
|
|
4966
4974
|
*/
|
|
@@ -4997,7 +5005,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
4997
5005
|
*/
|
|
4998
5006
|
keyText: string;
|
|
4999
5007
|
/**
|
|
5000
|
-
* The read-only **`
|
|
5008
|
+
* The read-only **`style`** property of the CSSKeyframeRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @keyframes rule's body.
|
|
5001
5009
|
*
|
|
5002
5010
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
5003
5011
|
*/
|
|
@@ -5286,7 +5294,7 @@ declare var CSSMatrixComponent: {
|
|
|
5286
5294
|
*/
|
|
5287
5295
|
interface CSSMediaRule extends CSSConditionRule {
|
|
5288
5296
|
/**
|
|
5289
|
-
* The read-only **`media`** property of the CSSMediaRule interface
|
|
5297
|
+
* The read-only **`media`** property of the CSSMediaRule interface contains a MediaList object representing the media query list of the @media rule.
|
|
5290
5298
|
*
|
|
5291
5299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
|
|
5292
5300
|
*/
|
|
@@ -5488,7 +5496,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5488
5496
|
*/
|
|
5489
5497
|
selectorText: string;
|
|
5490
5498
|
/**
|
|
5491
|
-
* The **`style`**
|
|
5499
|
+
* The read-only **`style`** property of the CSSPageRule interface contains a CSSPageDescriptors object representing the descriptors available in the @page rule's body.
|
|
5492
5500
|
*
|
|
5493
5501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5494
5502
|
*/
|
|
@@ -5685,7 +5693,7 @@ interface CSSPositionTryRule extends CSSRule {
|
|
|
5685
5693
|
*/
|
|
5686
5694
|
readonly name: string;
|
|
5687
5695
|
/**
|
|
5688
|
-
* The **`style`**
|
|
5696
|
+
* The read-only **`style`** property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body.
|
|
5689
5697
|
*
|
|
5690
5698
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5691
5699
|
*/
|
|
@@ -6179,7 +6187,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6179
6187
|
*/
|
|
6180
6188
|
animationRangeStart: string;
|
|
6181
6189
|
/**
|
|
6182
|
-
* The animation-timeline CSS property specifies the timeline
|
|
6190
|
+
* The animation-timeline CSS property specifies the timeline used to control the progress of a CSS animation.
|
|
6183
6191
|
*
|
|
6184
6192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timeline)
|
|
6185
6193
|
*/
|
|
@@ -7624,6 +7632,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
7624
7632
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-depth)
|
|
7625
7633
|
*/
|
|
7626
7634
|
mathDepth: string;
|
|
7635
|
+
/**
|
|
7636
|
+
* The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
|
|
7637
|
+
*
|
|
7638
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-shift)
|
|
7639
|
+
*/
|
|
7640
|
+
mathShift: string;
|
|
7627
7641
|
/**
|
|
7628
7642
|
* The math-style property indicates whether MathML equations should render with normal or compact height.
|
|
7629
7643
|
*
|
|
@@ -8258,13 +8272,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8258
8272
|
*/
|
|
8259
8273
|
scrollSnapType: string;
|
|
8260
8274
|
/**
|
|
8261
|
-
* The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right).
|
|
8275
|
+
* The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right).
|
|
8262
8276
|
*
|
|
8263
8277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline)
|
|
8264
8278
|
*/
|
|
8265
8279
|
scrollTimeline: string;
|
|
8266
8280
|
/**
|
|
8267
|
-
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a
|
|
8281
|
+
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation animation, which is progressed through by scrolling a scrollable element (scroller).
|
|
8268
8282
|
*
|
|
8269
8283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
|
|
8270
8284
|
*/
|
|
@@ -8672,7 +8686,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8672
8686
|
*/
|
|
8673
8687
|
verticalAlign: string;
|
|
8674
8688
|
/**
|
|
8675
|
-
* The view-timeline CSS shorthand property
|
|
8689
|
+
* The view-timeline CSS shorthand property defines a named view progress timeline's name, direction, and inset values.
|
|
8676
8690
|
*
|
|
8677
8691
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline)
|
|
8678
8692
|
*/
|
|
@@ -9229,7 +9243,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
9229
9243
|
*/
|
|
9230
9244
|
selectorText: string;
|
|
9231
9245
|
/**
|
|
9232
|
-
* The read-only **`style`** property
|
|
9246
|
+
* The read-only **`style`** property of the CSSStyleRule interface contains a CSSStyleProperties object representing the properties list in this style rule's body.
|
|
9233
9247
|
*
|
|
9234
9248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
9235
9249
|
*/
|
|
@@ -10284,14 +10298,14 @@ declare var CompositionEvent: {
|
|
|
10284
10298
|
};
|
|
10285
10299
|
|
|
10286
10300
|
/**
|
|
10287
|
-
* The **`CompressionStream`** interface of the Compression Streams API
|
|
10301
|
+
* The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
|
|
10288
10302
|
*
|
|
10289
10303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
10290
10304
|
*/
|
|
10291
10305
|
interface CompressionStream extends GenericTransformStream {
|
|
10292
|
-
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
10306
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
|
|
10293
10307
|
readonly readable: ReadableStream<Uint8Array>;
|
|
10294
|
-
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
10308
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
|
|
10295
10309
|
readonly writable: WritableStream<BufferSource>;
|
|
10296
10310
|
}
|
|
10297
10311
|
|
|
@@ -11767,14 +11781,14 @@ declare var DataTransferItemList: {
|
|
|
11767
11781
|
};
|
|
11768
11782
|
|
|
11769
11783
|
/**
|
|
11770
|
-
* The **`DecompressionStream`** interface of the Compression Streams API
|
|
11784
|
+
* The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
|
|
11771
11785
|
*
|
|
11772
11786
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
11773
11787
|
*/
|
|
11774
11788
|
interface DecompressionStream extends GenericTransformStream {
|
|
11775
|
-
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
11789
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
|
|
11776
11790
|
readonly readable: ReadableStream<Uint8Array>;
|
|
11777
|
-
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
11791
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
|
|
11778
11792
|
readonly writable: WritableStream<BufferSource>;
|
|
11779
11793
|
}
|
|
11780
11794
|
|
|
@@ -12175,7 +12189,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12175
12189
|
*/
|
|
12176
12190
|
readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
|
|
12177
12191
|
/**
|
|
12178
|
-
* The **`
|
|
12192
|
+
* The read-only **`location`** property of the Document interface returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
|
|
12179
12193
|
*
|
|
12180
12194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
|
|
12181
12195
|
*/
|
|
@@ -12529,7 +12543,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12529
12543
|
*/
|
|
12530
12544
|
hasStorageAccess(): Promise<boolean>;
|
|
12531
12545
|
/**
|
|
12532
|
-
* The
|
|
12546
|
+
* The **`importNode()`** method of the Document interface creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
|
|
12533
12547
|
*
|
|
12534
12548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
|
|
12535
12549
|
*/
|
|
@@ -12912,7 +12926,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
12912
12926
|
*/
|
|
12913
12927
|
readonly attributes: NamedNodeMap;
|
|
12914
12928
|
/**
|
|
12915
|
-
* The **`
|
|
12929
|
+
* The read-only **`classList`** property of the Element interface contains a live DOMTokenList collection representing the class attribute of the element. This can then be used to manipulate the class list.
|
|
12916
12930
|
*
|
|
12917
12931
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
|
|
12918
12932
|
*/
|
|
@@ -12989,7 +13003,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
12989
13003
|
outerHTML: string;
|
|
12990
13004
|
readonly ownerDocument: Document;
|
|
12991
13005
|
/**
|
|
12992
|
-
* The **`part`** property of the Element interface
|
|
13006
|
+
* The read-only **`part`** property of the Element interface contains a DOMTokenList object representing the part identifier(s) of the element. It reflects the element's part content attribute. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.
|
|
12993
13007
|
*
|
|
12994
13008
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)
|
|
12995
13009
|
*/
|
|
@@ -15284,7 +15298,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
15284
15298
|
*/
|
|
15285
15299
|
rel: string;
|
|
15286
15300
|
/**
|
|
15287
|
-
* The **`
|
|
15301
|
+
* The read-only **`relList`** property of the HTMLAnchorElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document. It reflects the <a> element's rel content attribute.
|
|
15288
15302
|
*
|
|
15289
15303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList)
|
|
15290
15304
|
*/
|
|
@@ -15367,7 +15381,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
15367
15381
|
*/
|
|
15368
15382
|
rel: string;
|
|
15369
15383
|
/**
|
|
15370
|
-
* The **`
|
|
15384
|
+
* The read-only **`relList`** property of the HTMLAreaElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document. It reflects the <area> element's rel content attribute.
|
|
15371
15385
|
*
|
|
15372
15386
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList)
|
|
15373
15387
|
*/
|
|
@@ -16091,13 +16105,13 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
16091
16105
|
*
|
|
16092
16106
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover)
|
|
16093
16107
|
*/
|
|
16094
|
-
showPopover(): void;
|
|
16108
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
16095
16109
|
/**
|
|
16096
16110
|
* The **`togglePopover()`** method of the HTMLElement interface toggles a popover element (i.e., one that has a valid popover attribute) between the hidden and showing states.
|
|
16097
16111
|
*
|
|
16098
16112
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
|
|
16099
16113
|
*/
|
|
16100
|
-
togglePopover(options?: boolean): boolean;
|
|
16114
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
16101
16115
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
16102
16116
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
16103
16117
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -16375,7 +16389,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
16375
16389
|
*/
|
|
16376
16390
|
rel: string;
|
|
16377
16391
|
/**
|
|
16378
|
-
* The **`relList`**
|
|
16392
|
+
* The read-only **`relList`** property of the HTMLFormElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <form> element and the current document. It reflects the <form> element's rel content attribute.
|
|
16379
16393
|
*
|
|
16380
16394
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList)
|
|
16381
16395
|
*/
|
|
@@ -16731,7 +16745,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
16731
16745
|
*/
|
|
16732
16746
|
referrerPolicy: ReferrerPolicy;
|
|
16733
16747
|
/**
|
|
16734
|
-
* The **`sandbox`**
|
|
16748
|
+
* The read-only **`sandbox`** property of the HTMLIFrameElement returns a live DOMTokenList object indicating extra restrictions on the behavior of the nested content. It reflects the <iframe> element's sandbox content attribute.
|
|
16735
16749
|
*
|
|
16736
16750
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox)
|
|
16737
16751
|
*/
|
|
@@ -16780,82 +16794,82 @@ declare var HTMLIFrameElement: {
|
|
|
16780
16794
|
*/
|
|
16781
16795
|
interface HTMLImageElement extends HTMLElement {
|
|
16782
16796
|
/**
|
|
16783
|
-
* The
|
|
16797
|
+
* The deprecated **`align`** property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container. It reflects the <img> element's align content attribute.
|
|
16784
16798
|
* @deprecated
|
|
16785
16799
|
*
|
|
16786
16800
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/align)
|
|
16787
16801
|
*/
|
|
16788
16802
|
align: string;
|
|
16789
16803
|
/**
|
|
16790
|
-
* The
|
|
16804
|
+
* The **`alt`** property of the HTMLImageElement interface provides fallback (alternate) text to display when the image specified by the <img> element is not displayed, whether because of an error, because the user has disabled the loading of images, or because the image hasn't finished loading yet. It reflects the <img> element's alt content attribute.
|
|
16791
16805
|
*
|
|
16792
16806
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)
|
|
16793
16807
|
*/
|
|
16794
16808
|
alt: string;
|
|
16795
16809
|
/**
|
|
16796
|
-
* The
|
|
16810
|
+
* The deprecated **`border`** property of the HTMLImageElement interface specifies the number of pixels thick the border surrounding the image should be. A value of 0, the default, indicates that no border should be drawn. It reflects the <img> element's border content attribute.
|
|
16797
16811
|
* @deprecated
|
|
16798
16812
|
*
|
|
16799
16813
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/border)
|
|
16800
16814
|
*/
|
|
16801
16815
|
border: string;
|
|
16802
16816
|
/**
|
|
16803
|
-
* The read-only HTMLImageElement interface
|
|
16817
|
+
* The **`complete`** read-only property of the HTMLImageElement interface is a Boolean value indicating whether or not the image has completely loaded.
|
|
16804
16818
|
*
|
|
16805
16819
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete)
|
|
16806
16820
|
*/
|
|
16807
16821
|
readonly complete: boolean;
|
|
16808
16822
|
/**
|
|
16809
|
-
* The
|
|
16823
|
+
* The **`crossOrigin`** property of the HTMLImageElement interface is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image. It reflects the <img> element's crossorigin content attribute.
|
|
16810
16824
|
*
|
|
16811
16825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)
|
|
16812
16826
|
*/
|
|
16813
16827
|
crossOrigin: string | null;
|
|
16814
16828
|
/**
|
|
16815
|
-
* The read-only HTMLImageElement
|
|
16829
|
+
* The **`currentSrc`** read-only property of the HTMLImageElement interface indicates the URL of the image selected by the browser to load.
|
|
16816
16830
|
*
|
|
16817
16831
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc)
|
|
16818
16832
|
*/
|
|
16819
16833
|
readonly currentSrc: string;
|
|
16820
16834
|
/**
|
|
16821
|
-
* The **`decoding`** property of the HTMLImageElement interface provides a hint to the browser as to how it should decode the image. More specifically, whether it should wait for the image to be decoded before presenting other content updates or not.
|
|
16835
|
+
* The **`decoding`** property of the HTMLImageElement interface provides a hint to the browser as to how it should decode the image. More specifically, whether it should wait for the image to be decoded before presenting other content updates or not. It reflects the <img> element's decoding content attribute.
|
|
16822
16836
|
*
|
|
16823
16837
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding)
|
|
16824
16838
|
*/
|
|
16825
16839
|
decoding: "async" | "sync" | "auto";
|
|
16826
16840
|
/**
|
|
16827
|
-
* The **`fetchPriority`** property of the HTMLImageElement interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images. It reflects the
|
|
16841
|
+
* The **`fetchPriority`** property of the HTMLImageElement interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images. It reflects the <img> element's fetchpriority content attribute.
|
|
16828
16842
|
*
|
|
16829
16843
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority)
|
|
16830
16844
|
*/
|
|
16831
16845
|
fetchPriority: "high" | "low" | "auto";
|
|
16832
16846
|
/**
|
|
16833
|
-
* The **`height`** property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as
|
|
16847
|
+
* The **`height`** property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels, if the image is being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected height of the image.
|
|
16834
16848
|
*
|
|
16835
16849
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
|
|
16836
16850
|
*/
|
|
16837
16851
|
height: number;
|
|
16838
16852
|
/**
|
|
16839
|
-
* The
|
|
16853
|
+
* The deprecated **`hspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the left and right sides of the <img> element when laying out the page. It reflects the <img> element's hspace content attribute.
|
|
16840
16854
|
* @deprecated
|
|
16841
16855
|
*
|
|
16842
16856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)
|
|
16843
16857
|
*/
|
|
16844
16858
|
hspace: number;
|
|
16845
16859
|
/**
|
|
16846
|
-
* The
|
|
16860
|
+
* The **`isMap`** property of the HTMLImageElement interface indicates that the image is part of a server-side map. If so, the coordinates where the user clicked on the image are sent to the server. It reflects the <img> element's ismap content attribute. This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.
|
|
16847
16861
|
*
|
|
16848
16862
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)
|
|
16849
16863
|
*/
|
|
16850
16864
|
isMap: boolean;
|
|
16851
16865
|
/**
|
|
16852
|
-
* The
|
|
16866
|
+
* The **`loading`** property of the HTMLImageElement interface provides a hint to the user agent on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
|
|
16853
16867
|
*
|
|
16854
16868
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
|
|
16855
16869
|
*/
|
|
16856
16870
|
loading: "eager" | "lazy";
|
|
16857
16871
|
/**
|
|
16858
|
-
* The deprecated
|
|
16872
|
+
* The deprecated **`longDesc`** property of the HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image. This can be used to provide optional added details beyond the short description provided in the title attribute. It reflects the <img> element's longdesc content attribute.
|
|
16859
16873
|
* @deprecated
|
|
16860
16874
|
*
|
|
16861
16875
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc)
|
|
@@ -16864,81 +16878,81 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
16864
16878
|
/** @deprecated */
|
|
16865
16879
|
lowsrc: string;
|
|
16866
16880
|
/**
|
|
16867
|
-
* The
|
|
16881
|
+
* The deprecated **`name`** property of the HTMLImageElement interface specifies a name for the element. It reflects the <img> element's name content attribute. It has been replaced by the id property available on all elements, and is kept only for compatibility reasons.
|
|
16868
16882
|
* @deprecated
|
|
16869
16883
|
*
|
|
16870
16884
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/name)
|
|
16871
16885
|
*/
|
|
16872
16886
|
name: string;
|
|
16873
16887
|
/**
|
|
16874
|
-
* The
|
|
16888
|
+
* The read-only **`naturalHeight`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected height of the image in CSS pixels.
|
|
16875
16889
|
*
|
|
16876
16890
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
|
|
16877
16891
|
*/
|
|
16878
16892
|
readonly naturalHeight: number;
|
|
16879
16893
|
/**
|
|
16880
|
-
* The
|
|
16894
|
+
* The read-only **`naturalWidth`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
|
|
16881
16895
|
*
|
|
16882
16896
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth)
|
|
16883
16897
|
*/
|
|
16884
16898
|
readonly naturalWidth: number;
|
|
16885
16899
|
/**
|
|
16886
|
-
* The **`
|
|
16900
|
+
* The **`referrerPolicy`** property of the HTMLImageElement interface defining which referrer is sent when fetching the resource. It reflects the <img> element's referrerpolicy content attribute.
|
|
16887
16901
|
*
|
|
16888
16902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
|
|
16889
16903
|
*/
|
|
16890
16904
|
referrerPolicy: string;
|
|
16891
16905
|
/**
|
|
16892
|
-
* The
|
|
16906
|
+
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries. This provides the ability to automatically select among different images—even images of different orientations or aspect ratios—as the document state changes to match different media conditions. It reflects the <img> element's sizes content attribute.
|
|
16893
16907
|
*
|
|
16894
16908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
|
|
16895
16909
|
*/
|
|
16896
16910
|
sizes: string;
|
|
16897
16911
|
/**
|
|
16898
|
-
* The
|
|
16912
|
+
* The **`src`** property of the HTMLImageElement interface specifies the image to display in the <img> element. It reflects the <img> element's src content attribute.
|
|
16899
16913
|
*
|
|
16900
16914
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)
|
|
16901
16915
|
*/
|
|
16902
16916
|
src: string;
|
|
16903
16917
|
/**
|
|
16904
|
-
* The
|
|
16918
|
+
* The **`srcset`** property of the HTMLImageElement interface identifies one or more image candidate strings, separated using commas (,), each specifying image resources to use under given circumstances. Each image candidate string contains an image URL and an optional width or pixel density descriptor that indicates the conditions under which that candidate should be used instead of the image specified by the src property. It reflects the <img> element's srcset content attribute.
|
|
16905
16919
|
*
|
|
16906
16920
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset)
|
|
16907
16921
|
*/
|
|
16908
16922
|
srcset: string;
|
|
16909
16923
|
/**
|
|
16910
|
-
* The **`useMap`** property
|
|
16924
|
+
* The **`useMap`** property of the HTMLImageElement interface providing the name of the client-side image map to apply to the image. It reflects the <img> element's usemap content attribute.
|
|
16911
16925
|
*
|
|
16912
16926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
|
|
16913
16927
|
*/
|
|
16914
16928
|
useMap: string;
|
|
16915
16929
|
/**
|
|
16916
|
-
* The
|
|
16930
|
+
* The deprecated **`vspace`** property of the HTMLImageElement interface specifies the number of pixels of empty space to leave empty on the top and bottom sides of the <img> element when laying out the page. It reflects the <img> element's vspace content attribute.
|
|
16917
16931
|
* @deprecated
|
|
16918
16932
|
*
|
|
16919
16933
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)
|
|
16920
16934
|
*/
|
|
16921
16935
|
vspace: number;
|
|
16922
16936
|
/**
|
|
16923
|
-
* The **`width`** property of the HTMLImageElement interface indicates the width at which
|
|
16937
|
+
* The **`width`** property of the HTMLImageElement interface indicates the width at which the image is drawn, in CSS pixels, if the image is being drawn or rendered to any visual medium such as a screen or printer. Otherwise, it's the natural, pixel density-corrected width of the image.
|
|
16924
16938
|
*
|
|
16925
16939
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
|
|
16926
16940
|
*/
|
|
16927
16941
|
width: number;
|
|
16928
16942
|
/**
|
|
16929
|
-
* The read-only
|
|
16943
|
+
* The read-only **`x`** property of the HTMLImageElement interface indicates the x-coordinate of the <img> element's left border edge relative to the root element's origin.
|
|
16930
16944
|
*
|
|
16931
16945
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
|
|
16932
16946
|
*/
|
|
16933
16947
|
readonly x: number;
|
|
16934
16948
|
/**
|
|
16935
|
-
* The read-onl**`y`**
|
|
16949
|
+
* The read-onl**`y`** y property of the HTMLImageElement interface indicates the y-coordinate of the <img> element's top border edge relative to the root element's origin.
|
|
16936
16950
|
*
|
|
16937
16951
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
|
|
16938
16952
|
*/
|
|
16939
16953
|
readonly y: number;
|
|
16940
16954
|
/**
|
|
16941
|
-
* The **`decode()`** method of the HTMLImageElement interface returns a Promise that resolves once the image is decoded and
|
|
16955
|
+
* The **`decode()`** method of the HTMLImageElement interface returns a Promise that resolves once the image is decoded and is safe to be appended to the DOM.
|
|
16942
16956
|
*
|
|
16943
16957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
|
|
16944
16958
|
*/
|
|
@@ -17404,7 +17418,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17404
17418
|
*/
|
|
17405
17419
|
as: string;
|
|
17406
17420
|
/**
|
|
17407
|
-
* The **`blocking`** property of the HTMLLinkElement
|
|
17421
|
+
* The read-only **`blocking`** property of the HTMLLinkElement returns a live DOMTokenList object containing the operations that should be blocked on the fetching of an external resource. It reflects the <link> element's blocking content attribute.
|
|
17408
17422
|
*
|
|
17409
17423
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking)
|
|
17410
17424
|
*/
|
|
@@ -17424,7 +17438,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17424
17438
|
*/
|
|
17425
17439
|
disabled: boolean;
|
|
17426
17440
|
/**
|
|
17427
|
-
* The **`fetchPriority`** property of the HTMLLinkElement interface represents a hint to the browser indicating how it should prioritize fetching a particular resource relative to other resources of the same type. It reflects the
|
|
17441
|
+
* The **`fetchPriority`** property of the HTMLLinkElement interface represents a hint to the browser indicating how it should prioritize fetching a particular resource relative to other resources of the same type. It reflects the <link> element's fetchpriority content attribute.
|
|
17428
17442
|
*
|
|
17429
17443
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority)
|
|
17430
17444
|
*/
|
|
@@ -17478,7 +17492,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17478
17492
|
*/
|
|
17479
17493
|
rel: string;
|
|
17480
17494
|
/**
|
|
17481
|
-
* The **`relList`**
|
|
17495
|
+
* The read-only **`relList`** property of the HTMLLinkElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document. It reflects the <link> element's rel content attribute.
|
|
17482
17496
|
*
|
|
17483
17497
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList)
|
|
17484
17498
|
*/
|
|
@@ -17486,7 +17500,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17486
17500
|
/** @deprecated */
|
|
17487
17501
|
rev: string;
|
|
17488
17502
|
/**
|
|
17489
|
-
* The **`sizes`**
|
|
17503
|
+
* The read-only **`sizes`** property of the HTMLLinkElement interface defines the sizes of the icons for visual media contained in the resource. It reflects the <link> element's sizes attribute, which takes a list of space-separated sizes, each in the format <width in pixels>x<height in pixels>, or the keyword any.
|
|
17490
17504
|
*
|
|
17491
17505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes)
|
|
17492
17506
|
*/
|
|
@@ -18361,7 +18375,7 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
18361
18375
|
*/
|
|
18362
18376
|
readonly form: HTMLFormElement | null;
|
|
18363
18377
|
/**
|
|
18364
|
-
* The **`htmlFor`** property of the HTMLOutputElement
|
|
18378
|
+
* The read-only **`htmlFor`** property of the HTMLOutputElement returns a live DOMTokenList object containing a list of ids of those elements contributing input values to (or otherwise affected) the calculation. It reflects the <output> element's for content attribute.
|
|
18365
18379
|
*
|
|
18366
18380
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor)
|
|
18367
18381
|
*/
|
|
@@ -18596,7 +18610,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
18596
18610
|
*/
|
|
18597
18611
|
async: boolean;
|
|
18598
18612
|
/**
|
|
18599
|
-
* The **`blocking`** property of the HTMLScriptElement
|
|
18613
|
+
* The read-only **`blocking`** property of the HTMLScriptElement returns a live DOMTokenList object containing the operations that should be blocked on the fetching of an external resource. It reflects the <script> element's blocking content attribute.
|
|
18600
18614
|
*
|
|
18601
18615
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking)
|
|
18602
18616
|
*/
|
|
@@ -18618,7 +18632,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
18618
18632
|
/** @deprecated */
|
|
18619
18633
|
event: string;
|
|
18620
18634
|
/**
|
|
18621
|
-
* The **`fetchPriority`** property of the HTMLScriptElement interface represents a hint to the browser indicating how it should prioritize fetching an external script relative to other external scripts. It reflects the
|
|
18635
|
+
* The **`fetchPriority`** property of the HTMLScriptElement interface represents a hint to the browser indicating how it should prioritize fetching an external script relative to other external scripts. It reflects the <script> element's fetchpriority content attribute.
|
|
18622
18636
|
*
|
|
18623
18637
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority)
|
|
18624
18638
|
*/
|
|
@@ -18971,7 +18985,7 @@ declare var HTMLSpanElement: {
|
|
|
18971
18985
|
*/
|
|
18972
18986
|
interface HTMLStyleElement extends HTMLElement, LinkStyle {
|
|
18973
18987
|
/**
|
|
18974
|
-
* The **`blocking`** property of the HTMLStyleElement
|
|
18988
|
+
* The read-only **`blocking`** property of the HTMLStyleElement returns a live DOMTokenList object containing the operations that should be blocked on the fetching of an external resource. It reflects the <style> element's blocking content attribute.
|
|
18975
18989
|
*
|
|
18976
18990
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking)
|
|
18977
18991
|
*/
|
|
@@ -19516,7 +19530,7 @@ declare var HTMLTableSectionElement: {
|
|
|
19516
19530
|
*/
|
|
19517
19531
|
interface HTMLTemplateElement extends HTMLElement {
|
|
19518
19532
|
/**
|
|
19519
|
-
* The **`
|
|
19533
|
+
* The **`content`** property of the HTMLTemplateElement interface returns the <template> element's template contents as a DocumentFragment. This content's ownerDocument is a separate Document from the one that contains the <template> element itself — unless the containing document is itself constructed for the purpose of holding template content.
|
|
19520
19534
|
*
|
|
19521
19535
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
19522
19536
|
*/
|
|
@@ -23995,7 +24009,7 @@ interface Node extends EventTarget {
|
|
|
23995
24009
|
*/
|
|
23996
24010
|
appendChild<T extends Node>(node: T): T;
|
|
23997
24011
|
/**
|
|
23998
|
-
* The **`cloneNode()`** method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in
|
|
24012
|
+
* The **`cloneNode()`** method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in the node is also cloned or not.
|
|
23999
24013
|
*
|
|
24000
24014
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
|
|
24001
24015
|
*/
|
|
@@ -27004,7 +27018,7 @@ interface RTCEncodedVideoFrame {
|
|
|
27004
27018
|
*
|
|
27005
27019
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
|
|
27006
27020
|
*/
|
|
27007
|
-
readonly type:
|
|
27021
|
+
readonly type: EncodedVideoChunkType;
|
|
27008
27022
|
/**
|
|
27009
27023
|
* The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
|
|
27010
27024
|
*
|
|
@@ -28638,7 +28652,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
|
|
|
28638
28652
|
*/
|
|
28639
28653
|
rel: string;
|
|
28640
28654
|
/**
|
|
28641
|
-
* The **`relList`**
|
|
28655
|
+
* The read-only **`relList`** property of the SVGAElement returns a live DOMTokenList reflecting the space-separated string <list-of-Link-Types> values of the rel attribute of the SVG <a> element.
|
|
28642
28656
|
*
|
|
28643
28657
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/relList)
|
|
28644
28658
|
*/
|
|
@@ -33917,7 +33931,7 @@ interface StyleSheet {
|
|
|
33917
33931
|
*/
|
|
33918
33932
|
readonly href: string | null;
|
|
33919
33933
|
/**
|
|
33920
|
-
* The **`media`** property of the StyleSheet interface
|
|
33934
|
+
* The read-only **`media`** property of the StyleSheet interface contains a MediaList object representing the intended destination media for style information.
|
|
33921
33935
|
*
|
|
33922
33936
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media)
|
|
33923
33937
|
*/
|
|
@@ -34229,14 +34243,14 @@ interface TextDecoderCommon {
|
|
|
34229
34243
|
}
|
|
34230
34244
|
|
|
34231
34245
|
/**
|
|
34232
|
-
* The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
|
|
34246
|
+
* The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
|
|
34233
34247
|
*
|
|
34234
34248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
34235
34249
|
*/
|
|
34236
34250
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
34237
|
-
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
34251
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
|
|
34238
34252
|
readonly readable: ReadableStream<string>;
|
|
34239
|
-
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
34253
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream that accepts binary data, in the form of ArrayBuffer, TypedArray, or DataView chunks (SharedArrayBuffer and its views are also allowed), to be decoded into strings. */
|
|
34240
34254
|
readonly writable: WritableStream<BufferSource>;
|
|
34241
34255
|
}
|
|
34242
34256
|
|
|
@@ -34280,14 +34294,14 @@ interface TextEncoderCommon {
|
|
|
34280
34294
|
}
|
|
34281
34295
|
|
|
34282
34296
|
/**
|
|
34283
|
-
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
|
|
34297
|
+
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
|
|
34284
34298
|
*
|
|
34285
34299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
34286
34300
|
*/
|
|
34287
34301
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
34288
|
-
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
34302
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
|
|
34289
34303
|
readonly readable: ReadableStream<Uint8Array>;
|
|
34290
|
-
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
34304
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
|
|
34291
34305
|
readonly writable: WritableStream<string>;
|
|
34292
34306
|
}
|
|
34293
34307
|
|
|
@@ -34871,13 +34885,13 @@ declare var TrackEvent: {
|
|
|
34871
34885
|
*/
|
|
34872
34886
|
interface TransformStream<I = any, O = any> {
|
|
34873
34887
|
/**
|
|
34874
|
-
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
|
|
34888
|
+
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
|
|
34875
34889
|
*
|
|
34876
34890
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
|
|
34877
34891
|
*/
|
|
34878
34892
|
readonly readable: ReadableStream<O>;
|
|
34879
34893
|
/**
|
|
34880
|
-
* The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
|
|
34894
|
+
* The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
|
|
34881
34895
|
*
|
|
34882
34896
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
|
|
34883
34897
|
*/
|
|
@@ -35952,7 +35966,7 @@ interface VisualViewportEventMap {
|
|
|
35952
35966
|
}
|
|
35953
35967
|
|
|
35954
35968
|
/**
|
|
35955
|
-
* The **`VisualViewport`** interface of the
|
|
35969
|
+
* The **`VisualViewport`** interface of the CSSOM view API represents the visual viewport for a given window. For a page containing iframes, each iframe, as well as the containing page, will have a unique window object. Each window on a page will have a unique VisualViewport representing the properties associated with that window.
|
|
35956
35970
|
*
|
|
35957
35971
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport)
|
|
35958
35972
|
*/
|
|
@@ -39001,7 +39015,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
39001
39015
|
*/
|
|
39002
39016
|
readonly length: number;
|
|
39003
39017
|
/**
|
|
39004
|
-
* The **`
|
|
39018
|
+
* The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
|
|
39005
39019
|
*
|
|
39006
39020
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
|
|
39007
39021
|
*/
|
|
@@ -41169,7 +41183,7 @@ declare var innerWidth: number;
|
|
|
41169
41183
|
*/
|
|
41170
41184
|
declare var length: number;
|
|
41171
41185
|
/**
|
|
41172
|
-
* The **`
|
|
41186
|
+
* The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
|
|
41173
41187
|
*
|
|
41174
41188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
|
|
41175
41189
|
*/
|
|
@@ -42057,7 +42071,6 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
|
42057
42071
|
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
42058
42072
|
type RTCDtlsRole = "client" | "server" | "unknown";
|
|
42059
42073
|
type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
|
|
42060
|
-
type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
|
|
42061
42074
|
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
|
|
42062
42075
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
42063
42076
|
type RTCIceComponent = "rtcp" | "rtp";
|