@types/web 0.0.243 → 0.0.244
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 +112 -63
- package/package.json +1 -1
- package/ts5.5/index.d.ts +112 -63
- package/ts5.6/index.d.ts +112 -63
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.244 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.244.
|
package/index.d.ts
CHANGED
|
@@ -3157,6 +3157,7 @@ interface AnimationTimeline {
|
|
|
3157
3157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3158
3158
|
*/
|
|
3159
3159
|
readonly currentTime: CSSNumberish | null;
|
|
3160
|
+
readonly duration: CSSNumberish | null;
|
|
3160
3161
|
}
|
|
3161
3162
|
|
|
3162
3163
|
declare var AnimationTimeline: {
|
|
@@ -4787,7 +4788,7 @@ interface CSSFontFaceRule extends CSSRule {
|
|
|
4787
4788
|
*
|
|
4788
4789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
4789
4790
|
*/
|
|
4790
|
-
get style():
|
|
4791
|
+
get style(): CSSStyleProperties;
|
|
4791
4792
|
set style(cssText: string);
|
|
4792
4793
|
}
|
|
4793
4794
|
|
|
@@ -4957,7 +4958,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
4957
4958
|
*
|
|
4958
4959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
4959
4960
|
*/
|
|
4960
|
-
get style():
|
|
4961
|
+
get style(): CSSStyleProperties;
|
|
4961
4962
|
set style(cssText: string);
|
|
4962
4963
|
}
|
|
4963
4964
|
|
|
@@ -5292,7 +5293,7 @@ interface CSSNestedDeclarations extends CSSRule {
|
|
|
5292
5293
|
*
|
|
5293
5294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
|
|
5294
5295
|
*/
|
|
5295
|
-
get style():
|
|
5296
|
+
get style(): CSSStyleProperties;
|
|
5296
5297
|
set style(cssText: string);
|
|
5297
5298
|
}
|
|
5298
5299
|
|
|
@@ -5418,7 +5419,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5418
5419
|
*
|
|
5419
5420
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5420
5421
|
*/
|
|
5421
|
-
get style():
|
|
5422
|
+
get style(): CSSStyleProperties;
|
|
5422
5423
|
set style(cssText: string);
|
|
5423
5424
|
}
|
|
5424
5425
|
|
|
@@ -5747,6 +5748,63 @@ declare var CSSStartingStyleRule: {
|
|
|
5747
5748
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
5748
5749
|
*/
|
|
5749
5750
|
interface CSSStyleDeclaration {
|
|
5751
|
+
/**
|
|
5752
|
+
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
5753
|
+
*
|
|
5754
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
5755
|
+
*/
|
|
5756
|
+
cssText: string;
|
|
5757
|
+
/**
|
|
5758
|
+
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
5759
|
+
*
|
|
5760
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
5761
|
+
*/
|
|
5762
|
+
readonly length: number;
|
|
5763
|
+
/**
|
|
5764
|
+
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
5765
|
+
*
|
|
5766
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
5767
|
+
*/
|
|
5768
|
+
readonly parentRule: CSSRule | null;
|
|
5769
|
+
/**
|
|
5770
|
+
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
5771
|
+
*
|
|
5772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
5773
|
+
*/
|
|
5774
|
+
getPropertyPriority(property: string): string;
|
|
5775
|
+
/**
|
|
5776
|
+
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
5777
|
+
*
|
|
5778
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
5779
|
+
*/
|
|
5780
|
+
getPropertyValue(property: string): string;
|
|
5781
|
+
/**
|
|
5782
|
+
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
5783
|
+
*
|
|
5784
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
5785
|
+
*/
|
|
5786
|
+
item(index: number): string;
|
|
5787
|
+
/**
|
|
5788
|
+
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
5789
|
+
*
|
|
5790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
5791
|
+
*/
|
|
5792
|
+
removeProperty(property: string): string;
|
|
5793
|
+
/**
|
|
5794
|
+
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
5795
|
+
*
|
|
5796
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
5797
|
+
*/
|
|
5798
|
+
setProperty(property: string, value: string | null, priority?: string): void;
|
|
5799
|
+
[index: number]: string;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
declare var CSSStyleDeclaration: {
|
|
5803
|
+
prototype: CSSStyleDeclaration;
|
|
5804
|
+
new(): CSSStyleDeclaration;
|
|
5805
|
+
};
|
|
5806
|
+
|
|
5807
|
+
interface CSSStyleProperties extends CSSStyleDeclaration {
|
|
5750
5808
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
5751
5809
|
accentColor: string;
|
|
5752
5810
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
|
|
@@ -5759,6 +5817,9 @@ interface CSSStyleDeclaration {
|
|
|
5759
5817
|
alignmentBaseline: string;
|
|
5760
5818
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
5761
5819
|
all: string;
|
|
5820
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
|
|
5821
|
+
anchorName: string;
|
|
5822
|
+
anchorScope: string;
|
|
5762
5823
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
|
|
5763
5824
|
animation: string;
|
|
5764
5825
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
|
|
@@ -5777,6 +5838,14 @@ interface CSSStyleDeclaration {
|
|
|
5777
5838
|
animationName: string;
|
|
5778
5839
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
|
|
5779
5840
|
animationPlayState: string;
|
|
5841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
|
|
5842
|
+
animationRange: string;
|
|
5843
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
|
|
5844
|
+
animationRangeEnd: string;
|
|
5845
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
|
|
5846
|
+
animationRangeStart: string;
|
|
5847
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
|
|
5848
|
+
animationTimeline: string;
|
|
5780
5849
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
|
|
5781
5850
|
animationTimingFunction: string;
|
|
5782
5851
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
|
|
@@ -6025,12 +6094,6 @@ interface CSSStyleDeclaration {
|
|
|
6025
6094
|
counterSet: string;
|
|
6026
6095
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
|
|
6027
6096
|
cssFloat: string;
|
|
6028
|
-
/**
|
|
6029
|
-
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
6030
|
-
*
|
|
6031
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
6032
|
-
*/
|
|
6033
|
-
cssText: string;
|
|
6034
6097
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6035
6098
|
cursor: string;
|
|
6036
6099
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
|
|
@@ -6045,6 +6108,7 @@ interface CSSStyleDeclaration {
|
|
|
6045
6108
|
display: string;
|
|
6046
6109
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
6047
6110
|
dominantBaseline: string;
|
|
6111
|
+
dynamicRangeLimit: string;
|
|
6048
6112
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
6049
6113
|
emptyCells: string;
|
|
6050
6114
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
@@ -6207,12 +6271,6 @@ interface CSSStyleDeclaration {
|
|
|
6207
6271
|
justifySelf: string;
|
|
6208
6272
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/left) */
|
|
6209
6273
|
left: string;
|
|
6210
|
-
/**
|
|
6211
|
-
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
6212
|
-
*
|
|
6213
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
6214
|
-
*/
|
|
6215
|
-
readonly length: number;
|
|
6216
6274
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
6217
6275
|
letterSpacing: string;
|
|
6218
6276
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
@@ -6403,12 +6461,6 @@ interface CSSStyleDeclaration {
|
|
|
6403
6461
|
pageBreakInside: string;
|
|
6404
6462
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
6405
6463
|
paintOrder: string;
|
|
6406
|
-
/**
|
|
6407
|
-
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
6408
|
-
*
|
|
6409
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
6410
|
-
*/
|
|
6411
|
-
readonly parentRule: CSSRule | null;
|
|
6412
6464
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective) */
|
|
6413
6465
|
perspective: string;
|
|
6414
6466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) */
|
|
@@ -6423,6 +6475,16 @@ interface CSSStyleDeclaration {
|
|
|
6423
6475
|
pointerEvents: string;
|
|
6424
6476
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
6425
6477
|
position: string;
|
|
6478
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
|
|
6479
|
+
positionAnchor: string;
|
|
6480
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
6481
|
+
positionArea: string;
|
|
6482
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
|
|
6483
|
+
positionTry: string;
|
|
6484
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
|
|
6485
|
+
positionTryFallbacks: string;
|
|
6486
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
|
|
6487
|
+
positionTryOrder: string;
|
|
6426
6488
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
6427
6489
|
printColorAdjust: string;
|
|
6428
6490
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -6499,6 +6561,12 @@ interface CSSStyleDeclaration {
|
|
|
6499
6561
|
scrollSnapStop: string;
|
|
6500
6562
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
|
|
6501
6563
|
scrollSnapType: string;
|
|
6564
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
|
|
6565
|
+
scrollTimeline: string;
|
|
6566
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
|
|
6567
|
+
scrollTimelineAxis: string;
|
|
6568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
|
|
6569
|
+
scrollTimelineName: string;
|
|
6502
6570
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
|
|
6503
6571
|
scrollbarColor: string;
|
|
6504
6572
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
|
|
@@ -6593,6 +6661,8 @@ interface CSSStyleDeclaration {
|
|
|
6593
6661
|
textWrapMode: string;
|
|
6594
6662
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
|
|
6595
6663
|
textWrapStyle: string;
|
|
6664
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
|
|
6665
|
+
timelineScope: string;
|
|
6596
6666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
6597
6667
|
top: string;
|
|
6598
6668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -6627,6 +6697,14 @@ interface CSSStyleDeclaration {
|
|
|
6627
6697
|
vectorEffect: string;
|
|
6628
6698
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
6629
6699
|
verticalAlign: string;
|
|
6700
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
|
|
6701
|
+
viewTimeline: string;
|
|
6702
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
|
|
6703
|
+
viewTimelineAxis: string;
|
|
6704
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
|
|
6705
|
+
viewTimelineInset: string;
|
|
6706
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
|
|
6707
|
+
viewTimelineName: string;
|
|
6630
6708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
|
|
6631
6709
|
viewTransitionClass: string;
|
|
6632
6710
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
|
|
@@ -7063,42 +7141,11 @@ interface CSSStyleDeclaration {
|
|
|
7063
7141
|
zIndex: string;
|
|
7064
7142
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */
|
|
7065
7143
|
zoom: string;
|
|
7066
|
-
/**
|
|
7067
|
-
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
7068
|
-
*
|
|
7069
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
7070
|
-
*/
|
|
7071
|
-
getPropertyPriority(property: string): string;
|
|
7072
|
-
/**
|
|
7073
|
-
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
7074
|
-
*
|
|
7075
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
7076
|
-
*/
|
|
7077
|
-
getPropertyValue(property: string): string;
|
|
7078
|
-
/**
|
|
7079
|
-
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
7080
|
-
*
|
|
7081
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
7082
|
-
*/
|
|
7083
|
-
item(index: number): string;
|
|
7084
|
-
/**
|
|
7085
|
-
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
7086
|
-
*
|
|
7087
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
7088
|
-
*/
|
|
7089
|
-
removeProperty(property: string): string;
|
|
7090
|
-
/**
|
|
7091
|
-
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
7092
|
-
*
|
|
7093
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
7094
|
-
*/
|
|
7095
|
-
setProperty(property: string, value: string | null, priority?: string): void;
|
|
7096
|
-
[index: number]: string;
|
|
7097
7144
|
}
|
|
7098
7145
|
|
|
7099
|
-
declare var
|
|
7100
|
-
prototype:
|
|
7101
|
-
new():
|
|
7146
|
+
declare var CSSStyleProperties: {
|
|
7147
|
+
prototype: CSSStyleProperties;
|
|
7148
|
+
new(): CSSStyleProperties;
|
|
7102
7149
|
};
|
|
7103
7150
|
|
|
7104
7151
|
/**
|
|
@@ -7118,7 +7165,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7118
7165
|
*
|
|
7119
7166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7120
7167
|
*/
|
|
7121
|
-
get style():
|
|
7168
|
+
get style(): CSSStyleProperties;
|
|
7122
7169
|
set style(cssText: string);
|
|
7123
7170
|
/**
|
|
7124
7171
|
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
@@ -10370,6 +10417,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10370
10417
|
write(...text: string[]): void;
|
|
10371
10418
|
/**
|
|
10372
10419
|
* The **`writeln()`** method of the Document interface writes text in one or more TrustedHTML or string parameters to a document stream opened by document.open(), followed by a newline character.
|
|
10420
|
+
* @deprecated
|
|
10373
10421
|
*
|
|
10374
10422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10375
10423
|
*/
|
|
@@ -18678,6 +18726,12 @@ interface ImageCapture {
|
|
|
18678
18726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
|
|
18679
18727
|
*/
|
|
18680
18728
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18729
|
+
/**
|
|
18730
|
+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18731
|
+
*
|
|
18732
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18733
|
+
*/
|
|
18734
|
+
grabFrame(): Promise<ImageBitmap>;
|
|
18681
18735
|
/**
|
|
18682
18736
|
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18683
18737
|
*
|
|
@@ -18952,6 +19006,7 @@ interface IntersectionObserver {
|
|
|
18952
19006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
|
18953
19007
|
*/
|
|
18954
19008
|
readonly rootMargin: string;
|
|
19009
|
+
readonly scrollMargin: string;
|
|
18955
19010
|
/**
|
|
18956
19011
|
* The IntersectionObserver interface's read-only **`thresholds`** property returns the list of intersection thresholds that was specified when the observer was instantiated with only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.
|
|
18957
19012
|
*
|
|
@@ -22016,12 +22071,6 @@ interface NotificationEventMap {
|
|
|
22016
22071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
22017
22072
|
*/
|
|
22018
22073
|
interface Notification extends EventTarget {
|
|
22019
|
-
/**
|
|
22020
|
-
* The **`badge`** read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.
|
|
22021
|
-
*
|
|
22022
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
|
22023
|
-
*/
|
|
22024
|
-
readonly badge: string;
|
|
22025
22074
|
/**
|
|
22026
22075
|
* The **`body`** read-only property of the specified in the `body` option of the A string.
|
|
22027
22076
|
*
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -3157,6 +3157,7 @@ interface AnimationTimeline {
|
|
|
3157
3157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3158
3158
|
*/
|
|
3159
3159
|
readonly currentTime: CSSNumberish | null;
|
|
3160
|
+
readonly duration: CSSNumberish | null;
|
|
3160
3161
|
}
|
|
3161
3162
|
|
|
3162
3163
|
declare var AnimationTimeline: {
|
|
@@ -4787,7 +4788,7 @@ interface CSSFontFaceRule extends CSSRule {
|
|
|
4787
4788
|
*
|
|
4788
4789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
4789
4790
|
*/
|
|
4790
|
-
readonly style:
|
|
4791
|
+
readonly style: CSSStyleProperties;
|
|
4791
4792
|
}
|
|
4792
4793
|
|
|
4793
4794
|
declare var CSSFontFaceRule: {
|
|
@@ -4955,7 +4956,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
4955
4956
|
*
|
|
4956
4957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
4957
4958
|
*/
|
|
4958
|
-
readonly style:
|
|
4959
|
+
readonly style: CSSStyleProperties;
|
|
4959
4960
|
}
|
|
4960
4961
|
|
|
4961
4962
|
declare var CSSKeyframeRule: {
|
|
@@ -5288,7 +5289,7 @@ interface CSSNestedDeclarations extends CSSRule {
|
|
|
5288
5289
|
*
|
|
5289
5290
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
|
|
5290
5291
|
*/
|
|
5291
|
-
readonly style:
|
|
5292
|
+
readonly style: CSSStyleProperties;
|
|
5292
5293
|
}
|
|
5293
5294
|
|
|
5294
5295
|
declare var CSSNestedDeclarations: {
|
|
@@ -5413,7 +5414,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5413
5414
|
*
|
|
5414
5415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5415
5416
|
*/
|
|
5416
|
-
readonly style:
|
|
5417
|
+
readonly style: CSSStyleProperties;
|
|
5417
5418
|
}
|
|
5418
5419
|
|
|
5419
5420
|
declare var CSSPageRule: {
|
|
@@ -5741,6 +5742,63 @@ declare var CSSStartingStyleRule: {
|
|
|
5741
5742
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
5742
5743
|
*/
|
|
5743
5744
|
interface CSSStyleDeclaration {
|
|
5745
|
+
/**
|
|
5746
|
+
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
5747
|
+
*
|
|
5748
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
5749
|
+
*/
|
|
5750
|
+
cssText: string;
|
|
5751
|
+
/**
|
|
5752
|
+
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
5753
|
+
*
|
|
5754
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
5755
|
+
*/
|
|
5756
|
+
readonly length: number;
|
|
5757
|
+
/**
|
|
5758
|
+
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
5759
|
+
*
|
|
5760
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
5761
|
+
*/
|
|
5762
|
+
readonly parentRule: CSSRule | null;
|
|
5763
|
+
/**
|
|
5764
|
+
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
5765
|
+
*
|
|
5766
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
5767
|
+
*/
|
|
5768
|
+
getPropertyPriority(property: string): string;
|
|
5769
|
+
/**
|
|
5770
|
+
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
5771
|
+
*
|
|
5772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
5773
|
+
*/
|
|
5774
|
+
getPropertyValue(property: string): string;
|
|
5775
|
+
/**
|
|
5776
|
+
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
5777
|
+
*
|
|
5778
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
5779
|
+
*/
|
|
5780
|
+
item(index: number): string;
|
|
5781
|
+
/**
|
|
5782
|
+
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
5783
|
+
*
|
|
5784
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
5785
|
+
*/
|
|
5786
|
+
removeProperty(property: string): string;
|
|
5787
|
+
/**
|
|
5788
|
+
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
5789
|
+
*
|
|
5790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
5791
|
+
*/
|
|
5792
|
+
setProperty(property: string, value: string | null, priority?: string): void;
|
|
5793
|
+
[index: number]: string;
|
|
5794
|
+
}
|
|
5795
|
+
|
|
5796
|
+
declare var CSSStyleDeclaration: {
|
|
5797
|
+
prototype: CSSStyleDeclaration;
|
|
5798
|
+
new(): CSSStyleDeclaration;
|
|
5799
|
+
};
|
|
5800
|
+
|
|
5801
|
+
interface CSSStyleProperties extends CSSStyleDeclaration {
|
|
5744
5802
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
5745
5803
|
accentColor: string;
|
|
5746
5804
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
|
|
@@ -5753,6 +5811,9 @@ interface CSSStyleDeclaration {
|
|
|
5753
5811
|
alignmentBaseline: string;
|
|
5754
5812
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
5755
5813
|
all: string;
|
|
5814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
|
|
5815
|
+
anchorName: string;
|
|
5816
|
+
anchorScope: string;
|
|
5756
5817
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
|
|
5757
5818
|
animation: string;
|
|
5758
5819
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
|
|
@@ -5771,6 +5832,14 @@ interface CSSStyleDeclaration {
|
|
|
5771
5832
|
animationName: string;
|
|
5772
5833
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
|
|
5773
5834
|
animationPlayState: string;
|
|
5835
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
|
|
5836
|
+
animationRange: string;
|
|
5837
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
|
|
5838
|
+
animationRangeEnd: string;
|
|
5839
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
|
|
5840
|
+
animationRangeStart: string;
|
|
5841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
|
|
5842
|
+
animationTimeline: string;
|
|
5774
5843
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
|
|
5775
5844
|
animationTimingFunction: string;
|
|
5776
5845
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
|
|
@@ -6019,12 +6088,6 @@ interface CSSStyleDeclaration {
|
|
|
6019
6088
|
counterSet: string;
|
|
6020
6089
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
|
|
6021
6090
|
cssFloat: string;
|
|
6022
|
-
/**
|
|
6023
|
-
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
6024
|
-
*
|
|
6025
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
6026
|
-
*/
|
|
6027
|
-
cssText: string;
|
|
6028
6091
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6029
6092
|
cursor: string;
|
|
6030
6093
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
|
|
@@ -6039,6 +6102,7 @@ interface CSSStyleDeclaration {
|
|
|
6039
6102
|
display: string;
|
|
6040
6103
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
6041
6104
|
dominantBaseline: string;
|
|
6105
|
+
dynamicRangeLimit: string;
|
|
6042
6106
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
6043
6107
|
emptyCells: string;
|
|
6044
6108
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
@@ -6201,12 +6265,6 @@ interface CSSStyleDeclaration {
|
|
|
6201
6265
|
justifySelf: string;
|
|
6202
6266
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/left) */
|
|
6203
6267
|
left: string;
|
|
6204
|
-
/**
|
|
6205
|
-
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
6206
|
-
*
|
|
6207
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
6208
|
-
*/
|
|
6209
|
-
readonly length: number;
|
|
6210
6268
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
6211
6269
|
letterSpacing: string;
|
|
6212
6270
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
@@ -6397,12 +6455,6 @@ interface CSSStyleDeclaration {
|
|
|
6397
6455
|
pageBreakInside: string;
|
|
6398
6456
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
6399
6457
|
paintOrder: string;
|
|
6400
|
-
/**
|
|
6401
|
-
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
6402
|
-
*
|
|
6403
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
6404
|
-
*/
|
|
6405
|
-
readonly parentRule: CSSRule | null;
|
|
6406
6458
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective) */
|
|
6407
6459
|
perspective: string;
|
|
6408
6460
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) */
|
|
@@ -6417,6 +6469,16 @@ interface CSSStyleDeclaration {
|
|
|
6417
6469
|
pointerEvents: string;
|
|
6418
6470
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
6419
6471
|
position: string;
|
|
6472
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
|
|
6473
|
+
positionAnchor: string;
|
|
6474
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
6475
|
+
positionArea: string;
|
|
6476
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
|
|
6477
|
+
positionTry: string;
|
|
6478
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
|
|
6479
|
+
positionTryFallbacks: string;
|
|
6480
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
|
|
6481
|
+
positionTryOrder: string;
|
|
6420
6482
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
6421
6483
|
printColorAdjust: string;
|
|
6422
6484
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -6493,6 +6555,12 @@ interface CSSStyleDeclaration {
|
|
|
6493
6555
|
scrollSnapStop: string;
|
|
6494
6556
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
|
|
6495
6557
|
scrollSnapType: string;
|
|
6558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
|
|
6559
|
+
scrollTimeline: string;
|
|
6560
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
|
|
6561
|
+
scrollTimelineAxis: string;
|
|
6562
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
|
|
6563
|
+
scrollTimelineName: string;
|
|
6496
6564
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
|
|
6497
6565
|
scrollbarColor: string;
|
|
6498
6566
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
|
|
@@ -6587,6 +6655,8 @@ interface CSSStyleDeclaration {
|
|
|
6587
6655
|
textWrapMode: string;
|
|
6588
6656
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
|
|
6589
6657
|
textWrapStyle: string;
|
|
6658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
|
|
6659
|
+
timelineScope: string;
|
|
6590
6660
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
6591
6661
|
top: string;
|
|
6592
6662
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -6621,6 +6691,14 @@ interface CSSStyleDeclaration {
|
|
|
6621
6691
|
vectorEffect: string;
|
|
6622
6692
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
6623
6693
|
verticalAlign: string;
|
|
6694
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
|
|
6695
|
+
viewTimeline: string;
|
|
6696
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
|
|
6697
|
+
viewTimelineAxis: string;
|
|
6698
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
|
|
6699
|
+
viewTimelineInset: string;
|
|
6700
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
|
|
6701
|
+
viewTimelineName: string;
|
|
6624
6702
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
|
|
6625
6703
|
viewTransitionClass: string;
|
|
6626
6704
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
|
|
@@ -7057,42 +7135,11 @@ interface CSSStyleDeclaration {
|
|
|
7057
7135
|
zIndex: string;
|
|
7058
7136
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */
|
|
7059
7137
|
zoom: string;
|
|
7060
|
-
/**
|
|
7061
|
-
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
7062
|
-
*
|
|
7063
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
7064
|
-
*/
|
|
7065
|
-
getPropertyPriority(property: string): string;
|
|
7066
|
-
/**
|
|
7067
|
-
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
7068
|
-
*
|
|
7069
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
7070
|
-
*/
|
|
7071
|
-
getPropertyValue(property: string): string;
|
|
7072
|
-
/**
|
|
7073
|
-
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
7074
|
-
*
|
|
7075
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
7076
|
-
*/
|
|
7077
|
-
item(index: number): string;
|
|
7078
|
-
/**
|
|
7079
|
-
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
7080
|
-
*
|
|
7081
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
7082
|
-
*/
|
|
7083
|
-
removeProperty(property: string): string;
|
|
7084
|
-
/**
|
|
7085
|
-
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
7086
|
-
*
|
|
7087
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
7088
|
-
*/
|
|
7089
|
-
setProperty(property: string, value: string | null, priority?: string): void;
|
|
7090
|
-
[index: number]: string;
|
|
7091
7138
|
}
|
|
7092
7139
|
|
|
7093
|
-
declare var
|
|
7094
|
-
prototype:
|
|
7095
|
-
new():
|
|
7140
|
+
declare var CSSStyleProperties: {
|
|
7141
|
+
prototype: CSSStyleProperties;
|
|
7142
|
+
new(): CSSStyleProperties;
|
|
7096
7143
|
};
|
|
7097
7144
|
|
|
7098
7145
|
/**
|
|
@@ -7112,7 +7159,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7112
7159
|
*
|
|
7113
7160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7114
7161
|
*/
|
|
7115
|
-
readonly style:
|
|
7162
|
+
readonly style: CSSStyleProperties;
|
|
7116
7163
|
/**
|
|
7117
7164
|
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
7118
7165
|
*
|
|
@@ -10363,6 +10410,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10363
10410
|
write(...text: string[]): void;
|
|
10364
10411
|
/**
|
|
10365
10412
|
* The **`writeln()`** method of the Document interface writes text in one or more TrustedHTML or string parameters to a document stream opened by document.open(), followed by a newline character.
|
|
10413
|
+
* @deprecated
|
|
10366
10414
|
*
|
|
10367
10415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10368
10416
|
*/
|
|
@@ -18658,6 +18706,12 @@ interface ImageCapture {
|
|
|
18658
18706
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
|
|
18659
18707
|
*/
|
|
18660
18708
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18709
|
+
/**
|
|
18710
|
+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18711
|
+
*
|
|
18712
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18713
|
+
*/
|
|
18714
|
+
grabFrame(): Promise<ImageBitmap>;
|
|
18661
18715
|
/**
|
|
18662
18716
|
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18663
18717
|
*
|
|
@@ -18932,6 +18986,7 @@ interface IntersectionObserver {
|
|
|
18932
18986
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
|
18933
18987
|
*/
|
|
18934
18988
|
readonly rootMargin: string;
|
|
18989
|
+
readonly scrollMargin: string;
|
|
18935
18990
|
/**
|
|
18936
18991
|
* The IntersectionObserver interface's read-only **`thresholds`** property returns the list of intersection thresholds that was specified when the observer was instantiated with only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.
|
|
18937
18992
|
*
|
|
@@ -21996,12 +22051,6 @@ interface NotificationEventMap {
|
|
|
21996
22051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
21997
22052
|
*/
|
|
21998
22053
|
interface Notification extends EventTarget {
|
|
21999
|
-
/**
|
|
22000
|
-
* The **`badge`** read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.
|
|
22001
|
-
*
|
|
22002
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
|
22003
|
-
*/
|
|
22004
|
-
readonly badge: string;
|
|
22005
22054
|
/**
|
|
22006
22055
|
* The **`body`** read-only property of the specified in the `body` option of the A string.
|
|
22007
22056
|
*
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -3157,6 +3157,7 @@ interface AnimationTimeline {
|
|
|
3157
3157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3158
3158
|
*/
|
|
3159
3159
|
readonly currentTime: CSSNumberish | null;
|
|
3160
|
+
readonly duration: CSSNumberish | null;
|
|
3160
3161
|
}
|
|
3161
3162
|
|
|
3162
3163
|
declare var AnimationTimeline: {
|
|
@@ -4787,7 +4788,7 @@ interface CSSFontFaceRule extends CSSRule {
|
|
|
4787
4788
|
*
|
|
4788
4789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
4789
4790
|
*/
|
|
4790
|
-
get style():
|
|
4791
|
+
get style(): CSSStyleProperties;
|
|
4791
4792
|
set style(cssText: string);
|
|
4792
4793
|
}
|
|
4793
4794
|
|
|
@@ -4957,7 +4958,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
4957
4958
|
*
|
|
4958
4959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
4959
4960
|
*/
|
|
4960
|
-
get style():
|
|
4961
|
+
get style(): CSSStyleProperties;
|
|
4961
4962
|
set style(cssText: string);
|
|
4962
4963
|
}
|
|
4963
4964
|
|
|
@@ -5292,7 +5293,7 @@ interface CSSNestedDeclarations extends CSSRule {
|
|
|
5292
5293
|
*
|
|
5293
5294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
|
|
5294
5295
|
*/
|
|
5295
|
-
get style():
|
|
5296
|
+
get style(): CSSStyleProperties;
|
|
5296
5297
|
set style(cssText: string);
|
|
5297
5298
|
}
|
|
5298
5299
|
|
|
@@ -5418,7 +5419,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5418
5419
|
*
|
|
5419
5420
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5420
5421
|
*/
|
|
5421
|
-
get style():
|
|
5422
|
+
get style(): CSSStyleProperties;
|
|
5422
5423
|
set style(cssText: string);
|
|
5423
5424
|
}
|
|
5424
5425
|
|
|
@@ -5747,6 +5748,63 @@ declare var CSSStartingStyleRule: {
|
|
|
5747
5748
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
5748
5749
|
*/
|
|
5749
5750
|
interface CSSStyleDeclaration {
|
|
5751
|
+
/**
|
|
5752
|
+
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
5753
|
+
*
|
|
5754
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
5755
|
+
*/
|
|
5756
|
+
cssText: string;
|
|
5757
|
+
/**
|
|
5758
|
+
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
5759
|
+
*
|
|
5760
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
5761
|
+
*/
|
|
5762
|
+
readonly length: number;
|
|
5763
|
+
/**
|
|
5764
|
+
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
5765
|
+
*
|
|
5766
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
5767
|
+
*/
|
|
5768
|
+
readonly parentRule: CSSRule | null;
|
|
5769
|
+
/**
|
|
5770
|
+
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
5771
|
+
*
|
|
5772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
5773
|
+
*/
|
|
5774
|
+
getPropertyPriority(property: string): string;
|
|
5775
|
+
/**
|
|
5776
|
+
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
5777
|
+
*
|
|
5778
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
5779
|
+
*/
|
|
5780
|
+
getPropertyValue(property: string): string;
|
|
5781
|
+
/**
|
|
5782
|
+
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
5783
|
+
*
|
|
5784
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
5785
|
+
*/
|
|
5786
|
+
item(index: number): string;
|
|
5787
|
+
/**
|
|
5788
|
+
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
5789
|
+
*
|
|
5790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
5791
|
+
*/
|
|
5792
|
+
removeProperty(property: string): string;
|
|
5793
|
+
/**
|
|
5794
|
+
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
5795
|
+
*
|
|
5796
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
5797
|
+
*/
|
|
5798
|
+
setProperty(property: string, value: string | null, priority?: string): void;
|
|
5799
|
+
[index: number]: string;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
declare var CSSStyleDeclaration: {
|
|
5803
|
+
prototype: CSSStyleDeclaration;
|
|
5804
|
+
new(): CSSStyleDeclaration;
|
|
5805
|
+
};
|
|
5806
|
+
|
|
5807
|
+
interface CSSStyleProperties extends CSSStyleDeclaration {
|
|
5750
5808
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
5751
5809
|
accentColor: string;
|
|
5752
5810
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
|
|
@@ -5759,6 +5817,9 @@ interface CSSStyleDeclaration {
|
|
|
5759
5817
|
alignmentBaseline: string;
|
|
5760
5818
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
5761
5819
|
all: string;
|
|
5820
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
|
|
5821
|
+
anchorName: string;
|
|
5822
|
+
anchorScope: string;
|
|
5762
5823
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
|
|
5763
5824
|
animation: string;
|
|
5764
5825
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
|
|
@@ -5777,6 +5838,14 @@ interface CSSStyleDeclaration {
|
|
|
5777
5838
|
animationName: string;
|
|
5778
5839
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
|
|
5779
5840
|
animationPlayState: string;
|
|
5841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
|
|
5842
|
+
animationRange: string;
|
|
5843
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
|
|
5844
|
+
animationRangeEnd: string;
|
|
5845
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
|
|
5846
|
+
animationRangeStart: string;
|
|
5847
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
|
|
5848
|
+
animationTimeline: string;
|
|
5780
5849
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
|
|
5781
5850
|
animationTimingFunction: string;
|
|
5782
5851
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
|
|
@@ -6025,12 +6094,6 @@ interface CSSStyleDeclaration {
|
|
|
6025
6094
|
counterSet: string;
|
|
6026
6095
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
|
|
6027
6096
|
cssFloat: string;
|
|
6028
|
-
/**
|
|
6029
|
-
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
6030
|
-
*
|
|
6031
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
6032
|
-
*/
|
|
6033
|
-
cssText: string;
|
|
6034
6097
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6035
6098
|
cursor: string;
|
|
6036
6099
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
|
|
@@ -6045,6 +6108,7 @@ interface CSSStyleDeclaration {
|
|
|
6045
6108
|
display: string;
|
|
6046
6109
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
6047
6110
|
dominantBaseline: string;
|
|
6111
|
+
dynamicRangeLimit: string;
|
|
6048
6112
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
6049
6113
|
emptyCells: string;
|
|
6050
6114
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
@@ -6207,12 +6271,6 @@ interface CSSStyleDeclaration {
|
|
|
6207
6271
|
justifySelf: string;
|
|
6208
6272
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/left) */
|
|
6209
6273
|
left: string;
|
|
6210
|
-
/**
|
|
6211
|
-
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
6212
|
-
*
|
|
6213
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
6214
|
-
*/
|
|
6215
|
-
readonly length: number;
|
|
6216
6274
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
6217
6275
|
letterSpacing: string;
|
|
6218
6276
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
@@ -6403,12 +6461,6 @@ interface CSSStyleDeclaration {
|
|
|
6403
6461
|
pageBreakInside: string;
|
|
6404
6462
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
6405
6463
|
paintOrder: string;
|
|
6406
|
-
/**
|
|
6407
|
-
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
6408
|
-
*
|
|
6409
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
6410
|
-
*/
|
|
6411
|
-
readonly parentRule: CSSRule | null;
|
|
6412
6464
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective) */
|
|
6413
6465
|
perspective: string;
|
|
6414
6466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) */
|
|
@@ -6423,6 +6475,16 @@ interface CSSStyleDeclaration {
|
|
|
6423
6475
|
pointerEvents: string;
|
|
6424
6476
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
6425
6477
|
position: string;
|
|
6478
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
|
|
6479
|
+
positionAnchor: string;
|
|
6480
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
6481
|
+
positionArea: string;
|
|
6482
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
|
|
6483
|
+
positionTry: string;
|
|
6484
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
|
|
6485
|
+
positionTryFallbacks: string;
|
|
6486
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
|
|
6487
|
+
positionTryOrder: string;
|
|
6426
6488
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
6427
6489
|
printColorAdjust: string;
|
|
6428
6490
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -6499,6 +6561,12 @@ interface CSSStyleDeclaration {
|
|
|
6499
6561
|
scrollSnapStop: string;
|
|
6500
6562
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
|
|
6501
6563
|
scrollSnapType: string;
|
|
6564
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
|
|
6565
|
+
scrollTimeline: string;
|
|
6566
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
|
|
6567
|
+
scrollTimelineAxis: string;
|
|
6568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
|
|
6569
|
+
scrollTimelineName: string;
|
|
6502
6570
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
|
|
6503
6571
|
scrollbarColor: string;
|
|
6504
6572
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
|
|
@@ -6593,6 +6661,8 @@ interface CSSStyleDeclaration {
|
|
|
6593
6661
|
textWrapMode: string;
|
|
6594
6662
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
|
|
6595
6663
|
textWrapStyle: string;
|
|
6664
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
|
|
6665
|
+
timelineScope: string;
|
|
6596
6666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
6597
6667
|
top: string;
|
|
6598
6668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -6627,6 +6697,14 @@ interface CSSStyleDeclaration {
|
|
|
6627
6697
|
vectorEffect: string;
|
|
6628
6698
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
6629
6699
|
verticalAlign: string;
|
|
6700
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
|
|
6701
|
+
viewTimeline: string;
|
|
6702
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
|
|
6703
|
+
viewTimelineAxis: string;
|
|
6704
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
|
|
6705
|
+
viewTimelineInset: string;
|
|
6706
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
|
|
6707
|
+
viewTimelineName: string;
|
|
6630
6708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
|
|
6631
6709
|
viewTransitionClass: string;
|
|
6632
6710
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
|
|
@@ -7063,42 +7141,11 @@ interface CSSStyleDeclaration {
|
|
|
7063
7141
|
zIndex: string;
|
|
7064
7142
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */
|
|
7065
7143
|
zoom: string;
|
|
7066
|
-
/**
|
|
7067
|
-
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
7068
|
-
*
|
|
7069
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
7070
|
-
*/
|
|
7071
|
-
getPropertyPriority(property: string): string;
|
|
7072
|
-
/**
|
|
7073
|
-
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
7074
|
-
*
|
|
7075
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
7076
|
-
*/
|
|
7077
|
-
getPropertyValue(property: string): string;
|
|
7078
|
-
/**
|
|
7079
|
-
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
7080
|
-
*
|
|
7081
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
7082
|
-
*/
|
|
7083
|
-
item(index: number): string;
|
|
7084
|
-
/**
|
|
7085
|
-
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
7086
|
-
*
|
|
7087
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
7088
|
-
*/
|
|
7089
|
-
removeProperty(property: string): string;
|
|
7090
|
-
/**
|
|
7091
|
-
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
7092
|
-
*
|
|
7093
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
7094
|
-
*/
|
|
7095
|
-
setProperty(property: string, value: string | null, priority?: string): void;
|
|
7096
|
-
[index: number]: string;
|
|
7097
7144
|
}
|
|
7098
7145
|
|
|
7099
|
-
declare var
|
|
7100
|
-
prototype:
|
|
7101
|
-
new():
|
|
7146
|
+
declare var CSSStyleProperties: {
|
|
7147
|
+
prototype: CSSStyleProperties;
|
|
7148
|
+
new(): CSSStyleProperties;
|
|
7102
7149
|
};
|
|
7103
7150
|
|
|
7104
7151
|
/**
|
|
@@ -7118,7 +7165,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7118
7165
|
*
|
|
7119
7166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7120
7167
|
*/
|
|
7121
|
-
get style():
|
|
7168
|
+
get style(): CSSStyleProperties;
|
|
7122
7169
|
set style(cssText: string);
|
|
7123
7170
|
/**
|
|
7124
7171
|
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
@@ -10370,6 +10417,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10370
10417
|
write(...text: string[]): void;
|
|
10371
10418
|
/**
|
|
10372
10419
|
* The **`writeln()`** method of the Document interface writes text in one or more TrustedHTML or string parameters to a document stream opened by document.open(), followed by a newline character.
|
|
10420
|
+
* @deprecated
|
|
10373
10421
|
*
|
|
10374
10422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10375
10423
|
*/
|
|
@@ -18678,6 +18726,12 @@ interface ImageCapture {
|
|
|
18678
18726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
|
|
18679
18727
|
*/
|
|
18680
18728
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18729
|
+
/**
|
|
18730
|
+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18731
|
+
*
|
|
18732
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18733
|
+
*/
|
|
18734
|
+
grabFrame(): Promise<ImageBitmap>;
|
|
18681
18735
|
/**
|
|
18682
18736
|
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18683
18737
|
*
|
|
@@ -18952,6 +19006,7 @@ interface IntersectionObserver {
|
|
|
18952
19006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
|
18953
19007
|
*/
|
|
18954
19008
|
readonly rootMargin: string;
|
|
19009
|
+
readonly scrollMargin: string;
|
|
18955
19010
|
/**
|
|
18956
19011
|
* The IntersectionObserver interface's read-only **`thresholds`** property returns the list of intersection thresholds that was specified when the observer was instantiated with only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.
|
|
18957
19012
|
*
|
|
@@ -22016,12 +22071,6 @@ interface NotificationEventMap {
|
|
|
22016
22071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
22017
22072
|
*/
|
|
22018
22073
|
interface Notification extends EventTarget {
|
|
22019
|
-
/**
|
|
22020
|
-
* The **`badge`** read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.
|
|
22021
|
-
*
|
|
22022
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
|
22023
|
-
*/
|
|
22024
|
-
readonly badge: string;
|
|
22025
22074
|
/**
|
|
22026
22075
|
* The **`body`** read-only property of the specified in the `body` option of the A string.
|
|
22027
22076
|
*
|