@@ -357,6 +357,11 @@ interface CloseEventInit extends EventInit {
357
357
wasClean?: boolean;
358
358
}
359
359
360
+ interface CommandEventInit extends EventInit {
361
+ command?: string;
362
+ source?: Element | null;
363
+ }
364
+
360
365
interface CompositionEventInit extends UIEventInit {
361
366
data?: string;
362
367
}
@@ -3270,7 +3275,11 @@ interface AnimationTimeline {
3270
3275
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
3271
3276
*/
3272
3277
readonly currentTime: CSSNumberish | null;
3273
- /** The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null. */
3278
+ /**
3279
+ * The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.
3280
+ *
3281
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration)
3282
+ */
3274
3283
readonly duration: CSSNumberish | null;
3275
3284
}
3276
3285
@@ -6595,6 +6604,8 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6595
6604
counterReset: string;
6596
6605
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */
6597
6606
counterSet: string;
6607
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
6608
+ cssFloat: string;
6598
6609
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
6599
6610
cursor: string;
6600
6611
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
@@ -8723,6 +8734,31 @@ declare var CloseEvent: {
8723
8734
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
8724
8735
};
8725
8736
8737
+ /**
8738
+ * The CommandEvent interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
8739
+ *
8740
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8741
+ */
8742
+ interface CommandEvent extends Event {
8743
+ /**
8744
+ * The command read-only property of the CommandEvent interface returns a string containing the value of the command property at the time the event was dispatched.
8745
+ *
8746
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8747
+ */
8748
+ readonly command: string;
8749
+ /**
8750
+ * The source read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8751
+ *
8752
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8753
+ */
8754
+ readonly source: Element | null;
8755
+ }
8756
+
8757
+ declare var CommandEvent: {
8758
+ prototype: CommandEvent;
8759
+ new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8760
+ };
8761
+
8726
8762
/**
8727
8763
* 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.
8728
8764
*
@@ -11010,6 +11046,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
11010
11046
createEvent(eventInterface: "BlobEvent"): BlobEvent;
11011
11047
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
11012
11048
createEvent(eventInterface: "CloseEvent"): CloseEvent;
11049
+ createEvent(eventInterface: "CommandEvent"): CommandEvent;
11013
11050
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
11014
11051
createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
11015
11052
createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -14428,6 +14465,18 @@ declare var HTMLBodyElement: {
14428
14465
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
14429
14466
*/
14430
14467
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
14468
+ /**
14469
+ * The command property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button. For this to have an effect, commandfor must be set.
14470
+ *
14471
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
14472
+ */
14473
+ command: string;
14474
+ /**
14475
+ * The commandForElement property of the HTMLButtonElement interface gets and sets the element to control via a button.
14476
+ *
14477
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
14478
+ */
14479
+ commandForElement: Element | null;
14431
14480
/**
14432
14481
* The HTMLButtonElement.disabled property indicates whether the control is disabled, meaning that it does not accept any clicks.
14433
14482
*
@@ -19611,6 +19660,7 @@ declare var IDBCursorWithValue: {
19611
19660
};
19612
19661
19613
19662
interface IDBDatabaseEventMap {
19663
+ "abort": Event;
19614
19664
"close": Event;
19615
19665
"error": Event;
19616
19666
"versionchange": IDBVersionChangeEvent;
@@ -19638,6 +19688,8 @@ interface IDBDatabase extends EventTarget {
19638
19688
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
19639
19689
*/
19640
19690
readonly objectStoreNames: DOMStringList;
19691
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
19692
+ onabort: ((this: IDBDatabase, ev: Event) => any) | null;
19641
19693
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
19642
19694
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
19643
19695
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -24825,6 +24877,8 @@ interface ParentNode extends Node {
24825
24877
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
24826
24878
*/
24827
24879
append(...nodes: (Node | string)[]): void;
24880
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
24881
+ moveBefore(node: Node, child: Node | null): void;
24828
24882
/**
24829
24883
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
24830
24884
*
@@ -25417,6 +25471,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
25417
25471
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
25418
25472
*/
25419
25473
readonly cancelable: boolean;
25474
+ /**
25475
+ * The read-only interactionId property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
25476
+ *
25477
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
25478
+ */
25479
+ readonly interactionId: number;
25420
25480
/**
25421
25481
* The read-only processingEnd property returns the time the last event handler finished executing.
25422
25482
*
@@ -32868,6 +32928,12 @@ interface ScreenOrientation extends EventTarget {
32868
32928
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
32869
32929
*/
32870
32930
readonly type: OrientationType;
32931
+ /**
32932
+ * The lock() method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
32933
+ *
32934
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
32935
+ */
32936
+ lock(orientation: OrientationLockType): Promise<void>;
32871
32937
/**
32872
32938
* The unlock() method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation.
32873
32939
*
@@ -42767,6 +42833,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
42767
42833
type NotificationPermission = "default" | "denied" | "granted";
42768
42834
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
42769
42835
type OpusBitstreamFormat = "ogg" | "opus";
42836
+ type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
42770
42837
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
42771
42838
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
42772
42839
type OverSampleType = "2x" | "4x" | "none";
0 commit comments