@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/index.d.ts
CHANGED
|
@@ -630,7 +630,7 @@ interface EffectTiming {
|
|
|
630
630
|
}
|
|
631
631
|
|
|
632
632
|
interface ElementCreationOptions {
|
|
633
|
-
customElementRegistry?: CustomElementRegistry;
|
|
633
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
634
634
|
is?: string;
|
|
635
635
|
}
|
|
636
636
|
|
|
@@ -2204,6 +2204,10 @@ interface ShareData {
|
|
|
2204
2204
|
url?: string;
|
|
2205
2205
|
}
|
|
2206
2206
|
|
|
2207
|
+
interface ShowPopoverOptions {
|
|
2208
|
+
source?: HTMLElement;
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2207
2211
|
interface SpeechRecognitionErrorEventInit extends EventInit {
|
|
2208
2212
|
error: SpeechRecognitionErrorCode;
|
|
2209
2213
|
message?: string;
|
|
@@ -2319,6 +2323,10 @@ interface ToggleEventInit extends EventInit {
|
|
|
2319
2323
|
source?: Element | null;
|
|
2320
2324
|
}
|
|
2321
2325
|
|
|
2326
|
+
interface TogglePopoverOptions extends ShowPopoverOptions {
|
|
2327
|
+
force?: boolean;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2322
2330
|
interface TouchEventInit extends EventModifierInit {
|
|
2323
2331
|
changedTouches?: Touch[];
|
|
2324
2332
|
targetTouches?: Touch[];
|
|
@@ -2613,8 +2621,8 @@ interface WebTransportErrorOptions {
|
|
|
2613
2621
|
}
|
|
2614
2622
|
|
|
2615
2623
|
interface WebTransportHash {
|
|
2616
|
-
algorithm
|
|
2617
|
-
value
|
|
2624
|
+
algorithm: string;
|
|
2625
|
+
value: BufferSource;
|
|
2618
2626
|
}
|
|
2619
2627
|
|
|
2620
2628
|
interface WebTransportOptions {
|
|
@@ -4832,7 +4840,7 @@ declare var CSSCounterStyleRule: {
|
|
|
4832
4840
|
*/
|
|
4833
4841
|
interface CSSFontFaceRule extends CSSRule {
|
|
4834
4842
|
/**
|
|
4835
|
-
* The read-only **`style`** property of the CSSFontFaceRule interface
|
|
4843
|
+
* The read-only **`style`** property of the CSSFontFaceRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @font-face rule's body.
|
|
4836
4844
|
*
|
|
4837
4845
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
4838
4846
|
*/
|
|
@@ -4964,7 +4972,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
4964
4972
|
*/
|
|
4965
4973
|
readonly layerName: string | null;
|
|
4966
4974
|
/**
|
|
4967
|
-
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object
|
|
4975
|
+
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object representing the media query list of the @import rule.
|
|
4968
4976
|
*
|
|
4969
4977
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
|
|
4970
4978
|
*/
|
|
@@ -5002,7 +5010,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
5002
5010
|
*/
|
|
5003
5011
|
keyText: string;
|
|
5004
5012
|
/**
|
|
5005
|
-
* The read-only **`
|
|
5013
|
+
* The read-only **`style`** property of the CSSKeyframeRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @keyframes rule's body.
|
|
5006
5014
|
*
|
|
5007
5015
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
5008
5016
|
*/
|
|
@@ -5292,7 +5300,7 @@ declare var CSSMatrixComponent: {
|
|
|
5292
5300
|
*/
|
|
5293
5301
|
interface CSSMediaRule extends CSSConditionRule {
|
|
5294
5302
|
/**
|
|
5295
|
-
* The read-only **`media`** property of the CSSMediaRule interface
|
|
5303
|
+
* The read-only **`media`** property of the CSSMediaRule interface contains a MediaList object representing the media query list of the @media rule.
|
|
5296
5304
|
*
|
|
5297
5305
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
|
|
5298
5306
|
*/
|
|
@@ -5496,7 +5504,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5496
5504
|
*/
|
|
5497
5505
|
selectorText: string;
|
|
5498
5506
|
/**
|
|
5499
|
-
* The **`style`**
|
|
5507
|
+
* The read-only **`style`** property of the CSSPageRule interface contains a CSSPageDescriptors object representing the descriptors available in the @page rule's body.
|
|
5500
5508
|
*
|
|
5501
5509
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5502
5510
|
*/
|
|
@@ -5694,7 +5702,7 @@ interface CSSPositionTryRule extends CSSRule {
|
|
|
5694
5702
|
*/
|
|
5695
5703
|
readonly name: string;
|
|
5696
5704
|
/**
|
|
5697
|
-
* The **`style`**
|
|
5705
|
+
* The read-only **`style`** property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body.
|
|
5698
5706
|
*
|
|
5699
5707
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5700
5708
|
*/
|
|
@@ -6189,7 +6197,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6189
6197
|
*/
|
|
6190
6198
|
animationRangeStart: string;
|
|
6191
6199
|
/**
|
|
6192
|
-
* The animation-timeline CSS property specifies the timeline
|
|
6200
|
+
* The animation-timeline CSS property specifies the timeline used to control the progress of a CSS animation.
|
|
6193
6201
|
*
|
|
6194
6202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timeline)
|
|
6195
6203
|
*/
|
|
@@ -7634,6 +7642,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
7634
7642
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-depth)
|
|
7635
7643
|
*/
|
|
7636
7644
|
mathDepth: string;
|
|
7645
|
+
/**
|
|
7646
|
+
* The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
|
|
7647
|
+
*
|
|
7648
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-shift)
|
|
7649
|
+
*/
|
|
7650
|
+
mathShift: string;
|
|
7637
7651
|
/**
|
|
7638
7652
|
* The math-style property indicates whether MathML equations should render with normal or compact height.
|
|
7639
7653
|
*
|
|
@@ -8268,13 +8282,13 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8268
8282
|
*/
|
|
8269
8283
|
scrollSnapType: string;
|
|
8270
8284
|
/**
|
|
8271
|
-
* 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).
|
|
8285
|
+
* 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).
|
|
8272
8286
|
*
|
|
8273
8287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline)
|
|
8274
8288
|
*/
|
|
8275
8289
|
scrollTimeline: string;
|
|
8276
8290
|
/**
|
|
8277
|
-
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a
|
|
8291
|
+
* 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).
|
|
8278
8292
|
*
|
|
8279
8293
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
|
|
8280
8294
|
*/
|
|
@@ -8682,7 +8696,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8682
8696
|
*/
|
|
8683
8697
|
verticalAlign: string;
|
|
8684
8698
|
/**
|
|
8685
|
-
* The view-timeline CSS shorthand property
|
|
8699
|
+
* The view-timeline CSS shorthand property defines a named view progress timeline's name, direction, and inset values.
|
|
8686
8700
|
*
|
|
8687
8701
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline)
|
|
8688
8702
|
*/
|
|
@@ -9239,7 +9253,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
9239
9253
|
*/
|
|
9240
9254
|
selectorText: string;
|
|
9241
9255
|
/**
|
|
9242
|
-
* The read-only **`style`** property
|
|
9256
|
+
* The read-only **`style`** property of the CSSStyleRule interface contains a CSSStyleProperties object representing the properties list in this style rule's body.
|
|
9243
9257
|
*
|
|
9244
9258
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
9245
9259
|
*/
|
|
@@ -10295,14 +10309,14 @@ declare var CompositionEvent: {
|
|
|
10295
10309
|
};
|
|
10296
10310
|
|
|
10297
10311
|
/**
|
|
10298
|
-
* The **`CompressionStream`** interface of the Compression Streams API
|
|
10312
|
+
* 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.
|
|
10299
10313
|
*
|
|
10300
10314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
10301
10315
|
*/
|
|
10302
10316
|
interface CompressionStream extends GenericTransformStream {
|
|
10303
|
-
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
10317
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
|
|
10304
10318
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
10305
|
-
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
10319
|
+
/** 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. */
|
|
10306
10320
|
readonly writable: WritableStream<BufferSource>;
|
|
10307
10321
|
}
|
|
10308
10322
|
|
|
@@ -11778,14 +11792,14 @@ declare var DataTransferItemList: {
|
|
|
11778
11792
|
};
|
|
11779
11793
|
|
|
11780
11794
|
/**
|
|
11781
|
-
* The **`DecompressionStream`** interface of the Compression Streams API
|
|
11795
|
+
* 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.
|
|
11782
11796
|
*
|
|
11783
11797
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
11784
11798
|
*/
|
|
11785
11799
|
interface DecompressionStream extends GenericTransformStream {
|
|
11786
|
-
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
11800
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
|
|
11787
11801
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
11788
|
-
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
11802
|
+
/** 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. */
|
|
11789
11803
|
readonly writable: WritableStream<BufferSource>;
|
|
11790
11804
|
}
|
|
11791
11805
|
|
|
@@ -12186,7 +12200,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12186
12200
|
*/
|
|
12187
12201
|
readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
|
|
12188
12202
|
/**
|
|
12189
|
-
* The **`
|
|
12203
|
+
* 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.
|
|
12190
12204
|
*
|
|
12191
12205
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
|
|
12192
12206
|
*/
|
|
@@ -12540,7 +12554,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12540
12554
|
*/
|
|
12541
12555
|
hasStorageAccess(): Promise<boolean>;
|
|
12542
12556
|
/**
|
|
12543
|
-
* The
|
|
12557
|
+
* 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.
|
|
12544
12558
|
*
|
|
12545
12559
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
|
|
12546
12560
|
*/
|
|
@@ -12923,7 +12937,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
12923
12937
|
*/
|
|
12924
12938
|
readonly attributes: NamedNodeMap;
|
|
12925
12939
|
/**
|
|
12926
|
-
* The **`
|
|
12940
|
+
* 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.
|
|
12927
12941
|
*
|
|
12928
12942
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
|
|
12929
12943
|
*/
|
|
@@ -13001,7 +13015,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13001
13015
|
outerHTML: string;
|
|
13002
13016
|
readonly ownerDocument: Document;
|
|
13003
13017
|
/**
|
|
13004
|
-
* The **`part`** property of the Element interface
|
|
13018
|
+
* 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.
|
|
13005
13019
|
*
|
|
13006
13020
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)
|
|
13007
13021
|
*/
|
|
@@ -15298,7 +15312,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
15298
15312
|
*/
|
|
15299
15313
|
rel: string;
|
|
15300
15314
|
/**
|
|
15301
|
-
* The **`
|
|
15315
|
+
* 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.
|
|
15302
15316
|
*
|
|
15303
15317
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList)
|
|
15304
15318
|
*/
|
|
@@ -15382,7 +15396,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
15382
15396
|
*/
|
|
15383
15397
|
rel: string;
|
|
15384
15398
|
/**
|
|
15385
|
-
* The **`
|
|
15399
|
+
* 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.
|
|
15386
15400
|
*
|
|
15387
15401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList)
|
|
15388
15402
|
*/
|
|
@@ -16107,13 +16121,13 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
16107
16121
|
*
|
|
16108
16122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover)
|
|
16109
16123
|
*/
|
|
16110
|
-
showPopover(): void;
|
|
16124
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
16111
16125
|
/**
|
|
16112
16126
|
* 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.
|
|
16113
16127
|
*
|
|
16114
16128
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
|
|
16115
16129
|
*/
|
|
16116
|
-
togglePopover(options?: boolean): boolean;
|
|
16130
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
16117
16131
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
16118
16132
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
16119
16133
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -16391,7 +16405,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
16391
16405
|
*/
|
|
16392
16406
|
rel: string;
|
|
16393
16407
|
/**
|
|
16394
|
-
* The **`relList`**
|
|
16408
|
+
* 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.
|
|
16395
16409
|
*
|
|
16396
16410
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList)
|
|
16397
16411
|
*/
|
|
@@ -16748,7 +16762,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
16748
16762
|
*/
|
|
16749
16763
|
referrerPolicy: ReferrerPolicy;
|
|
16750
16764
|
/**
|
|
16751
|
-
* The **`sandbox`**
|
|
16765
|
+
* 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.
|
|
16752
16766
|
*
|
|
16753
16767
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox)
|
|
16754
16768
|
*/
|
|
@@ -16798,82 +16812,82 @@ declare var HTMLIFrameElement: {
|
|
|
16798
16812
|
*/
|
|
16799
16813
|
interface HTMLImageElement extends HTMLElement {
|
|
16800
16814
|
/**
|
|
16801
|
-
* The
|
|
16815
|
+
* 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.
|
|
16802
16816
|
* @deprecated
|
|
16803
16817
|
*
|
|
16804
16818
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/align)
|
|
16805
16819
|
*/
|
|
16806
16820
|
align: string;
|
|
16807
16821
|
/**
|
|
16808
|
-
* The
|
|
16822
|
+
* 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.
|
|
16809
16823
|
*
|
|
16810
16824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)
|
|
16811
16825
|
*/
|
|
16812
16826
|
alt: string;
|
|
16813
16827
|
/**
|
|
16814
|
-
* The
|
|
16828
|
+
* 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.
|
|
16815
16829
|
* @deprecated
|
|
16816
16830
|
*
|
|
16817
16831
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/border)
|
|
16818
16832
|
*/
|
|
16819
16833
|
border: string;
|
|
16820
16834
|
/**
|
|
16821
|
-
* The read-only HTMLImageElement interface
|
|
16835
|
+
* The **`complete`** read-only property of the HTMLImageElement interface is a Boolean value indicating whether or not the image has completely loaded.
|
|
16822
16836
|
*
|
|
16823
16837
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete)
|
|
16824
16838
|
*/
|
|
16825
16839
|
readonly complete: boolean;
|
|
16826
16840
|
/**
|
|
16827
|
-
* The
|
|
16841
|
+
* 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.
|
|
16828
16842
|
*
|
|
16829
16843
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)
|
|
16830
16844
|
*/
|
|
16831
16845
|
crossOrigin: string | null;
|
|
16832
16846
|
/**
|
|
16833
|
-
* The read-only HTMLImageElement
|
|
16847
|
+
* The **`currentSrc`** read-only property of the HTMLImageElement interface indicates the URL of the image selected by the browser to load.
|
|
16834
16848
|
*
|
|
16835
16849
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc)
|
|
16836
16850
|
*/
|
|
16837
16851
|
readonly currentSrc: string;
|
|
16838
16852
|
/**
|
|
16839
|
-
* 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.
|
|
16853
|
+
* 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.
|
|
16840
16854
|
*
|
|
16841
16855
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding)
|
|
16842
16856
|
*/
|
|
16843
16857
|
decoding: "async" | "sync" | "auto";
|
|
16844
16858
|
/**
|
|
16845
|
-
* 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
|
|
16859
|
+
* 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.
|
|
16846
16860
|
*
|
|
16847
16861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority)
|
|
16848
16862
|
*/
|
|
16849
16863
|
fetchPriority: "high" | "low" | "auto";
|
|
16850
16864
|
/**
|
|
16851
|
-
* 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
|
|
16865
|
+
* 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.
|
|
16852
16866
|
*
|
|
16853
16867
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
|
|
16854
16868
|
*/
|
|
16855
16869
|
height: number;
|
|
16856
16870
|
/**
|
|
16857
|
-
* The
|
|
16871
|
+
* 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.
|
|
16858
16872
|
* @deprecated
|
|
16859
16873
|
*
|
|
16860
16874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)
|
|
16861
16875
|
*/
|
|
16862
16876
|
hspace: number;
|
|
16863
16877
|
/**
|
|
16864
|
-
* The
|
|
16878
|
+
* 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.
|
|
16865
16879
|
*
|
|
16866
16880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)
|
|
16867
16881
|
*/
|
|
16868
16882
|
isMap: boolean;
|
|
16869
16883
|
/**
|
|
16870
|
-
* The
|
|
16884
|
+
* 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.
|
|
16871
16885
|
*
|
|
16872
16886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
|
|
16873
16887
|
*/
|
|
16874
16888
|
loading: "eager" | "lazy";
|
|
16875
16889
|
/**
|
|
16876
|
-
* The deprecated
|
|
16890
|
+
* 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.
|
|
16877
16891
|
* @deprecated
|
|
16878
16892
|
*
|
|
16879
16893
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc)
|
|
@@ -16882,81 +16896,81 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
16882
16896
|
/** @deprecated */
|
|
16883
16897
|
lowsrc: string;
|
|
16884
16898
|
/**
|
|
16885
|
-
* The
|
|
16899
|
+
* 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.
|
|
16886
16900
|
* @deprecated
|
|
16887
16901
|
*
|
|
16888
16902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/name)
|
|
16889
16903
|
*/
|
|
16890
16904
|
name: string;
|
|
16891
16905
|
/**
|
|
16892
|
-
* The
|
|
16906
|
+
* The read-only **`naturalHeight`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected height of the image in CSS pixels.
|
|
16893
16907
|
*
|
|
16894
16908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
|
|
16895
16909
|
*/
|
|
16896
16910
|
readonly naturalHeight: number;
|
|
16897
16911
|
/**
|
|
16898
|
-
* The
|
|
16912
|
+
* The read-only **`naturalWidth`** property of the HTMLImageElement interface returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
|
|
16899
16913
|
*
|
|
16900
16914
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth)
|
|
16901
16915
|
*/
|
|
16902
16916
|
readonly naturalWidth: number;
|
|
16903
16917
|
/**
|
|
16904
|
-
* The **`
|
|
16918
|
+
* 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.
|
|
16905
16919
|
*
|
|
16906
16920
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
|
|
16907
16921
|
*/
|
|
16908
16922
|
referrerPolicy: string;
|
|
16909
16923
|
/**
|
|
16910
|
-
* The
|
|
16924
|
+
* 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.
|
|
16911
16925
|
*
|
|
16912
16926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
|
|
16913
16927
|
*/
|
|
16914
16928
|
sizes: string;
|
|
16915
16929
|
/**
|
|
16916
|
-
* The
|
|
16930
|
+
* 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.
|
|
16917
16931
|
*
|
|
16918
16932
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)
|
|
16919
16933
|
*/
|
|
16920
16934
|
src: string;
|
|
16921
16935
|
/**
|
|
16922
|
-
* The
|
|
16936
|
+
* 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.
|
|
16923
16937
|
*
|
|
16924
16938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset)
|
|
16925
16939
|
*/
|
|
16926
16940
|
srcset: string;
|
|
16927
16941
|
/**
|
|
16928
|
-
* The **`useMap`** property
|
|
16942
|
+
* 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.
|
|
16929
16943
|
*
|
|
16930
16944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
|
|
16931
16945
|
*/
|
|
16932
16946
|
useMap: string;
|
|
16933
16947
|
/**
|
|
16934
|
-
* The
|
|
16948
|
+
* 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.
|
|
16935
16949
|
* @deprecated
|
|
16936
16950
|
*
|
|
16937
16951
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)
|
|
16938
16952
|
*/
|
|
16939
16953
|
vspace: number;
|
|
16940
16954
|
/**
|
|
16941
|
-
* The **`width`** property of the HTMLImageElement interface indicates the width at which
|
|
16955
|
+
* 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.
|
|
16942
16956
|
*
|
|
16943
16957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
|
|
16944
16958
|
*/
|
|
16945
16959
|
width: number;
|
|
16946
16960
|
/**
|
|
16947
|
-
* The read-only
|
|
16961
|
+
* 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.
|
|
16948
16962
|
*
|
|
16949
16963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
|
|
16950
16964
|
*/
|
|
16951
16965
|
readonly x: number;
|
|
16952
16966
|
/**
|
|
16953
|
-
* The read-onl**`y`**
|
|
16967
|
+
* 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.
|
|
16954
16968
|
*
|
|
16955
16969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
|
|
16956
16970
|
*/
|
|
16957
16971
|
readonly y: number;
|
|
16958
16972
|
/**
|
|
16959
|
-
* The **`decode()`** method of the HTMLImageElement interface returns a Promise that resolves once the image is decoded and
|
|
16973
|
+
* 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.
|
|
16960
16974
|
*
|
|
16961
16975
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
|
|
16962
16976
|
*/
|
|
@@ -17422,7 +17436,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17422
17436
|
*/
|
|
17423
17437
|
as: string;
|
|
17424
17438
|
/**
|
|
17425
|
-
* The **`blocking`** property of the HTMLLinkElement
|
|
17439
|
+
* 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.
|
|
17426
17440
|
*
|
|
17427
17441
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking)
|
|
17428
17442
|
*/
|
|
@@ -17443,7 +17457,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17443
17457
|
*/
|
|
17444
17458
|
disabled: boolean;
|
|
17445
17459
|
/**
|
|
17446
|
-
* 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
|
|
17460
|
+
* 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.
|
|
17447
17461
|
*
|
|
17448
17462
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority)
|
|
17449
17463
|
*/
|
|
@@ -17497,7 +17511,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17497
17511
|
*/
|
|
17498
17512
|
rel: string;
|
|
17499
17513
|
/**
|
|
17500
|
-
* The **`relList`**
|
|
17514
|
+
* 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.
|
|
17501
17515
|
*
|
|
17502
17516
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList)
|
|
17503
17517
|
*/
|
|
@@ -17506,7 +17520,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
17506
17520
|
/** @deprecated */
|
|
17507
17521
|
rev: string;
|
|
17508
17522
|
/**
|
|
17509
|
-
* The **`sizes`**
|
|
17523
|
+
* 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.
|
|
17510
17524
|
*
|
|
17511
17525
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes)
|
|
17512
17526
|
*/
|
|
@@ -18382,7 +18396,7 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
18382
18396
|
*/
|
|
18383
18397
|
readonly form: HTMLFormElement | null;
|
|
18384
18398
|
/**
|
|
18385
|
-
* The **`htmlFor`** property of the HTMLOutputElement
|
|
18399
|
+
* 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.
|
|
18386
18400
|
*
|
|
18387
18401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor)
|
|
18388
18402
|
*/
|
|
@@ -18618,7 +18632,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
18618
18632
|
*/
|
|
18619
18633
|
async: boolean;
|
|
18620
18634
|
/**
|
|
18621
|
-
* The **`blocking`** property of the HTMLScriptElement
|
|
18635
|
+
* 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.
|
|
18622
18636
|
*
|
|
18623
18637
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking)
|
|
18624
18638
|
*/
|
|
@@ -18641,7 +18655,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
18641
18655
|
/** @deprecated */
|
|
18642
18656
|
event: string;
|
|
18643
18657
|
/**
|
|
18644
|
-
* 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
|
|
18658
|
+
* 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.
|
|
18645
18659
|
*
|
|
18646
18660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority)
|
|
18647
18661
|
*/
|
|
@@ -18994,7 +19008,7 @@ declare var HTMLSpanElement: {
|
|
|
18994
19008
|
*/
|
|
18995
19009
|
interface HTMLStyleElement extends HTMLElement, LinkStyle {
|
|
18996
19010
|
/**
|
|
18997
|
-
* The **`blocking`** property of the HTMLStyleElement
|
|
19011
|
+
* 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.
|
|
18998
19012
|
*
|
|
18999
19013
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking)
|
|
19000
19014
|
*/
|
|
@@ -19540,7 +19554,7 @@ declare var HTMLTableSectionElement: {
|
|
|
19540
19554
|
*/
|
|
19541
19555
|
interface HTMLTemplateElement extends HTMLElement {
|
|
19542
19556
|
/**
|
|
19543
|
-
* The **`
|
|
19557
|
+
* 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.
|
|
19544
19558
|
*
|
|
19545
19559
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
19546
19560
|
*/
|
|
@@ -24019,7 +24033,7 @@ interface Node extends EventTarget {
|
|
|
24019
24033
|
*/
|
|
24020
24034
|
appendChild<T extends Node>(node: T): T;
|
|
24021
24035
|
/**
|
|
24022
|
-
* 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
|
|
24036
|
+
* 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.
|
|
24023
24037
|
*
|
|
24024
24038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
|
|
24025
24039
|
*/
|
|
@@ -27028,7 +27042,7 @@ interface RTCEncodedVideoFrame {
|
|
|
27028
27042
|
*
|
|
27029
27043
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
|
|
27030
27044
|
*/
|
|
27031
|
-
readonly type:
|
|
27045
|
+
readonly type: EncodedVideoChunkType;
|
|
27032
27046
|
/**
|
|
27033
27047
|
* The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
|
|
27034
27048
|
*
|
|
@@ -28662,7 +28676,7 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
|
|
|
28662
28676
|
*/
|
|
28663
28677
|
rel: string;
|
|
28664
28678
|
/**
|
|
28665
|
-
* The **`relList`**
|
|
28679
|
+
* 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.
|
|
28666
28680
|
*
|
|
28667
28681
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/relList)
|
|
28668
28682
|
*/
|
|
@@ -33942,7 +33956,7 @@ interface StyleSheet {
|
|
|
33942
33956
|
*/
|
|
33943
33957
|
readonly href: string | null;
|
|
33944
33958
|
/**
|
|
33945
|
-
* The **`media`** property of the StyleSheet interface
|
|
33959
|
+
* The read-only **`media`** property of the StyleSheet interface contains a MediaList object representing the intended destination media for style information.
|
|
33946
33960
|
*
|
|
33947
33961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media)
|
|
33948
33962
|
*/
|
|
@@ -34255,14 +34269,14 @@ interface TextDecoderCommon {
|
|
|
34255
34269
|
}
|
|
34256
34270
|
|
|
34257
34271
|
/**
|
|
34258
|
-
* 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.
|
|
34272
|
+
* 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.
|
|
34259
34273
|
*
|
|
34260
34274
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
34261
34275
|
*/
|
|
34262
34276
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
34263
|
-
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
34277
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
|
|
34264
34278
|
readonly readable: ReadableStream<string>;
|
|
34265
|
-
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
34279
|
+
/** 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. */
|
|
34266
34280
|
readonly writable: WritableStream<BufferSource>;
|
|
34267
34281
|
}
|
|
34268
34282
|
|
|
@@ -34306,14 +34320,14 @@ interface TextEncoderCommon {
|
|
|
34306
34320
|
}
|
|
34307
34321
|
|
|
34308
34322
|
/**
|
|
34309
|
-
* 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.
|
|
34323
|
+
* 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.
|
|
34310
34324
|
*
|
|
34311
34325
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
34312
34326
|
*/
|
|
34313
34327
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
34314
|
-
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
34328
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
|
|
34315
34329
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
34316
|
-
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
34330
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
|
|
34317
34331
|
readonly writable: WritableStream<string>;
|
|
34318
34332
|
}
|
|
34319
34333
|
|
|
@@ -34897,13 +34911,13 @@ declare var TrackEvent: {
|
|
|
34897
34911
|
*/
|
|
34898
34912
|
interface TransformStream<I = any, O = any> {
|
|
34899
34913
|
/**
|
|
34900
|
-
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
|
|
34914
|
+
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
|
|
34901
34915
|
*
|
|
34902
34916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
|
|
34903
34917
|
*/
|
|
34904
34918
|
readonly readable: ReadableStream<O>;
|
|
34905
34919
|
/**
|
|
34906
|
-
* The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
|
|
34920
|
+
* 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.
|
|
34907
34921
|
*
|
|
34908
34922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
|
|
34909
34923
|
*/
|
|
@@ -35978,7 +35992,7 @@ interface VisualViewportEventMap {
|
|
|
35978
35992
|
}
|
|
35979
35993
|
|
|
35980
35994
|
/**
|
|
35981
|
-
* The **`VisualViewport`** interface of the
|
|
35995
|
+
* 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.
|
|
35982
35996
|
*
|
|
35983
35997
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport)
|
|
35984
35998
|
*/
|
|
@@ -39027,7 +39041,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
39027
39041
|
*/
|
|
39028
39042
|
readonly length: number;
|
|
39029
39043
|
/**
|
|
39030
|
-
* The **`
|
|
39044
|
+
* The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
|
|
39031
39045
|
*
|
|
39032
39046
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
|
|
39033
39047
|
*/
|
|
@@ -41195,7 +41209,7 @@ declare var innerWidth: number;
|
|
|
41195
41209
|
*/
|
|
41196
41210
|
declare var length: number;
|
|
41197
41211
|
/**
|
|
41198
|
-
* The **`
|
|
41212
|
+
* The read-only **`location`** property of the Window interface returns a Location object with information about the current location of the document.
|
|
41199
41213
|
*
|
|
41200
41214
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
|
|
41201
41215
|
*/
|
|
@@ -42083,7 +42097,6 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
|
42083
42097
|
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
42084
42098
|
type RTCDtlsRole = "client" | "server" | "unknown";
|
|
42085
42099
|
type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
|
|
42086
|
-
type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
|
|
42087
42100
|
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
|
|
42088
42101
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
42089
42102
|
type RTCIceComponent = "rtcp" | "rtp";
|