@types/web 0.0.278 → 0.0.280
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 +40 -26
- package/package.json +1 -1
- package/ts5.5/index.d.ts +40 -26
- package/ts5.6/index.d.ts +40 -26
- package/ts5.9/index.d.ts +40 -26
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.280 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.280.
|
package/index.d.ts
CHANGED
|
@@ -5999,7 +5999,7 @@ declare var CSSStartingStyleRule: {
|
|
|
5999
5999
|
};
|
|
6000
6000
|
|
|
6001
6001
|
/**
|
|
6002
|
-
* The **`CSSStyleDeclaration`** interface
|
|
6002
|
+
* The **`CSSStyleDeclaration`** interface is the base class for objects that represent CSS declaration blocks with different supported sets of CSS style information:
|
|
6003
6003
|
*
|
|
6004
6004
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
6005
6005
|
*/
|
|
@@ -6063,6 +6063,11 @@ declare var CSSStyleDeclaration: {
|
|
|
6063
6063
|
new(): CSSStyleDeclaration;
|
|
6064
6064
|
};
|
|
6065
6065
|
|
|
6066
|
+
/**
|
|
6067
|
+
* The **`CSSStyleProperties`** interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
|
|
6068
|
+
*
|
|
6069
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
|
|
6070
|
+
*/
|
|
6066
6071
|
interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
6067
6072
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
6068
6073
|
accentColor: string;
|
|
@@ -6351,7 +6356,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6351
6356
|
counterReset: string;
|
|
6352
6357
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
|
|
6353
6358
|
counterSet: string;
|
|
6354
|
-
/**
|
|
6359
|
+
/**
|
|
6360
|
+
* The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
|
|
6361
|
+
*
|
|
6362
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
|
|
6363
|
+
*/
|
|
6355
6364
|
cssFloat: string;
|
|
6356
6365
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6357
6366
|
cursor: string;
|
|
@@ -7425,7 +7434,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7425
7434
|
*/
|
|
7426
7435
|
selectorText: string;
|
|
7427
7436
|
/**
|
|
7428
|
-
* The read-only **`style`** property is
|
|
7437
|
+
* The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
|
|
7429
7438
|
*
|
|
7430
7439
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7431
7440
|
*/
|
|
@@ -9347,7 +9356,7 @@ declare var DOMMatrixReadOnly: {
|
|
|
9347
9356
|
*/
|
|
9348
9357
|
interface DOMParser {
|
|
9349
9358
|
/**
|
|
9350
|
-
* The **`parseFromString()`** method of the DOMParser interface parses
|
|
9359
|
+
* The **`parseFromString()`** method of the DOMParser interface parses an input containing either HTML or XML, returning a Document with the type given in the Document/contentType property.
|
|
9351
9360
|
*
|
|
9352
9361
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)
|
|
9353
9362
|
*/
|
|
@@ -11385,28 +11394,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11385
11394
|
*
|
|
11386
11395
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
|
|
11387
11396
|
*/
|
|
11388
|
-
scroll(options?: ScrollToOptions): void
|
|
11389
|
-
scroll(x: number, y: number): void
|
|
11397
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
11398
|
+
scroll(x: number, y: number): Promise<void>;
|
|
11390
11399
|
/**
|
|
11391
11400
|
* The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
|
|
11392
11401
|
*
|
|
11393
11402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
|
|
11394
11403
|
*/
|
|
11395
|
-
scrollBy(options?: ScrollToOptions): void
|
|
11396
|
-
scrollBy(x: number, y: number): void
|
|
11404
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
11405
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
11397
11406
|
/**
|
|
11398
11407
|
* The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which `scrollIntoView()` is called is visible to the user.
|
|
11399
11408
|
*
|
|
11400
11409
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
|
|
11401
11410
|
*/
|
|
11402
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void
|
|
11411
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
|
|
11403
11412
|
/**
|
|
11404
11413
|
* The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
|
|
11405
11414
|
*
|
|
11406
11415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
|
|
11407
11416
|
*/
|
|
11408
|
-
scrollTo(options?: ScrollToOptions): void
|
|
11409
|
-
scrollTo(x: number, y: number): void
|
|
11417
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
11418
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
11410
11419
|
/**
|
|
11411
11420
|
* The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element.
|
|
11412
11421
|
*
|
|
@@ -13035,6 +13044,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
13035
13044
|
"change": Event;
|
|
13036
13045
|
"click": PointerEvent;
|
|
13037
13046
|
"close": Event;
|
|
13047
|
+
"command": Event;
|
|
13038
13048
|
"compositionend": CompositionEvent;
|
|
13039
13049
|
"compositionstart": CompositionEvent;
|
|
13040
13050
|
"compositionupdate": CompositionEvent;
|
|
@@ -13159,6 +13169,8 @@ interface GlobalEventHandlers {
|
|
|
13159
13169
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
13160
13170
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
13161
13171
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13172
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
13173
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13162
13174
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
13163
13175
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13164
13176
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
|
@@ -14896,7 +14908,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
14896
14908
|
*/
|
|
14897
14909
|
src: string;
|
|
14898
14910
|
/**
|
|
14899
|
-
* The **`srcdoc`** property of the HTMLIFrameElement
|
|
14911
|
+
* The **`srcdoc`** property of the HTMLIFrameElement interface gets or sets the inline HTML markup of the frame's document.
|
|
14900
14912
|
*
|
|
14901
14913
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)
|
|
14902
14914
|
*/
|
|
@@ -37373,7 +37385,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37373
37385
|
*/
|
|
37374
37386
|
focus(): void;
|
|
37375
37387
|
/**
|
|
37376
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
37388
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
37377
37389
|
*
|
|
37378
37390
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37379
37391
|
*/
|
|
@@ -37457,22 +37469,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37457
37469
|
*
|
|
37458
37470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
37459
37471
|
*/
|
|
37460
|
-
scroll(options?: ScrollToOptions): void
|
|
37461
|
-
scroll(x: number, y: number): void
|
|
37472
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
37473
|
+
scroll(x: number, y: number): Promise<void>;
|
|
37462
37474
|
/**
|
|
37463
37475
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
37464
37476
|
*
|
|
37465
37477
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
37466
37478
|
*/
|
|
37467
|
-
scrollBy(options?: ScrollToOptions): void
|
|
37468
|
-
scrollBy(x: number, y: number): void
|
|
37479
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
37480
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
37469
37481
|
/**
|
|
37470
37482
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
37471
37483
|
*
|
|
37472
37484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
37473
37485
|
*/
|
|
37474
|
-
scrollTo(options?: ScrollToOptions): void
|
|
37475
|
-
scrollTo(x: number, y: number): void
|
|
37486
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
37487
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
37476
37488
|
/**
|
|
37477
37489
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
37478
37490
|
*
|
|
@@ -39537,7 +39549,7 @@ declare function confirm(message?: string): boolean;
|
|
|
39537
39549
|
*/
|
|
39538
39550
|
declare function focus(): void;
|
|
39539
39551
|
/**
|
|
39540
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
39552
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
39541
39553
|
*
|
|
39542
39554
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39543
39555
|
*/
|
|
@@ -39621,22 +39633,22 @@ declare function resizeTo(width: number, height: number): void;
|
|
|
39621
39633
|
*
|
|
39622
39634
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
39623
39635
|
*/
|
|
39624
|
-
declare function scroll(options?: ScrollToOptions): void
|
|
39625
|
-
declare function scroll(x: number, y: number): void
|
|
39636
|
+
declare function scroll(options?: ScrollToOptions): Promise<void>;
|
|
39637
|
+
declare function scroll(x: number, y: number): Promise<void>;
|
|
39626
39638
|
/**
|
|
39627
39639
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
39628
39640
|
*
|
|
39629
39641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
39630
39642
|
*/
|
|
39631
|
-
declare function scrollBy(options?: ScrollToOptions): void
|
|
39632
|
-
declare function scrollBy(x: number, y: number): void
|
|
39643
|
+
declare function scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
39644
|
+
declare function scrollBy(x: number, y: number): Promise<void>;
|
|
39633
39645
|
/**
|
|
39634
39646
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
39635
39647
|
*
|
|
39636
39648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
39637
39649
|
*/
|
|
39638
|
-
declare function scrollTo(options?: ScrollToOptions): void
|
|
39639
|
-
declare function scrollTo(x: number, y: number): void
|
|
39650
|
+
declare function scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
39651
|
+
declare function scrollTo(x: number, y: number): Promise<void>;
|
|
39640
39652
|
/**
|
|
39641
39653
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
39642
39654
|
*
|
|
@@ -39686,6 +39698,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
39686
39698
|
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
39687
39699
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
39688
39700
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
39701
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
39702
|
+
declare var oncommand: ((this: Window, ev: Event) => any) | null;
|
|
39689
39703
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
39690
39704
|
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
39691
39705
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -5989,7 +5989,7 @@ declare var CSSStartingStyleRule: {
|
|
|
5989
5989
|
};
|
|
5990
5990
|
|
|
5991
5991
|
/**
|
|
5992
|
-
* The **`CSSStyleDeclaration`** interface
|
|
5992
|
+
* The **`CSSStyleDeclaration`** interface is the base class for objects that represent CSS declaration blocks with different supported sets of CSS style information:
|
|
5993
5993
|
*
|
|
5994
5994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
5995
5995
|
*/
|
|
@@ -6053,6 +6053,11 @@ declare var CSSStyleDeclaration: {
|
|
|
6053
6053
|
new(): CSSStyleDeclaration;
|
|
6054
6054
|
};
|
|
6055
6055
|
|
|
6056
|
+
/**
|
|
6057
|
+
* The **`CSSStyleProperties`** interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
|
|
6058
|
+
*
|
|
6059
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
|
|
6060
|
+
*/
|
|
6056
6061
|
interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
6057
6062
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
6058
6063
|
accentColor: string;
|
|
@@ -6341,7 +6346,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6341
6346
|
counterReset: string;
|
|
6342
6347
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
|
|
6343
6348
|
counterSet: string;
|
|
6344
|
-
/**
|
|
6349
|
+
/**
|
|
6350
|
+
* The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
|
|
6351
|
+
*
|
|
6352
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
|
|
6353
|
+
*/
|
|
6345
6354
|
cssFloat: string;
|
|
6346
6355
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6347
6356
|
cursor: string;
|
|
@@ -7415,7 +7424,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7415
7424
|
*/
|
|
7416
7425
|
selectorText: string;
|
|
7417
7426
|
/**
|
|
7418
|
-
* The read-only **`style`** property is
|
|
7427
|
+
* The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
|
|
7419
7428
|
*
|
|
7420
7429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7421
7430
|
*/
|
|
@@ -9336,7 +9345,7 @@ declare var DOMMatrixReadOnly: {
|
|
|
9336
9345
|
*/
|
|
9337
9346
|
interface DOMParser {
|
|
9338
9347
|
/**
|
|
9339
|
-
* The **`parseFromString()`** method of the DOMParser interface parses
|
|
9348
|
+
* The **`parseFromString()`** method of the DOMParser interface parses an input containing either HTML or XML, returning a Document with the type given in the Document/contentType property.
|
|
9340
9349
|
*
|
|
9341
9350
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)
|
|
9342
9351
|
*/
|
|
@@ -11372,28 +11381,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11372
11381
|
*
|
|
11373
11382
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
|
|
11374
11383
|
*/
|
|
11375
|
-
scroll(options?: ScrollToOptions): void
|
|
11376
|
-
scroll(x: number, y: number): void
|
|
11384
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
11385
|
+
scroll(x: number, y: number): Promise<void>;
|
|
11377
11386
|
/**
|
|
11378
11387
|
* The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
|
|
11379
11388
|
*
|
|
11380
11389
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
|
|
11381
11390
|
*/
|
|
11382
|
-
scrollBy(options?: ScrollToOptions): void
|
|
11383
|
-
scrollBy(x: number, y: number): void
|
|
11391
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
11392
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
11384
11393
|
/**
|
|
11385
11394
|
* The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which `scrollIntoView()` is called is visible to the user.
|
|
11386
11395
|
*
|
|
11387
11396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
|
|
11388
11397
|
*/
|
|
11389
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void
|
|
11398
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
|
|
11390
11399
|
/**
|
|
11391
11400
|
* The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
|
|
11392
11401
|
*
|
|
11393
11402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
|
|
11394
11403
|
*/
|
|
11395
|
-
scrollTo(options?: ScrollToOptions): void
|
|
11396
|
-
scrollTo(x: number, y: number): void
|
|
11404
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
11405
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
11397
11406
|
/**
|
|
11398
11407
|
* The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element.
|
|
11399
11408
|
*
|
|
@@ -13021,6 +13030,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
13021
13030
|
"change": Event;
|
|
13022
13031
|
"click": PointerEvent;
|
|
13023
13032
|
"close": Event;
|
|
13033
|
+
"command": Event;
|
|
13024
13034
|
"compositionend": CompositionEvent;
|
|
13025
13035
|
"compositionstart": CompositionEvent;
|
|
13026
13036
|
"compositionupdate": CompositionEvent;
|
|
@@ -13145,6 +13155,8 @@ interface GlobalEventHandlers {
|
|
|
13145
13155
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
13146
13156
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
13147
13157
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13158
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
13159
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13148
13160
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
13149
13161
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13150
13162
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
|
@@ -14878,7 +14890,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
14878
14890
|
*/
|
|
14879
14891
|
src: string;
|
|
14880
14892
|
/**
|
|
14881
|
-
* The **`srcdoc`** property of the HTMLIFrameElement
|
|
14893
|
+
* The **`srcdoc`** property of the HTMLIFrameElement interface gets or sets the inline HTML markup of the frame's document.
|
|
14882
14894
|
*
|
|
14883
14895
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)
|
|
14884
14896
|
*/
|
|
@@ -37347,7 +37359,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37347
37359
|
*/
|
|
37348
37360
|
focus(): void;
|
|
37349
37361
|
/**
|
|
37350
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
37362
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
37351
37363
|
*
|
|
37352
37364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37353
37365
|
*/
|
|
@@ -37431,22 +37443,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37431
37443
|
*
|
|
37432
37444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
37433
37445
|
*/
|
|
37434
|
-
scroll(options?: ScrollToOptions): void
|
|
37435
|
-
scroll(x: number, y: number): void
|
|
37446
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
37447
|
+
scroll(x: number, y: number): Promise<void>;
|
|
37436
37448
|
/**
|
|
37437
37449
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
37438
37450
|
*
|
|
37439
37451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
37440
37452
|
*/
|
|
37441
|
-
scrollBy(options?: ScrollToOptions): void
|
|
37442
|
-
scrollBy(x: number, y: number): void
|
|
37453
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
37454
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
37443
37455
|
/**
|
|
37444
37456
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
37445
37457
|
*
|
|
37446
37458
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
37447
37459
|
*/
|
|
37448
|
-
scrollTo(options?: ScrollToOptions): void
|
|
37449
|
-
scrollTo(x: number, y: number): void
|
|
37460
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
37461
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
37450
37462
|
/**
|
|
37451
37463
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
37452
37464
|
*
|
|
@@ -39511,7 +39523,7 @@ declare function confirm(message?: string): boolean;
|
|
|
39511
39523
|
*/
|
|
39512
39524
|
declare function focus(): void;
|
|
39513
39525
|
/**
|
|
39514
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
39526
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
39515
39527
|
*
|
|
39516
39528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39517
39529
|
*/
|
|
@@ -39595,22 +39607,22 @@ declare function resizeTo(width: number, height: number): void;
|
|
|
39595
39607
|
*
|
|
39596
39608
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
39597
39609
|
*/
|
|
39598
|
-
declare function scroll(options?: ScrollToOptions): void
|
|
39599
|
-
declare function scroll(x: number, y: number): void
|
|
39610
|
+
declare function scroll(options?: ScrollToOptions): Promise<void>;
|
|
39611
|
+
declare function scroll(x: number, y: number): Promise<void>;
|
|
39600
39612
|
/**
|
|
39601
39613
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
39602
39614
|
*
|
|
39603
39615
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
39604
39616
|
*/
|
|
39605
|
-
declare function scrollBy(options?: ScrollToOptions): void
|
|
39606
|
-
declare function scrollBy(x: number, y: number): void
|
|
39617
|
+
declare function scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
39618
|
+
declare function scrollBy(x: number, y: number): Promise<void>;
|
|
39607
39619
|
/**
|
|
39608
39620
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
39609
39621
|
*
|
|
39610
39622
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
39611
39623
|
*/
|
|
39612
|
-
declare function scrollTo(options?: ScrollToOptions): void
|
|
39613
|
-
declare function scrollTo(x: number, y: number): void
|
|
39624
|
+
declare function scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
39625
|
+
declare function scrollTo(x: number, y: number): Promise<void>;
|
|
39614
39626
|
/**
|
|
39615
39627
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
39616
39628
|
*
|
|
@@ -39660,6 +39672,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
39660
39672
|
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
39661
39673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
39662
39674
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
39675
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
39676
|
+
declare var oncommand: ((this: Window, ev: Event) => any) | null;
|
|
39663
39677
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
39664
39678
|
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
39665
39679
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -5996,7 +5996,7 @@ declare var CSSStartingStyleRule: {
|
|
|
5996
5996
|
};
|
|
5997
5997
|
|
|
5998
5998
|
/**
|
|
5999
|
-
* The **`CSSStyleDeclaration`** interface
|
|
5999
|
+
* The **`CSSStyleDeclaration`** interface is the base class for objects that represent CSS declaration blocks with different supported sets of CSS style information:
|
|
6000
6000
|
*
|
|
6001
6001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
6002
6002
|
*/
|
|
@@ -6060,6 +6060,11 @@ declare var CSSStyleDeclaration: {
|
|
|
6060
6060
|
new(): CSSStyleDeclaration;
|
|
6061
6061
|
};
|
|
6062
6062
|
|
|
6063
|
+
/**
|
|
6064
|
+
* The **`CSSStyleProperties`** interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
|
|
6065
|
+
*
|
|
6066
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
|
|
6067
|
+
*/
|
|
6063
6068
|
interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
6064
6069
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
6065
6070
|
accentColor: string;
|
|
@@ -6348,7 +6353,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6348
6353
|
counterReset: string;
|
|
6349
6354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
|
|
6350
6355
|
counterSet: string;
|
|
6351
|
-
/**
|
|
6356
|
+
/**
|
|
6357
|
+
* The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
|
|
6358
|
+
*
|
|
6359
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
|
|
6360
|
+
*/
|
|
6352
6361
|
cssFloat: string;
|
|
6353
6362
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6354
6363
|
cursor: string;
|
|
@@ -7422,7 +7431,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7422
7431
|
*/
|
|
7423
7432
|
selectorText: string;
|
|
7424
7433
|
/**
|
|
7425
|
-
* The read-only **`style`** property is
|
|
7434
|
+
* The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
|
|
7426
7435
|
*
|
|
7427
7436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7428
7437
|
*/
|
|
@@ -9344,7 +9353,7 @@ declare var DOMMatrixReadOnly: {
|
|
|
9344
9353
|
*/
|
|
9345
9354
|
interface DOMParser {
|
|
9346
9355
|
/**
|
|
9347
|
-
* The **`parseFromString()`** method of the DOMParser interface parses
|
|
9356
|
+
* The **`parseFromString()`** method of the DOMParser interface parses an input containing either HTML or XML, returning a Document with the type given in the Document/contentType property.
|
|
9348
9357
|
*
|
|
9349
9358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)
|
|
9350
9359
|
*/
|
|
@@ -11382,28 +11391,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11382
11391
|
*
|
|
11383
11392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
|
|
11384
11393
|
*/
|
|
11385
|
-
scroll(options?: ScrollToOptions): void
|
|
11386
|
-
scroll(x: number, y: number): void
|
|
11394
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
11395
|
+
scroll(x: number, y: number): Promise<void>;
|
|
11387
11396
|
/**
|
|
11388
11397
|
* The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
|
|
11389
11398
|
*
|
|
11390
11399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
|
|
11391
11400
|
*/
|
|
11392
|
-
scrollBy(options?: ScrollToOptions): void
|
|
11393
|
-
scrollBy(x: number, y: number): void
|
|
11401
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
11402
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
11394
11403
|
/**
|
|
11395
11404
|
* The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which `scrollIntoView()` is called is visible to the user.
|
|
11396
11405
|
*
|
|
11397
11406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
|
|
11398
11407
|
*/
|
|
11399
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void
|
|
11408
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
|
|
11400
11409
|
/**
|
|
11401
11410
|
* The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
|
|
11402
11411
|
*
|
|
11403
11412
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
|
|
11404
11413
|
*/
|
|
11405
|
-
scrollTo(options?: ScrollToOptions): void
|
|
11406
|
-
scrollTo(x: number, y: number): void
|
|
11414
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
11415
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
11407
11416
|
/**
|
|
11408
11417
|
* The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element.
|
|
11409
11418
|
*
|
|
@@ -13032,6 +13041,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
13032
13041
|
"change": Event;
|
|
13033
13042
|
"click": PointerEvent;
|
|
13034
13043
|
"close": Event;
|
|
13044
|
+
"command": Event;
|
|
13035
13045
|
"compositionend": CompositionEvent;
|
|
13036
13046
|
"compositionstart": CompositionEvent;
|
|
13037
13047
|
"compositionupdate": CompositionEvent;
|
|
@@ -13156,6 +13166,8 @@ interface GlobalEventHandlers {
|
|
|
13156
13166
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
13157
13167
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
13158
13168
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13169
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
13170
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13159
13171
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
13160
13172
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13161
13173
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
|
@@ -14893,7 +14905,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
14893
14905
|
*/
|
|
14894
14906
|
src: string;
|
|
14895
14907
|
/**
|
|
14896
|
-
* The **`srcdoc`** property of the HTMLIFrameElement
|
|
14908
|
+
* The **`srcdoc`** property of the HTMLIFrameElement interface gets or sets the inline HTML markup of the frame's document.
|
|
14897
14909
|
*
|
|
14898
14910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)
|
|
14899
14911
|
*/
|
|
@@ -37370,7 +37382,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37370
37382
|
*/
|
|
37371
37383
|
focus(): void;
|
|
37372
37384
|
/**
|
|
37373
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
37385
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
37374
37386
|
*
|
|
37375
37387
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37376
37388
|
*/
|
|
@@ -37454,22 +37466,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37454
37466
|
*
|
|
37455
37467
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
37456
37468
|
*/
|
|
37457
|
-
scroll(options?: ScrollToOptions): void
|
|
37458
|
-
scroll(x: number, y: number): void
|
|
37469
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
37470
|
+
scroll(x: number, y: number): Promise<void>;
|
|
37459
37471
|
/**
|
|
37460
37472
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
37461
37473
|
*
|
|
37462
37474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
37463
37475
|
*/
|
|
37464
|
-
scrollBy(options?: ScrollToOptions): void
|
|
37465
|
-
scrollBy(x: number, y: number): void
|
|
37476
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
37477
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
37466
37478
|
/**
|
|
37467
37479
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
37468
37480
|
*
|
|
37469
37481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
37470
37482
|
*/
|
|
37471
|
-
scrollTo(options?: ScrollToOptions): void
|
|
37472
|
-
scrollTo(x: number, y: number): void
|
|
37483
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
37484
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
37473
37485
|
/**
|
|
37474
37486
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
37475
37487
|
*
|
|
@@ -39534,7 +39546,7 @@ declare function confirm(message?: string): boolean;
|
|
|
39534
39546
|
*/
|
|
39535
39547
|
declare function focus(): void;
|
|
39536
39548
|
/**
|
|
39537
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
39549
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
39538
39550
|
*
|
|
39539
39551
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39540
39552
|
*/
|
|
@@ -39618,22 +39630,22 @@ declare function resizeTo(width: number, height: number): void;
|
|
|
39618
39630
|
*
|
|
39619
39631
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
39620
39632
|
*/
|
|
39621
|
-
declare function scroll(options?: ScrollToOptions): void
|
|
39622
|
-
declare function scroll(x: number, y: number): void
|
|
39633
|
+
declare function scroll(options?: ScrollToOptions): Promise<void>;
|
|
39634
|
+
declare function scroll(x: number, y: number): Promise<void>;
|
|
39623
39635
|
/**
|
|
39624
39636
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
39625
39637
|
*
|
|
39626
39638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
39627
39639
|
*/
|
|
39628
|
-
declare function scrollBy(options?: ScrollToOptions): void
|
|
39629
|
-
declare function scrollBy(x: number, y: number): void
|
|
39640
|
+
declare function scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
39641
|
+
declare function scrollBy(x: number, y: number): Promise<void>;
|
|
39630
39642
|
/**
|
|
39631
39643
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
39632
39644
|
*
|
|
39633
39645
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
39634
39646
|
*/
|
|
39635
|
-
declare function scrollTo(options?: ScrollToOptions): void
|
|
39636
|
-
declare function scrollTo(x: number, y: number): void
|
|
39647
|
+
declare function scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
39648
|
+
declare function scrollTo(x: number, y: number): Promise<void>;
|
|
39637
39649
|
/**
|
|
39638
39650
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
39639
39651
|
*
|
|
@@ -39683,6 +39695,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
39683
39695
|
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
39684
39696
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
39685
39697
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
39698
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
39699
|
+
declare var oncommand: ((this: Window, ev: Event) => any) | null;
|
|
39686
39700
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
39687
39701
|
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
39688
39702
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -5996,7 +5996,7 @@ declare var CSSStartingStyleRule: {
|
|
|
5996
5996
|
};
|
|
5997
5997
|
|
|
5998
5998
|
/**
|
|
5999
|
-
* The **`CSSStyleDeclaration`** interface
|
|
5999
|
+
* The **`CSSStyleDeclaration`** interface is the base class for objects that represent CSS declaration blocks with different supported sets of CSS style information:
|
|
6000
6000
|
*
|
|
6001
6001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
6002
6002
|
*/
|
|
@@ -6060,6 +6060,11 @@ declare var CSSStyleDeclaration: {
|
|
|
6060
6060
|
new(): CSSStyleDeclaration;
|
|
6061
6061
|
};
|
|
6062
6062
|
|
|
6063
|
+
/**
|
|
6064
|
+
* The **`CSSStyleProperties`** interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
|
|
6065
|
+
*
|
|
6066
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
|
|
6067
|
+
*/
|
|
6063
6068
|
interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
6064
6069
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
6065
6070
|
accentColor: string;
|
|
@@ -6348,7 +6353,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6348
6353
|
counterReset: string;
|
|
6349
6354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
|
|
6350
6355
|
counterSet: string;
|
|
6351
|
-
/**
|
|
6356
|
+
/**
|
|
6357
|
+
* The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
|
|
6358
|
+
*
|
|
6359
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
|
|
6360
|
+
*/
|
|
6352
6361
|
cssFloat: string;
|
|
6353
6362
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6354
6363
|
cursor: string;
|
|
@@ -7422,7 +7431,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7422
7431
|
*/
|
|
7423
7432
|
selectorText: string;
|
|
7424
7433
|
/**
|
|
7425
|
-
* The read-only **`style`** property is
|
|
7434
|
+
* The read-only **`style`** property is a CSSStyleProperties object that represents the inline styles of a style rule (CSSStyleRule).
|
|
7426
7435
|
*
|
|
7427
7436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7428
7437
|
*/
|
|
@@ -9344,7 +9353,7 @@ declare var DOMMatrixReadOnly: {
|
|
|
9344
9353
|
*/
|
|
9345
9354
|
interface DOMParser {
|
|
9346
9355
|
/**
|
|
9347
|
-
* The **`parseFromString()`** method of the DOMParser interface parses
|
|
9356
|
+
* The **`parseFromString()`** method of the DOMParser interface parses an input containing either HTML or XML, returning a Document with the type given in the Document/contentType property.
|
|
9348
9357
|
*
|
|
9349
9358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)
|
|
9350
9359
|
*/
|
|
@@ -11382,28 +11391,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11382
11391
|
*
|
|
11383
11392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
|
|
11384
11393
|
*/
|
|
11385
|
-
scroll(options?: ScrollToOptions): void
|
|
11386
|
-
scroll(x: number, y: number): void
|
|
11394
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
11395
|
+
scroll(x: number, y: number): Promise<void>;
|
|
11387
11396
|
/**
|
|
11388
11397
|
* The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
|
|
11389
11398
|
*
|
|
11390
11399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
|
|
11391
11400
|
*/
|
|
11392
|
-
scrollBy(options?: ScrollToOptions): void
|
|
11393
|
-
scrollBy(x: number, y: number): void
|
|
11401
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
11402
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
11394
11403
|
/**
|
|
11395
11404
|
* The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which `scrollIntoView()` is called is visible to the user.
|
|
11396
11405
|
*
|
|
11397
11406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
|
|
11398
11407
|
*/
|
|
11399
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void
|
|
11408
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
|
|
11400
11409
|
/**
|
|
11401
11410
|
* The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
|
|
11402
11411
|
*
|
|
11403
11412
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
|
|
11404
11413
|
*/
|
|
11405
|
-
scrollTo(options?: ScrollToOptions): void
|
|
11406
|
-
scrollTo(x: number, y: number): void
|
|
11414
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
11415
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
11407
11416
|
/**
|
|
11408
11417
|
* The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element.
|
|
11409
11418
|
*
|
|
@@ -13032,6 +13041,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
13032
13041
|
"change": Event;
|
|
13033
13042
|
"click": PointerEvent;
|
|
13034
13043
|
"close": Event;
|
|
13044
|
+
"command": Event;
|
|
13035
13045
|
"compositionend": CompositionEvent;
|
|
13036
13046
|
"compositionstart": CompositionEvent;
|
|
13037
13047
|
"compositionupdate": CompositionEvent;
|
|
@@ -13156,6 +13166,8 @@ interface GlobalEventHandlers {
|
|
|
13156
13166
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
13157
13167
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
13158
13168
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13169
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
13170
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13159
13171
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
13160
13172
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
13161
13173
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|
|
@@ -14893,7 +14905,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
14893
14905
|
*/
|
|
14894
14906
|
src: string;
|
|
14895
14907
|
/**
|
|
14896
|
-
* The **`srcdoc`** property of the HTMLIFrameElement
|
|
14908
|
+
* The **`srcdoc`** property of the HTMLIFrameElement interface gets or sets the inline HTML markup of the frame's document.
|
|
14897
14909
|
*
|
|
14898
14910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)
|
|
14899
14911
|
*/
|
|
@@ -37370,7 +37382,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37370
37382
|
*/
|
|
37371
37383
|
focus(): void;
|
|
37372
37384
|
/**
|
|
37373
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
37385
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
37374
37386
|
*
|
|
37375
37387
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37376
37388
|
*/
|
|
@@ -37454,22 +37466,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37454
37466
|
*
|
|
37455
37467
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
37456
37468
|
*/
|
|
37457
|
-
scroll(options?: ScrollToOptions): void
|
|
37458
|
-
scroll(x: number, y: number): void
|
|
37469
|
+
scroll(options?: ScrollToOptions): Promise<void>;
|
|
37470
|
+
scroll(x: number, y: number): Promise<void>;
|
|
37459
37471
|
/**
|
|
37460
37472
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
37461
37473
|
*
|
|
37462
37474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
37463
37475
|
*/
|
|
37464
|
-
scrollBy(options?: ScrollToOptions): void
|
|
37465
|
-
scrollBy(x: number, y: number): void
|
|
37476
|
+
scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
37477
|
+
scrollBy(x: number, y: number): Promise<void>;
|
|
37466
37478
|
/**
|
|
37467
37479
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
37468
37480
|
*
|
|
37469
37481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
37470
37482
|
*/
|
|
37471
|
-
scrollTo(options?: ScrollToOptions): void
|
|
37472
|
-
scrollTo(x: number, y: number): void
|
|
37483
|
+
scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
37484
|
+
scrollTo(x: number, y: number): Promise<void>;
|
|
37473
37485
|
/**
|
|
37474
37486
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
37475
37487
|
*
|
|
@@ -39534,7 +39546,7 @@ declare function confirm(message?: string): boolean;
|
|
|
39534
39546
|
*/
|
|
39535
39547
|
declare function focus(): void;
|
|
39536
39548
|
/**
|
|
39537
|
-
* The **`Window.getComputedStyle()`** method returns
|
|
39549
|
+
* The **`Window.getComputedStyle()`** method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
|
|
39538
39550
|
*
|
|
39539
39551
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39540
39552
|
*/
|
|
@@ -39618,22 +39630,22 @@ declare function resizeTo(width: number, height: number): void;
|
|
|
39618
39630
|
*
|
|
39619
39631
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
|
|
39620
39632
|
*/
|
|
39621
|
-
declare function scroll(options?: ScrollToOptions): void
|
|
39622
|
-
declare function scroll(x: number, y: number): void
|
|
39633
|
+
declare function scroll(options?: ScrollToOptions): Promise<void>;
|
|
39634
|
+
declare function scroll(x: number, y: number): Promise<void>;
|
|
39623
39635
|
/**
|
|
39624
39636
|
* The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
|
|
39625
39637
|
*
|
|
39626
39638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
|
|
39627
39639
|
*/
|
|
39628
|
-
declare function scrollBy(options?: ScrollToOptions): void
|
|
39629
|
-
declare function scrollBy(x: number, y: number): void
|
|
39640
|
+
declare function scrollBy(options?: ScrollToOptions): Promise<void>;
|
|
39641
|
+
declare function scrollBy(x: number, y: number): Promise<void>;
|
|
39630
39642
|
/**
|
|
39631
39643
|
* **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
|
|
39632
39644
|
*
|
|
39633
39645
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
|
|
39634
39646
|
*/
|
|
39635
|
-
declare function scrollTo(options?: ScrollToOptions): void
|
|
39636
|
-
declare function scrollTo(x: number, y: number): void
|
|
39647
|
+
declare function scrollTo(options?: ScrollToOptions): Promise<void>;
|
|
39648
|
+
declare function scrollTo(x: number, y: number): Promise<void>;
|
|
39637
39649
|
/**
|
|
39638
39650
|
* The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
|
|
39639
39651
|
*
|
|
@@ -39683,6 +39695,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
39683
39695
|
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
39684
39696
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
39685
39697
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
39698
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event) */
|
|
39699
|
+
declare var oncommand: ((this: Window, ev: Event) => any) | null;
|
|
39686
39700
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
39687
39701
|
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
39688
39702
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */
|