@types/web 0.0.270 → 0.0.271
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 +60 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +60 -0
- package/ts5.6/index.d.ts +60 -0
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.271 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.271.
|
package/index.d.ts
CHANGED
|
@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
|
|
|
360
360
|
wasClean?: boolean;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
+
interface CommandEventInit extends EventInit {
|
|
364
|
+
command?: string;
|
|
365
|
+
source?: Element | null;
|
|
366
|
+
}
|
|
367
|
+
|
|
363
368
|
interface CompositionEventInit extends UIEventInit {
|
|
364
369
|
data?: string;
|
|
365
370
|
}
|
|
@@ -3272,6 +3277,7 @@ interface AnimationTimeline {
|
|
|
3272
3277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3273
3278
|
*/
|
|
3274
3279
|
readonly currentTime: CSSNumberish | null;
|
|
3280
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
|
|
3275
3281
|
readonly duration: CSSNumberish | null;
|
|
3276
3282
|
}
|
|
3277
3283
|
|
|
@@ -8398,6 +8404,31 @@ declare var CloseEvent: {
|
|
|
8398
8404
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
8399
8405
|
};
|
|
8400
8406
|
|
|
8407
|
+
/**
|
|
8408
|
+
* The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
|
|
8409
|
+
*
|
|
8410
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
|
|
8411
|
+
*/
|
|
8412
|
+
interface CommandEvent extends Event {
|
|
8413
|
+
/**
|
|
8414
|
+
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
|
|
8415
|
+
*
|
|
8416
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
|
|
8417
|
+
*/
|
|
8418
|
+
readonly command: string;
|
|
8419
|
+
/**
|
|
8420
|
+
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
|
|
8421
|
+
*
|
|
8422
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
|
|
8423
|
+
*/
|
|
8424
|
+
readonly source: Element | null;
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
declare var CommandEvent: {
|
|
8428
|
+
prototype: CommandEvent;
|
|
8429
|
+
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
|
|
8430
|
+
};
|
|
8431
|
+
|
|
8401
8432
|
/**
|
|
8402
8433
|
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
|
|
8403
8434
|
*
|
|
@@ -10465,6 +10496,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10465
10496
|
createEvent(eventInterface: "BlobEvent"): BlobEvent;
|
|
10466
10497
|
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
|
|
10467
10498
|
createEvent(eventInterface: "CloseEvent"): CloseEvent;
|
|
10499
|
+
createEvent(eventInterface: "CommandEvent"): CommandEvent;
|
|
10468
10500
|
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
|
|
10469
10501
|
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
|
|
10470
10502
|
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
|
|
@@ -13604,6 +13636,18 @@ declare var HTMLBodyElement: {
|
|
|
13604
13636
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
|
|
13605
13637
|
*/
|
|
13606
13638
|
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
|
|
13639
|
+
/**
|
|
13640
|
+
* The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
|
|
13641
|
+
*
|
|
13642
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
|
|
13643
|
+
*/
|
|
13644
|
+
command: string;
|
|
13645
|
+
/**
|
|
13646
|
+
* The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
|
|
13647
|
+
*
|
|
13648
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
|
|
13649
|
+
*/
|
|
13650
|
+
commandForElement: Element | null;
|
|
13607
13651
|
/**
|
|
13608
13652
|
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
|
|
13609
13653
|
*
|
|
@@ -18391,6 +18435,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
18391
18435
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
18392
18436
|
*/
|
|
18393
18437
|
readonly objectStoreNames: DOMStringList;
|
|
18438
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
18394
18439
|
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
18395
18440
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
|
|
18396
18441
|
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
@@ -23031,6 +23076,8 @@ interface ParentNode extends Node {
|
|
|
23031
23076
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
23032
23077
|
*/
|
|
23033
23078
|
append(...nodes: (Node | string)[]): void;
|
|
23079
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
23080
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
23034
23081
|
/**
|
|
23035
23082
|
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
23036
23083
|
*
|
|
@@ -23558,6 +23605,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
|
|
|
23558
23605
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
|
|
23559
23606
|
*/
|
|
23560
23607
|
readonly cancelable: boolean;
|
|
23608
|
+
/**
|
|
23609
|
+
* The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
|
|
23610
|
+
*
|
|
23611
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
|
|
23612
|
+
*/
|
|
23613
|
+
readonly interactionId: number;
|
|
23561
23614
|
/**
|
|
23562
23615
|
* The read-only **`processingEnd`** property returns the time the last event handler finished executing.
|
|
23563
23616
|
*
|
|
@@ -30569,6 +30622,12 @@ interface ScreenOrientation extends EventTarget {
|
|
|
30569
30622
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
|
|
30570
30623
|
*/
|
|
30571
30624
|
readonly type: OrientationType;
|
|
30625
|
+
/**
|
|
30626
|
+
* The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
|
|
30627
|
+
*
|
|
30628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
|
|
30629
|
+
*/
|
|
30630
|
+
lock(orientation: OrientationLockType): Promise<void>;
|
|
30572
30631
|
/**
|
|
30573
30632
|
* The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
|
|
30574
30633
|
*
|
|
@@ -40019,6 +40078,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
|
40019
40078
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
40020
40079
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
40021
40080
|
type OpusBitstreamFormat = "ogg" | "opus";
|
|
40081
|
+
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|
|
40022
40082
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
40023
40083
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
40024
40084
|
type OverSampleType = "2x" | "4x" | "none";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
|
|
|
360
360
|
wasClean?: boolean;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
+
interface CommandEventInit extends EventInit {
|
|
364
|
+
command?: string;
|
|
365
|
+
source?: Element | null;
|
|
366
|
+
}
|
|
367
|
+
|
|
363
368
|
interface CompositionEventInit extends UIEventInit {
|
|
364
369
|
data?: string;
|
|
365
370
|
}
|
|
@@ -3272,6 +3277,7 @@ interface AnimationTimeline {
|
|
|
3272
3277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3273
3278
|
*/
|
|
3274
3279
|
readonly currentTime: CSSNumberish | null;
|
|
3280
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
|
|
3275
3281
|
readonly duration: CSSNumberish | null;
|
|
3276
3282
|
}
|
|
3277
3283
|
|
|
@@ -8390,6 +8396,31 @@ declare var CloseEvent: {
|
|
|
8390
8396
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
8391
8397
|
};
|
|
8392
8398
|
|
|
8399
|
+
/**
|
|
8400
|
+
* The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
|
|
8401
|
+
*
|
|
8402
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
|
|
8403
|
+
*/
|
|
8404
|
+
interface CommandEvent extends Event {
|
|
8405
|
+
/**
|
|
8406
|
+
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
|
|
8407
|
+
*
|
|
8408
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
|
|
8409
|
+
*/
|
|
8410
|
+
readonly command: string;
|
|
8411
|
+
/**
|
|
8412
|
+
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
|
|
8413
|
+
*
|
|
8414
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
|
|
8415
|
+
*/
|
|
8416
|
+
readonly source: Element | null;
|
|
8417
|
+
}
|
|
8418
|
+
|
|
8419
|
+
declare var CommandEvent: {
|
|
8420
|
+
prototype: CommandEvent;
|
|
8421
|
+
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
|
|
8422
|
+
};
|
|
8423
|
+
|
|
8393
8424
|
/**
|
|
8394
8425
|
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
|
|
8395
8426
|
*
|
|
@@ -10457,6 +10488,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10457
10488
|
createEvent(eventInterface: "BlobEvent"): BlobEvent;
|
|
10458
10489
|
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
|
|
10459
10490
|
createEvent(eventInterface: "CloseEvent"): CloseEvent;
|
|
10491
|
+
createEvent(eventInterface: "CommandEvent"): CommandEvent;
|
|
10460
10492
|
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
|
|
10461
10493
|
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
|
|
10462
10494
|
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
|
|
@@ -13591,6 +13623,18 @@ declare var HTMLBodyElement: {
|
|
|
13591
13623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
|
|
13592
13624
|
*/
|
|
13593
13625
|
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
|
|
13626
|
+
/**
|
|
13627
|
+
* The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
|
|
13628
|
+
*
|
|
13629
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
|
|
13630
|
+
*/
|
|
13631
|
+
command: string;
|
|
13632
|
+
/**
|
|
13633
|
+
* The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
|
|
13634
|
+
*
|
|
13635
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
|
|
13636
|
+
*/
|
|
13637
|
+
commandForElement: Element | null;
|
|
13594
13638
|
/**
|
|
13595
13639
|
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
|
|
13596
13640
|
*
|
|
@@ -18370,6 +18414,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
18370
18414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
18371
18415
|
*/
|
|
18372
18416
|
readonly objectStoreNames: DOMStringList;
|
|
18417
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
18373
18418
|
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
18374
18419
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
|
|
18375
18420
|
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
@@ -23010,6 +23055,8 @@ interface ParentNode extends Node {
|
|
|
23010
23055
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
23011
23056
|
*/
|
|
23012
23057
|
append(...nodes: (Node | string)[]): void;
|
|
23058
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
23059
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
23013
23060
|
/**
|
|
23014
23061
|
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
23015
23062
|
*
|
|
@@ -23537,6 +23584,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
|
|
|
23537
23584
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
|
|
23538
23585
|
*/
|
|
23539
23586
|
readonly cancelable: boolean;
|
|
23587
|
+
/**
|
|
23588
|
+
* The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
|
|
23589
|
+
*
|
|
23590
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
|
|
23591
|
+
*/
|
|
23592
|
+
readonly interactionId: number;
|
|
23540
23593
|
/**
|
|
23541
23594
|
* The read-only **`processingEnd`** property returns the time the last event handler finished executing.
|
|
23542
23595
|
*
|
|
@@ -30547,6 +30600,12 @@ interface ScreenOrientation extends EventTarget {
|
|
|
30547
30600
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
|
|
30548
30601
|
*/
|
|
30549
30602
|
readonly type: OrientationType;
|
|
30603
|
+
/**
|
|
30604
|
+
* The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
|
|
30605
|
+
*
|
|
30606
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
|
|
30607
|
+
*/
|
|
30608
|
+
lock(orientation: OrientationLockType): Promise<void>;
|
|
30550
30609
|
/**
|
|
30551
30610
|
* The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
|
|
30552
30611
|
*
|
|
@@ -39996,6 +40055,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
|
39996
40055
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
39997
40056
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
39998
40057
|
type OpusBitstreamFormat = "ogg" | "opus";
|
|
40058
|
+
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|
|
39999
40059
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
40000
40060
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
40001
40061
|
type OverSampleType = "2x" | "4x" | "none";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
|
|
|
360
360
|
wasClean?: boolean;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
+
interface CommandEventInit extends EventInit {
|
|
364
|
+
command?: string;
|
|
365
|
+
source?: Element | null;
|
|
366
|
+
}
|
|
367
|
+
|
|
363
368
|
interface CompositionEventInit extends UIEventInit {
|
|
364
369
|
data?: string;
|
|
365
370
|
}
|
|
@@ -3272,6 +3277,7 @@ interface AnimationTimeline {
|
|
|
3272
3277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3273
3278
|
*/
|
|
3274
3279
|
readonly currentTime: CSSNumberish | null;
|
|
3280
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
|
|
3275
3281
|
readonly duration: CSSNumberish | null;
|
|
3276
3282
|
}
|
|
3277
3283
|
|
|
@@ -8398,6 +8404,31 @@ declare var CloseEvent: {
|
|
|
8398
8404
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
8399
8405
|
};
|
|
8400
8406
|
|
|
8407
|
+
/**
|
|
8408
|
+
* The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
|
|
8409
|
+
*
|
|
8410
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
|
|
8411
|
+
*/
|
|
8412
|
+
interface CommandEvent extends Event {
|
|
8413
|
+
/**
|
|
8414
|
+
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
|
|
8415
|
+
*
|
|
8416
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
|
|
8417
|
+
*/
|
|
8418
|
+
readonly command: string;
|
|
8419
|
+
/**
|
|
8420
|
+
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
|
|
8421
|
+
*
|
|
8422
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
|
|
8423
|
+
*/
|
|
8424
|
+
readonly source: Element | null;
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
declare var CommandEvent: {
|
|
8428
|
+
prototype: CommandEvent;
|
|
8429
|
+
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
|
|
8430
|
+
};
|
|
8431
|
+
|
|
8401
8432
|
/**
|
|
8402
8433
|
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
|
|
8403
8434
|
*
|
|
@@ -10465,6 +10496,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10465
10496
|
createEvent(eventInterface: "BlobEvent"): BlobEvent;
|
|
10466
10497
|
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
|
|
10467
10498
|
createEvent(eventInterface: "CloseEvent"): CloseEvent;
|
|
10499
|
+
createEvent(eventInterface: "CommandEvent"): CommandEvent;
|
|
10468
10500
|
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
|
|
10469
10501
|
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
|
|
10470
10502
|
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
|
|
@@ -13604,6 +13636,18 @@ declare var HTMLBodyElement: {
|
|
|
13604
13636
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
|
|
13605
13637
|
*/
|
|
13606
13638
|
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
|
|
13639
|
+
/**
|
|
13640
|
+
* The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
|
|
13641
|
+
*
|
|
13642
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
|
|
13643
|
+
*/
|
|
13644
|
+
command: string;
|
|
13645
|
+
/**
|
|
13646
|
+
* The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
|
|
13647
|
+
*
|
|
13648
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
|
|
13649
|
+
*/
|
|
13650
|
+
commandForElement: Element | null;
|
|
13607
13651
|
/**
|
|
13608
13652
|
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
|
|
13609
13653
|
*
|
|
@@ -18391,6 +18435,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
18391
18435
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
18392
18436
|
*/
|
|
18393
18437
|
readonly objectStoreNames: DOMStringList;
|
|
18438
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
18394
18439
|
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
18395
18440
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
|
|
18396
18441
|
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
@@ -23031,6 +23076,8 @@ interface ParentNode extends Node {
|
|
|
23031
23076
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
23032
23077
|
*/
|
|
23033
23078
|
append(...nodes: (Node | string)[]): void;
|
|
23079
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
23080
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
23034
23081
|
/**
|
|
23035
23082
|
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
23036
23083
|
*
|
|
@@ -23558,6 +23605,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
|
|
|
23558
23605
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
|
|
23559
23606
|
*/
|
|
23560
23607
|
readonly cancelable: boolean;
|
|
23608
|
+
/**
|
|
23609
|
+
* The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
|
|
23610
|
+
*
|
|
23611
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
|
|
23612
|
+
*/
|
|
23613
|
+
readonly interactionId: number;
|
|
23561
23614
|
/**
|
|
23562
23615
|
* The read-only **`processingEnd`** property returns the time the last event handler finished executing.
|
|
23563
23616
|
*
|
|
@@ -30569,6 +30622,12 @@ interface ScreenOrientation extends EventTarget {
|
|
|
30569
30622
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
|
|
30570
30623
|
*/
|
|
30571
30624
|
readonly type: OrientationType;
|
|
30625
|
+
/**
|
|
30626
|
+
* The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
|
|
30627
|
+
*
|
|
30628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
|
|
30629
|
+
*/
|
|
30630
|
+
lock(orientation: OrientationLockType): Promise<void>;
|
|
30572
30631
|
/**
|
|
30573
30632
|
* The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
|
|
30574
30633
|
*
|
|
@@ -40019,6 +40078,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
|
40019
40078
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
40020
40079
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
40021
40080
|
type OpusBitstreamFormat = "ogg" | "opus";
|
|
40081
|
+
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|
|
40022
40082
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
40023
40083
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
40024
40084
|
type OverSampleType = "2x" | "4x" | "none";
|