drab 6.5.1 → 7.0.1
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/dist/announcer/index.d.ts +2 -0
- package/dist/base/index.d.ts +101 -1536
- package/dist/base/index.js +87 -76
- package/dist/contextmenu/index.d.ts +1045 -3
- package/dist/contextmenu/index.js +15 -15
- package/dist/define.d.ts +11 -1
- package/dist/define.js +11 -5
- package/dist/dialog/index.d.ts +1047 -6
- package/dist/dialog/index.js +28 -25
- package/dist/editor/index.d.ts +1047 -12
- package/dist/editor/index.js +36 -36
- package/dist/fullscreen/index.d.ts +1045 -7
- package/dist/fullscreen/index.js +8 -8
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/dist/intersect/index.d.ts +1059 -16
- package/dist/intersect/index.js +26 -33
- package/dist/prefetch/index.d.ts +706 -25
- package/dist/prefetch/index.js +25 -44
- package/dist/share/index.d.ts +1413 -11
- package/dist/share/index.js +50 -18
- package/dist/tablesort/index.d.ts +1390 -5
- package/dist/tablesort/index.js +5 -5
- package/dist/tabs/index.d.ts +702 -4
- package/dist/tabs/index.js +3 -3
- package/dist/types/index.d.ts +29 -0
- package/dist/wakelock/index.d.ts +1390 -6
- package/dist/wakelock/index.js +16 -16
- package/package.json +5 -24
- package/dist/base/define.js +0 -3
- package/dist/copy/define.d.ts +0 -1
- package/dist/copy/define.js +0 -3
- package/dist/copy/index.d.ts +0 -30
- package/dist/copy/index.js +0 -39
- package/dist/youtube/define.d.ts +0 -1
- package/dist/youtube/define.js +0 -3
- package/dist/youtube/index.d.ts +0 -31
- package/dist/youtube/index.js +0 -56
- /package/dist/{base/define.d.ts → types/index.js} +0 -0
package/dist/base/index.d.ts
CHANGED
@@ -1,32 +1,47 @@
|
|
1
1
|
import { Announcer } from "../announcer/index.js";
|
2
|
-
export
|
2
|
+
export interface TriggerAttributes {
|
3
3
|
trigger?: string;
|
4
|
+
}
|
5
|
+
export interface ContentAttributes {
|
4
6
|
content?: string;
|
5
7
|
swap?: string;
|
6
|
-
}
|
8
|
+
}
|
7
9
|
export type Constructor<T> = new (...args: any[]) => T;
|
8
|
-
export declare const
|
10
|
+
export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super?: T) => {
|
9
11
|
new (...args: any[]): {
|
12
|
+
/** To clean up event listeners added to `document` when the element is removed. */
|
13
|
+
"__#1@#listenerController": AbortController;
|
10
14
|
/**
|
11
|
-
*
|
12
|
-
*
|
13
|
-
* For example, set to `"mouseover"` to execute the event when the user hovers the mouse over the `trigger`, instead of when they click it.
|
15
|
+
* Wrapper around `addEventListener` that ensures when the element is
|
16
|
+
* removed from the DOM, these event listeners are cleaned up.
|
14
17
|
*
|
15
|
-
* @
|
18
|
+
* @param type Event listener type - ex: `"keydown"`
|
19
|
+
* @param listener Listener to add to the target.
|
20
|
+
* @param target Event target to add the listener to - defaults to `document.body`.
|
21
|
+
* @param options Other options sans `signal`.
|
16
22
|
*/
|
17
|
-
event:
|
23
|
+
safeListener<T_1 extends keyof HTMLElementEventMap>(type: T_1, listener: (this: HTMLElement, event: HTMLElementEventMap[T_1]) => any, element?: HTMLElement, options?: AddEventListenerOptions): void;
|
24
|
+
safeListener<T_1 extends keyof DocumentEventMap>(type: T_1, listener: (this: Document, event: DocumentEventMap[T_1]) => any, document: Document, options?: AddEventListenerOptions): void;
|
25
|
+
safeListener<T_1 extends keyof WindowEventMap>(type: T_1, listener: (this: Window, event: WindowEventMap[T_1]) => any, window: Window, options?: AddEventListenerOptions): void;
|
18
26
|
/**
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
22
|
-
*
|
27
|
+
* Passed into `queueMicrotask` in `connectedCallback`.
|
28
|
+
* It is overridden in each component that needs to run `connectedCallback`.
|
29
|
+
*
|
30
|
+
* The reason for this is to make these elements work better with frameworks like Svelte.
|
31
|
+
* For SSR this isn't necessary, but when client side rendering, the HTML within the
|
32
|
+
* custom element isn't available before `connectedCallback` is called. By waiting until
|
33
|
+
* the next microtask, the HTML content is available---then for example, listeners can
|
34
|
+
* be attached to elements inside.
|
23
35
|
*/
|
24
|
-
|
25
|
-
|
36
|
+
mount(): void;
|
37
|
+
/** Called when custom element is added to the page. */
|
38
|
+
connectedCallback(): void;
|
26
39
|
/**
|
27
|
-
*
|
40
|
+
* Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallback` as well. It is overridden in each element that needs to run `disconnectedCallback`.
|
28
41
|
*/
|
29
|
-
|
42
|
+
destroy(): void;
|
43
|
+
/** Called when custom element is removed from the page. */
|
44
|
+
disconnectedCallback(): void;
|
30
45
|
accessKey: string;
|
31
46
|
readonly accessKeyLabel: string;
|
32
47
|
autocapitalize: string;
|
@@ -52,9 +67,9 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
52
67
|
hidePopover(): void;
|
53
68
|
showPopover(): void;
|
54
69
|
togglePopover(options?: boolean): boolean;
|
55
|
-
addEventListener<
|
70
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
56
71
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
57
|
-
removeEventListener<
|
72
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
58
73
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
59
74
|
readonly attributes: NamedNodeMap;
|
60
75
|
get classList(): DOMTokenList;
|
@@ -85,9 +100,9 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
85
100
|
readonly tagName: string;
|
86
101
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
87
102
|
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
88
|
-
closest<
|
89
|
-
closest<
|
90
|
-
closest<
|
103
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
104
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
105
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
91
106
|
closest<E extends Element = Element>(selectors: string): E | null;
|
92
107
|
computedStyleMap(): StylePropertyMapReadOnly;
|
93
108
|
getAttribute(qualifiedName: string): string | null;
|
@@ -98,10 +113,10 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
98
113
|
getBoundingClientRect(): DOMRect;
|
99
114
|
getClientRects(): DOMRectList;
|
100
115
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
101
|
-
getElementsByTagName<
|
102
|
-
getElementsByTagName<
|
103
|
-
getElementsByTagName<
|
104
|
-
getElementsByTagName<
|
116
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
117
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
118
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
119
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
105
120
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
106
121
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
107
122
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
@@ -242,15 +257,15 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
242
257
|
readonly lastElementChild: Element | null;
|
243
258
|
append(...nodes: (Node | string)[]): void;
|
244
259
|
prepend(...nodes: (Node | string)[]): void;
|
245
|
-
querySelector<
|
246
|
-
querySelector<
|
247
|
-
querySelector<
|
248
|
-
querySelector<
|
260
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
261
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
262
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
263
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
249
264
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
250
|
-
querySelectorAll<
|
251
|
-
querySelectorAll<
|
252
|
-
querySelectorAll<
|
253
|
-
querySelectorAll<
|
265
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
266
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
267
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
268
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
254
269
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
255
270
|
replaceChildren(...nodes: (Node | string)[]): void;
|
256
271
|
readonly assignedSlot: HTMLSlotElement | null;
|
@@ -367,24 +382,44 @@ export declare const Trigger: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
367
382
|
focus(options?: FocusOptions): void;
|
368
383
|
};
|
369
384
|
} & T;
|
370
|
-
|
385
|
+
type Listener<T extends keyof HTMLElementEventMap> = (this: HTMLElement, e: HTMLElementEventMap[T]) => any;
|
386
|
+
/**
|
387
|
+
* By default, `trigger`s are selected via the `data-trigger` attribute.
|
388
|
+
* Alternatively, you can set the `trigger` attribute to a CSS selector to
|
389
|
+
* change the default selector from `[data-trigger]` to a selector of your
|
390
|
+
* choosing. This can be useful if you have multiple elements within one another.
|
391
|
+
*
|
392
|
+
* Each element can have multiple `trigger`s.
|
393
|
+
*/
|
394
|
+
export declare const Trigger: <T extends Constructor<HTMLElement>>(Super?: T) => {
|
371
395
|
new (...args: any[]): {
|
396
|
+
/**
|
397
|
+
* Event for the `trigger` to execute.
|
398
|
+
*
|
399
|
+
* For example, set to `"mouseover"` to execute the event when the user hovers the mouse over the `trigger`, instead of when they click it.
|
400
|
+
*
|
401
|
+
* @default "click"
|
402
|
+
*/
|
403
|
+
event: keyof HTMLElementEventMap;
|
372
404
|
/**
|
373
405
|
* @param instance The instance of the desired element to validate against,
|
374
|
-
* ex: `
|
375
|
-
* @returns
|
376
|
-
* @default this.
|
406
|
+
* ex: `HTMLButtonElement`. Defaults to `HTMLElement`.
|
407
|
+
* @returns All of the elements that match the `trigger` selector.
|
408
|
+
* @default this.querySelectorAll("[data-trigger]")
|
377
409
|
*/
|
378
|
-
|
379
|
-
|
410
|
+
triggers<T_1 extends HTMLElement>(instance: Constructor<T_1>): NodeListOf<T_1>;
|
411
|
+
triggers(): NodeListOf<HTMLElement>;
|
380
412
|
/**
|
381
|
-
*
|
382
|
-
*
|
383
|
-
|
384
|
-
|
385
|
-
|
413
|
+
* @param listener Listener to attach to all of the `trigger` elements.
|
414
|
+
* @param options
|
415
|
+
*/
|
416
|
+
listener<T_1 extends keyof HTMLElementEventMap>(listener: Listener<T_1>, options?: AddEventListenerOptions): void;
|
417
|
+
/**
|
418
|
+
* @param type Event type.
|
419
|
+
* @param listener Listener to attach to all of the `trigger` elements.
|
420
|
+
* @param options
|
386
421
|
*/
|
387
|
-
|
422
|
+
listener<T_1 extends keyof HTMLElementEventMap>(type: T_1, listener: Listener<T_1>, options?: AddEventListenerOptions): void;
|
388
423
|
accessKey: string;
|
389
424
|
readonly accessKeyLabel: string;
|
390
425
|
autocapitalize: string;
|
@@ -725,41 +760,32 @@ export declare const Content: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
725
760
|
focus(options?: FocusOptions): void;
|
726
761
|
};
|
727
762
|
} & T;
|
728
|
-
|
763
|
+
/**
|
764
|
+
* By default, `content` is selected via the `data-content` attribute.
|
765
|
+
* Alternatively, you can set the `trigger` to a CSS selector to change
|
766
|
+
* the default selector from `[data-trigger]` to a selector of your choosing.
|
767
|
+
* This can be useful if you have multiple elements within one another.
|
768
|
+
*
|
769
|
+
* Each element can only have one `content`.
|
770
|
+
*/
|
771
|
+
export declare const Content: <T extends Constructor<HTMLElement>>(Super?: T) => {
|
729
772
|
new (...args: any[]): {
|
730
|
-
/** To clean up event listeners added to `document` when the element is removed. */
|
731
|
-
"__#1@#listenerController": AbortController;
|
732
773
|
/**
|
733
|
-
*
|
734
|
-
*
|
735
|
-
*
|
736
|
-
* @
|
737
|
-
* @param listener Listener to add to the target.
|
738
|
-
* @param target Event target to add the listener to - defaults to `document.body`.
|
739
|
-
* @param options Other options sans `signal`.
|
774
|
+
* @param instance The instance of the desired element to validate against,
|
775
|
+
* ex: `HTMLDialogElement`. Defaults to `HTMLElement`.
|
776
|
+
* @returns The element that matches the `content` selector.
|
777
|
+
* @default this.querySelector("[data-content]")
|
740
778
|
*/
|
741
|
-
|
742
|
-
|
743
|
-
safeListener<T_1 extends keyof WindowEventMap>(type: T_1, listener: (this: Window, event: WindowEventMap[T_1]) => any, window: Window, options?: AddEventListenerOptions): void;
|
779
|
+
content<T_1 extends HTMLElement>(instance: Constructor<T_1>): T_1;
|
780
|
+
content(): HTMLElement;
|
744
781
|
/**
|
745
|
-
*
|
746
|
-
*
|
782
|
+
* Finds the `HTMLElement | HTMLTemplateElement` via the `swap` selector and
|
783
|
+
* swaps `this.content()` with the content of the element found.
|
747
784
|
*
|
748
|
-
*
|
749
|
-
*
|
750
|
-
* custom element isn't available before `connectedCallback` is called. By waiting until
|
751
|
-
* the next microtask, the HTML content is available---then for example, listeners can
|
752
|
-
* be attached to elements inside.
|
753
|
-
*/
|
754
|
-
mount(): void;
|
755
|
-
/** Called when custom element is added to the page. */
|
756
|
-
connectedCallback(): void;
|
757
|
-
/**
|
758
|
-
* Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallback` as well. It is overridden in each element that needs to run `disconnectedCallback`.
|
785
|
+
* @param revert Wait time (ms) before swapping back, set to `false` to not revert.
|
786
|
+
* default: `800`
|
759
787
|
*/
|
760
|
-
|
761
|
-
/** Called when custom element is removed from the page. */
|
762
|
-
disconnectedCallback(): void;
|
788
|
+
swap(revert?: number | false): void;
|
763
789
|
accessKey: string;
|
764
790
|
readonly accessKeyLabel: string;
|
765
791
|
autocapitalize: string;
|
@@ -1100,7 +1126,7 @@ export declare const Lifecycle: <T extends Constructor<HTMLElement>>(Super: T) =
|
|
1100
1126
|
focus(options?: FocusOptions): void;
|
1101
1127
|
};
|
1102
1128
|
} & T;
|
1103
|
-
export declare const Announce: <T extends Constructor<HTMLElement>>(Super
|
1129
|
+
export declare const Announce: <T extends Constructor<HTMLElement>>(Super?: T) => {
|
1104
1130
|
new (...args: any[]): {
|
1105
1131
|
/**
|
1106
1132
|
* @param message message to announce to screen readers
|
@@ -1451,1465 +1477,4 @@ export declare const Announce: <T extends Constructor<HTMLElement>>(Super: T) =>
|
|
1451
1477
|
*/
|
1452
1478
|
"__#2@#announcer": Announcer;
|
1453
1479
|
} & T;
|
1454
|
-
declare const Base_base: {
|
1455
|
-
new (...args: any[]): {
|
1456
|
-
/**
|
1457
|
-
* Event for the `trigger` to execute.
|
1458
|
-
*
|
1459
|
-
* For example, set to `"mouseover"` to execute the event when the user hovers the mouse over the `trigger`, instead of when they click it.
|
1460
|
-
*
|
1461
|
-
* @default "click"
|
1462
|
-
*/
|
1463
|
-
event: keyof HTMLElementEventMap;
|
1464
|
-
/**
|
1465
|
-
* @param instance The instance of the desired element to validate against,
|
1466
|
-
* ex: `HTMLButtonElement`. Defaults to `HTMLElement`.
|
1467
|
-
* @returns All of the elements that match the `trigger` selector.
|
1468
|
-
* @default this.querySelectorAll("[data-trigger]")
|
1469
|
-
*/
|
1470
|
-
getTrigger<T extends HTMLElement>(instance: Constructor<T>): NodeListOf<T>;
|
1471
|
-
getTrigger(): NodeListOf<HTMLElement>;
|
1472
|
-
/**
|
1473
|
-
* @param listener Listener to attach to all of the `trigger` elements.
|
1474
|
-
*/
|
1475
|
-
triggerListener<T extends HTMLElement, K extends keyof HTMLElementEventMap>(listener: (this: T, e: HTMLElementEventMap[K]) => any, type?: K, options?: AddEventListenerOptions): void;
|
1476
|
-
accessKey: string;
|
1477
|
-
readonly accessKeyLabel: string;
|
1478
|
-
autocapitalize: string;
|
1479
|
-
dir: string;
|
1480
|
-
draggable: boolean;
|
1481
|
-
hidden: boolean;
|
1482
|
-
inert: boolean;
|
1483
|
-
innerText: string;
|
1484
|
-
lang: string;
|
1485
|
-
readonly offsetHeight: number;
|
1486
|
-
readonly offsetLeft: number;
|
1487
|
-
readonly offsetParent: Element | null;
|
1488
|
-
readonly offsetTop: number;
|
1489
|
-
readonly offsetWidth: number;
|
1490
|
-
outerText: string;
|
1491
|
-
popover: string | null;
|
1492
|
-
spellcheck: boolean;
|
1493
|
-
title: string;
|
1494
|
-
translate: boolean;
|
1495
|
-
writingSuggestions: string;
|
1496
|
-
attachInternals(): ElementInternals;
|
1497
|
-
click(): void;
|
1498
|
-
hidePopover(): void;
|
1499
|
-
showPopover(): void;
|
1500
|
-
togglePopover(options?: boolean): boolean;
|
1501
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1502
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1503
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1504
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1505
|
-
readonly attributes: NamedNodeMap;
|
1506
|
-
get classList(): DOMTokenList;
|
1507
|
-
set classList(value: string);
|
1508
|
-
className: string;
|
1509
|
-
readonly clientHeight: number;
|
1510
|
-
readonly clientLeft: number;
|
1511
|
-
readonly clientTop: number;
|
1512
|
-
readonly clientWidth: number;
|
1513
|
-
readonly currentCSSZoom: number;
|
1514
|
-
id: string;
|
1515
|
-
innerHTML: string;
|
1516
|
-
readonly localName: string;
|
1517
|
-
readonly namespaceURI: string | null;
|
1518
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
1519
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
1520
|
-
outerHTML: string;
|
1521
|
-
readonly ownerDocument: Document;
|
1522
|
-
get part(): DOMTokenList;
|
1523
|
-
set part(value: string);
|
1524
|
-
readonly prefix: string | null;
|
1525
|
-
readonly scrollHeight: number;
|
1526
|
-
scrollLeft: number;
|
1527
|
-
scrollTop: number;
|
1528
|
-
readonly scrollWidth: number;
|
1529
|
-
readonly shadowRoot: ShadowRoot | null;
|
1530
|
-
slot: string;
|
1531
|
-
readonly tagName: string;
|
1532
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
1533
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
1534
|
-
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
1535
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
1536
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
1537
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
1538
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
1539
|
-
getAttribute(qualifiedName: string): string | null;
|
1540
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
1541
|
-
getAttributeNames(): string[];
|
1542
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
1543
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
1544
|
-
getBoundingClientRect(): DOMRect;
|
1545
|
-
getClientRects(): DOMRectList;
|
1546
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
1547
|
-
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
1548
|
-
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
1549
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
1550
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
1551
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
1552
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
1553
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
1554
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
1555
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
1556
|
-
getHTML(options?: GetHTMLOptions): string;
|
1557
|
-
hasAttribute(qualifiedName: string): boolean;
|
1558
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
1559
|
-
hasAttributes(): boolean;
|
1560
|
-
hasPointerCapture(pointerId: number): boolean;
|
1561
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
1562
|
-
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
1563
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
1564
|
-
matches(selectors: string): boolean;
|
1565
|
-
releasePointerCapture(pointerId: number): void;
|
1566
|
-
removeAttribute(qualifiedName: string): void;
|
1567
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
1568
|
-
removeAttributeNode(attr: Attr): Attr;
|
1569
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
1570
|
-
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
1571
|
-
scroll(options?: ScrollToOptions): void;
|
1572
|
-
scroll(x: number, y: number): void;
|
1573
|
-
scrollBy(options?: ScrollToOptions): void;
|
1574
|
-
scrollBy(x: number, y: number): void;
|
1575
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
1576
|
-
scrollTo(options?: ScrollToOptions): void;
|
1577
|
-
scrollTo(x: number, y: number): void;
|
1578
|
-
setAttribute(qualifiedName: string, value: string): void;
|
1579
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
1580
|
-
setAttributeNode(attr: Attr): Attr | null;
|
1581
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
1582
|
-
setHTMLUnsafe(html: string): void;
|
1583
|
-
setPointerCapture(pointerId: number): void;
|
1584
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
1585
|
-
webkitMatchesSelector(selectors: string): boolean;
|
1586
|
-
readonly baseURI: string;
|
1587
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
1588
|
-
readonly firstChild: ChildNode | null;
|
1589
|
-
readonly isConnected: boolean;
|
1590
|
-
readonly lastChild: ChildNode | null;
|
1591
|
-
readonly nextSibling: ChildNode | null;
|
1592
|
-
readonly nodeName: string;
|
1593
|
-
readonly nodeType: number;
|
1594
|
-
nodeValue: string | null;
|
1595
|
-
readonly parentElement: HTMLElement | null;
|
1596
|
-
readonly parentNode: ParentNode | null;
|
1597
|
-
readonly previousSibling: ChildNode | null;
|
1598
|
-
textContent: string | null;
|
1599
|
-
appendChild<T extends Node>(node: T): T;
|
1600
|
-
cloneNode(subtree?: boolean): Node;
|
1601
|
-
compareDocumentPosition(other: Node): number;
|
1602
|
-
contains(other: Node | null): boolean;
|
1603
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
1604
|
-
hasChildNodes(): boolean;
|
1605
|
-
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
1606
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
1607
|
-
isEqualNode(otherNode: Node | null): boolean;
|
1608
|
-
isSameNode(otherNode: Node | null): boolean;
|
1609
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
1610
|
-
lookupPrefix(namespace: string | null): string | null;
|
1611
|
-
normalize(): void;
|
1612
|
-
removeChild<T extends Node>(child: T): T;
|
1613
|
-
replaceChild<T extends Node>(node: Node, child: T): T;
|
1614
|
-
readonly ELEMENT_NODE: 1;
|
1615
|
-
readonly ATTRIBUTE_NODE: 2;
|
1616
|
-
readonly TEXT_NODE: 3;
|
1617
|
-
readonly CDATA_SECTION_NODE: 4;
|
1618
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
1619
|
-
readonly ENTITY_NODE: 6;
|
1620
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
1621
|
-
readonly COMMENT_NODE: 8;
|
1622
|
-
readonly DOCUMENT_NODE: 9;
|
1623
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
1624
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
1625
|
-
readonly NOTATION_NODE: 12;
|
1626
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
1627
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
1628
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
1629
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
1630
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
1631
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
1632
|
-
dispatchEvent(event: Event): boolean;
|
1633
|
-
ariaAtomic: string | null;
|
1634
|
-
ariaAutoComplete: string | null;
|
1635
|
-
ariaBrailleLabel: string | null;
|
1636
|
-
ariaBrailleRoleDescription: string | null;
|
1637
|
-
ariaBusy: string | null;
|
1638
|
-
ariaChecked: string | null;
|
1639
|
-
ariaColCount: string | null;
|
1640
|
-
ariaColIndex: string | null;
|
1641
|
-
ariaColIndexText: string | null;
|
1642
|
-
ariaColSpan: string | null;
|
1643
|
-
ariaCurrent: string | null;
|
1644
|
-
ariaDescription: string | null;
|
1645
|
-
ariaDisabled: string | null;
|
1646
|
-
ariaExpanded: string | null;
|
1647
|
-
ariaHasPopup: string | null;
|
1648
|
-
ariaHidden: string | null;
|
1649
|
-
ariaInvalid: string | null;
|
1650
|
-
ariaKeyShortcuts: string | null;
|
1651
|
-
ariaLabel: string | null;
|
1652
|
-
ariaLevel: string | null;
|
1653
|
-
ariaLive: string | null;
|
1654
|
-
ariaModal: string | null;
|
1655
|
-
ariaMultiLine: string | null;
|
1656
|
-
ariaMultiSelectable: string | null;
|
1657
|
-
ariaOrientation: string | null;
|
1658
|
-
ariaPlaceholder: string | null;
|
1659
|
-
ariaPosInSet: string | null;
|
1660
|
-
ariaPressed: string | null;
|
1661
|
-
ariaReadOnly: string | null;
|
1662
|
-
ariaRelevant: string | null;
|
1663
|
-
ariaRequired: string | null;
|
1664
|
-
ariaRoleDescription: string | null;
|
1665
|
-
ariaRowCount: string | null;
|
1666
|
-
ariaRowIndex: string | null;
|
1667
|
-
ariaRowIndexText: string | null;
|
1668
|
-
ariaRowSpan: string | null;
|
1669
|
-
ariaSelected: string | null;
|
1670
|
-
ariaSetSize: string | null;
|
1671
|
-
ariaSort: string | null;
|
1672
|
-
ariaValueMax: string | null;
|
1673
|
-
ariaValueMin: string | null;
|
1674
|
-
ariaValueNow: string | null;
|
1675
|
-
ariaValueText: string | null;
|
1676
|
-
role: string | null;
|
1677
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
1678
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
1679
|
-
after(...nodes: (Node | string)[]): void;
|
1680
|
-
before(...nodes: (Node | string)[]): void;
|
1681
|
-
remove(): void;
|
1682
|
-
replaceWith(...nodes: (Node | string)[]): void;
|
1683
|
-
readonly nextElementSibling: Element | null;
|
1684
|
-
readonly previousElementSibling: Element | null;
|
1685
|
-
readonly childElementCount: number;
|
1686
|
-
readonly children: HTMLCollection;
|
1687
|
-
readonly firstElementChild: Element | null;
|
1688
|
-
readonly lastElementChild: Element | null;
|
1689
|
-
append(...nodes: (Node | string)[]): void;
|
1690
|
-
prepend(...nodes: (Node | string)[]): void;
|
1691
|
-
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
1692
|
-
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
1693
|
-
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
1694
|
-
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
1695
|
-
querySelector<E extends Element = Element>(selectors: string): E | null;
|
1696
|
-
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
1697
|
-
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
1698
|
-
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
1699
|
-
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
1700
|
-
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
1701
|
-
replaceChildren(...nodes: (Node | string)[]): void;
|
1702
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
1703
|
-
readonly attributeStyleMap: StylePropertyMap;
|
1704
|
-
get style(): CSSStyleDeclaration;
|
1705
|
-
set style(cssText: string);
|
1706
|
-
contentEditable: string;
|
1707
|
-
enterKeyHint: string;
|
1708
|
-
inputMode: string;
|
1709
|
-
readonly isContentEditable: boolean;
|
1710
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
1711
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
1712
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
1713
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
1714
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
1715
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1716
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
1717
|
-
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1718
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
1719
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1720
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1721
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1722
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1723
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1724
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1725
|
-
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1726
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1727
|
-
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1728
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
1729
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1730
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
1731
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1732
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1733
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1734
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1735
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1736
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1737
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1738
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
1739
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1740
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1741
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1742
|
-
onerror: OnErrorEventHandler;
|
1743
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
1744
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
1745
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1746
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1747
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1748
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
1749
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
1750
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
1751
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1752
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1753
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1754
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1755
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1756
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1757
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1758
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1759
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1760
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1761
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1762
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
1763
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
1764
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1765
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1766
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1767
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1768
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1769
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1770
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1771
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1772
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1773
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1774
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
1775
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
1776
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1777
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1778
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
1779
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1780
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1781
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
1782
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1783
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1784
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1785
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1786
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1787
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1788
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1789
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
1790
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1791
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1792
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1793
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
1794
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
1795
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
1796
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
1797
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
1798
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
1799
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
1800
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
1801
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1802
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1803
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1804
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1805
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1806
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
1807
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
1808
|
-
autofocus: boolean;
|
1809
|
-
readonly dataset: DOMStringMap;
|
1810
|
-
nonce?: string;
|
1811
|
-
tabIndex: number;
|
1812
|
-
blur(): void;
|
1813
|
-
focus(options?: FocusOptions): void;
|
1814
|
-
};
|
1815
|
-
} & {
|
1816
|
-
new (...args: any[]): {
|
1817
|
-
/**
|
1818
|
-
* @param instance The instance of the desired element to validate against,
|
1819
|
-
* ex: `HTMLDialogElement`. Defaults to `HTMLElement`.
|
1820
|
-
* @returns The element that matches the `content` selector.
|
1821
|
-
* @default this.querySelector("[data-content]")
|
1822
|
-
*/
|
1823
|
-
getContent<T extends HTMLElement>(instance: Constructor<T>): T;
|
1824
|
-
getContent(): HTMLElement;
|
1825
|
-
/**
|
1826
|
-
* Finds the `HTMLElement | HTMLTemplateElement` via the `swap` selector and
|
1827
|
-
* swaps `this.content()` with the content of the element found.
|
1828
|
-
*
|
1829
|
-
* @param revert Wait time (ms) before swapping back, set to `false` to not revert.
|
1830
|
-
* default: `800`
|
1831
|
-
*/
|
1832
|
-
swapContent(revert?: number | false): void;
|
1833
|
-
accessKey: string;
|
1834
|
-
readonly accessKeyLabel: string;
|
1835
|
-
autocapitalize: string;
|
1836
|
-
dir: string;
|
1837
|
-
draggable: boolean;
|
1838
|
-
hidden: boolean;
|
1839
|
-
inert: boolean;
|
1840
|
-
innerText: string;
|
1841
|
-
lang: string;
|
1842
|
-
readonly offsetHeight: number;
|
1843
|
-
readonly offsetLeft: number;
|
1844
|
-
readonly offsetParent: Element | null;
|
1845
|
-
readonly offsetTop: number;
|
1846
|
-
readonly offsetWidth: number;
|
1847
|
-
outerText: string;
|
1848
|
-
popover: string | null;
|
1849
|
-
spellcheck: boolean;
|
1850
|
-
title: string;
|
1851
|
-
translate: boolean;
|
1852
|
-
writingSuggestions: string;
|
1853
|
-
attachInternals(): ElementInternals;
|
1854
|
-
click(): void;
|
1855
|
-
hidePopover(): void;
|
1856
|
-
showPopover(): void;
|
1857
|
-
togglePopover(options?: boolean): boolean;
|
1858
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
1859
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
1860
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
1861
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
1862
|
-
readonly attributes: NamedNodeMap;
|
1863
|
-
get classList(): DOMTokenList;
|
1864
|
-
set classList(value: string);
|
1865
|
-
className: string;
|
1866
|
-
readonly clientHeight: number;
|
1867
|
-
readonly clientLeft: number;
|
1868
|
-
readonly clientTop: number;
|
1869
|
-
readonly clientWidth: number;
|
1870
|
-
readonly currentCSSZoom: number;
|
1871
|
-
id: string;
|
1872
|
-
innerHTML: string;
|
1873
|
-
readonly localName: string;
|
1874
|
-
readonly namespaceURI: string | null;
|
1875
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
1876
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
1877
|
-
outerHTML: string;
|
1878
|
-
readonly ownerDocument: Document;
|
1879
|
-
get part(): DOMTokenList;
|
1880
|
-
set part(value: string);
|
1881
|
-
readonly prefix: string | null;
|
1882
|
-
readonly scrollHeight: number;
|
1883
|
-
scrollLeft: number;
|
1884
|
-
scrollTop: number;
|
1885
|
-
readonly scrollWidth: number;
|
1886
|
-
readonly shadowRoot: ShadowRoot | null;
|
1887
|
-
slot: string;
|
1888
|
-
readonly tagName: string;
|
1889
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
1890
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
1891
|
-
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
1892
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
1893
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
1894
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
1895
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
1896
|
-
getAttribute(qualifiedName: string): string | null;
|
1897
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
1898
|
-
getAttributeNames(): string[];
|
1899
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
1900
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
1901
|
-
getBoundingClientRect(): DOMRect;
|
1902
|
-
getClientRects(): DOMRectList;
|
1903
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
1904
|
-
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
1905
|
-
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
1906
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
1907
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
1908
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
1909
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
1910
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
1911
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
1912
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
1913
|
-
getHTML(options?: GetHTMLOptions): string;
|
1914
|
-
hasAttribute(qualifiedName: string): boolean;
|
1915
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
1916
|
-
hasAttributes(): boolean;
|
1917
|
-
hasPointerCapture(pointerId: number): boolean;
|
1918
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
1919
|
-
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
1920
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
1921
|
-
matches(selectors: string): boolean;
|
1922
|
-
releasePointerCapture(pointerId: number): void;
|
1923
|
-
removeAttribute(qualifiedName: string): void;
|
1924
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
1925
|
-
removeAttributeNode(attr: Attr): Attr;
|
1926
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
1927
|
-
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
1928
|
-
scroll(options?: ScrollToOptions): void;
|
1929
|
-
scroll(x: number, y: number): void;
|
1930
|
-
scrollBy(options?: ScrollToOptions): void;
|
1931
|
-
scrollBy(x: number, y: number): void;
|
1932
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
1933
|
-
scrollTo(options?: ScrollToOptions): void;
|
1934
|
-
scrollTo(x: number, y: number): void;
|
1935
|
-
setAttribute(qualifiedName: string, value: string): void;
|
1936
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
1937
|
-
setAttributeNode(attr: Attr): Attr | null;
|
1938
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
1939
|
-
setHTMLUnsafe(html: string): void;
|
1940
|
-
setPointerCapture(pointerId: number): void;
|
1941
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
1942
|
-
webkitMatchesSelector(selectors: string): boolean;
|
1943
|
-
readonly baseURI: string;
|
1944
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
1945
|
-
readonly firstChild: ChildNode | null;
|
1946
|
-
readonly isConnected: boolean;
|
1947
|
-
readonly lastChild: ChildNode | null;
|
1948
|
-
readonly nextSibling: ChildNode | null;
|
1949
|
-
readonly nodeName: string;
|
1950
|
-
readonly nodeType: number;
|
1951
|
-
nodeValue: string | null;
|
1952
|
-
readonly parentElement: HTMLElement | null;
|
1953
|
-
readonly parentNode: ParentNode | null;
|
1954
|
-
readonly previousSibling: ChildNode | null;
|
1955
|
-
textContent: string | null;
|
1956
|
-
appendChild<T extends Node>(node: T): T;
|
1957
|
-
cloneNode(subtree?: boolean): Node;
|
1958
|
-
compareDocumentPosition(other: Node): number;
|
1959
|
-
contains(other: Node | null): boolean;
|
1960
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
1961
|
-
hasChildNodes(): boolean;
|
1962
|
-
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
1963
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
1964
|
-
isEqualNode(otherNode: Node | null): boolean;
|
1965
|
-
isSameNode(otherNode: Node | null): boolean;
|
1966
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
1967
|
-
lookupPrefix(namespace: string | null): string | null;
|
1968
|
-
normalize(): void;
|
1969
|
-
removeChild<T extends Node>(child: T): T;
|
1970
|
-
replaceChild<T extends Node>(node: Node, child: T): T;
|
1971
|
-
readonly ELEMENT_NODE: 1;
|
1972
|
-
readonly ATTRIBUTE_NODE: 2;
|
1973
|
-
readonly TEXT_NODE: 3;
|
1974
|
-
readonly CDATA_SECTION_NODE: 4;
|
1975
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
1976
|
-
readonly ENTITY_NODE: 6;
|
1977
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
1978
|
-
readonly COMMENT_NODE: 8;
|
1979
|
-
readonly DOCUMENT_NODE: 9;
|
1980
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
1981
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
1982
|
-
readonly NOTATION_NODE: 12;
|
1983
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
1984
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
1985
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
1986
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
1987
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
1988
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
1989
|
-
dispatchEvent(event: Event): boolean;
|
1990
|
-
ariaAtomic: string | null;
|
1991
|
-
ariaAutoComplete: string | null;
|
1992
|
-
ariaBrailleLabel: string | null;
|
1993
|
-
ariaBrailleRoleDescription: string | null;
|
1994
|
-
ariaBusy: string | null;
|
1995
|
-
ariaChecked: string | null;
|
1996
|
-
ariaColCount: string | null;
|
1997
|
-
ariaColIndex: string | null;
|
1998
|
-
ariaColIndexText: string | null;
|
1999
|
-
ariaColSpan: string | null;
|
2000
|
-
ariaCurrent: string | null;
|
2001
|
-
ariaDescription: string | null;
|
2002
|
-
ariaDisabled: string | null;
|
2003
|
-
ariaExpanded: string | null;
|
2004
|
-
ariaHasPopup: string | null;
|
2005
|
-
ariaHidden: string | null;
|
2006
|
-
ariaInvalid: string | null;
|
2007
|
-
ariaKeyShortcuts: string | null;
|
2008
|
-
ariaLabel: string | null;
|
2009
|
-
ariaLevel: string | null;
|
2010
|
-
ariaLive: string | null;
|
2011
|
-
ariaModal: string | null;
|
2012
|
-
ariaMultiLine: string | null;
|
2013
|
-
ariaMultiSelectable: string | null;
|
2014
|
-
ariaOrientation: string | null;
|
2015
|
-
ariaPlaceholder: string | null;
|
2016
|
-
ariaPosInSet: string | null;
|
2017
|
-
ariaPressed: string | null;
|
2018
|
-
ariaReadOnly: string | null;
|
2019
|
-
ariaRelevant: string | null;
|
2020
|
-
ariaRequired: string | null;
|
2021
|
-
ariaRoleDescription: string | null;
|
2022
|
-
ariaRowCount: string | null;
|
2023
|
-
ariaRowIndex: string | null;
|
2024
|
-
ariaRowIndexText: string | null;
|
2025
|
-
ariaRowSpan: string | null;
|
2026
|
-
ariaSelected: string | null;
|
2027
|
-
ariaSetSize: string | null;
|
2028
|
-
ariaSort: string | null;
|
2029
|
-
ariaValueMax: string | null;
|
2030
|
-
ariaValueMin: string | null;
|
2031
|
-
ariaValueNow: string | null;
|
2032
|
-
ariaValueText: string | null;
|
2033
|
-
role: string | null;
|
2034
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
2035
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
2036
|
-
after(...nodes: (Node | string)[]): void;
|
2037
|
-
before(...nodes: (Node | string)[]): void;
|
2038
|
-
remove(): void;
|
2039
|
-
replaceWith(...nodes: (Node | string)[]): void;
|
2040
|
-
readonly nextElementSibling: Element | null;
|
2041
|
-
readonly previousElementSibling: Element | null;
|
2042
|
-
readonly childElementCount: number;
|
2043
|
-
readonly children: HTMLCollection;
|
2044
|
-
readonly firstElementChild: Element | null;
|
2045
|
-
readonly lastElementChild: Element | null;
|
2046
|
-
append(...nodes: (Node | string)[]): void;
|
2047
|
-
prepend(...nodes: (Node | string)[]): void;
|
2048
|
-
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
2049
|
-
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
2050
|
-
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
2051
|
-
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
2052
|
-
querySelector<E extends Element = Element>(selectors: string): E | null;
|
2053
|
-
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
2054
|
-
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
2055
|
-
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
2056
|
-
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
2057
|
-
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
2058
|
-
replaceChildren(...nodes: (Node | string)[]): void;
|
2059
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
2060
|
-
readonly attributeStyleMap: StylePropertyMap;
|
2061
|
-
get style(): CSSStyleDeclaration;
|
2062
|
-
set style(cssText: string);
|
2063
|
-
contentEditable: string;
|
2064
|
-
enterKeyHint: string;
|
2065
|
-
inputMode: string;
|
2066
|
-
readonly isContentEditable: boolean;
|
2067
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
2068
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2069
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2070
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2071
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2072
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2073
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
2074
|
-
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2075
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
2076
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2077
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2078
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2079
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2080
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2081
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2082
|
-
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2083
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2084
|
-
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2085
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2086
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2087
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2088
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2089
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2090
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2091
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2092
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2093
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2094
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2095
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2096
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2097
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2098
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2099
|
-
onerror: OnErrorEventHandler;
|
2100
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
2101
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
2102
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2103
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2104
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2105
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2106
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2107
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2108
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2109
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2110
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2111
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2112
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2113
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2114
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2115
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2116
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2117
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2118
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2119
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2120
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2121
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2122
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2123
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2124
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2125
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2126
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2127
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2128
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2129
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2130
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2131
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2132
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
2133
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2134
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2135
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
2136
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2137
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2138
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
2139
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2140
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2141
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2142
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2143
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2144
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2145
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2146
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
2147
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2148
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2149
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2150
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2151
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2152
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2153
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2154
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2155
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2156
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2157
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2158
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2159
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2160
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2161
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2162
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2163
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2164
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
2165
|
-
autofocus: boolean;
|
2166
|
-
readonly dataset: DOMStringMap;
|
2167
|
-
nonce?: string;
|
2168
|
-
tabIndex: number;
|
2169
|
-
blur(): void;
|
2170
|
-
focus(options?: FocusOptions): void;
|
2171
|
-
};
|
2172
|
-
} & {
|
2173
|
-
new (...args: any[]): {
|
2174
|
-
/** To clean up event listeners added to `document` when the element is removed. */
|
2175
|
-
"__#1@#listenerController": AbortController;
|
2176
|
-
/**
|
2177
|
-
* Wrapper around `addEventListener` that ensures when the element is
|
2178
|
-
* removed from the DOM, these event listeners are cleaned up.
|
2179
|
-
*
|
2180
|
-
* @param type Event listener type - ex: `"keydown"`
|
2181
|
-
* @param listener Listener to add to the target.
|
2182
|
-
* @param target Event target to add the listener to - defaults to `document.body`.
|
2183
|
-
* @param options Other options sans `signal`.
|
2184
|
-
*/
|
2185
|
-
safeListener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, event: HTMLElementEventMap[T]) => any, element?: HTMLElement, options?: AddEventListenerOptions): void;
|
2186
|
-
safeListener<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, event: DocumentEventMap[T]) => any, document: Document, options?: AddEventListenerOptions): void;
|
2187
|
-
safeListener<T extends keyof WindowEventMap>(type: T, listener: (this: Window, event: WindowEventMap[T]) => any, window: Window, options?: AddEventListenerOptions): void;
|
2188
|
-
/**
|
2189
|
-
* Passed into `queueMicrotask` in `connectedCallback`.
|
2190
|
-
* It is overridden in each component that needs to run `connectedCallback`.
|
2191
|
-
*
|
2192
|
-
* The reason for this is to make these elements work better with frameworks like Svelte.
|
2193
|
-
* For SSR this isn't necessary, but when client side rendering, the HTML within the
|
2194
|
-
* custom element isn't available before `connectedCallback` is called. By waiting until
|
2195
|
-
* the next microtask, the HTML content is available---then for example, listeners can
|
2196
|
-
* be attached to elements inside.
|
2197
|
-
*/
|
2198
|
-
mount(): void;
|
2199
|
-
/** Called when custom element is added to the page. */
|
2200
|
-
connectedCallback(): void;
|
2201
|
-
/**
|
2202
|
-
* Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallback` as well. It is overridden in each element that needs to run `disconnectedCallback`.
|
2203
|
-
*/
|
2204
|
-
destroy(): void;
|
2205
|
-
/** Called when custom element is removed from the page. */
|
2206
|
-
disconnectedCallback(): void;
|
2207
|
-
accessKey: string;
|
2208
|
-
readonly accessKeyLabel: string;
|
2209
|
-
autocapitalize: string;
|
2210
|
-
dir: string;
|
2211
|
-
draggable: boolean;
|
2212
|
-
hidden: boolean;
|
2213
|
-
inert: boolean;
|
2214
|
-
innerText: string;
|
2215
|
-
lang: string;
|
2216
|
-
readonly offsetHeight: number;
|
2217
|
-
readonly offsetLeft: number;
|
2218
|
-
readonly offsetParent: Element | null;
|
2219
|
-
readonly offsetTop: number;
|
2220
|
-
readonly offsetWidth: number;
|
2221
|
-
outerText: string;
|
2222
|
-
popover: string | null;
|
2223
|
-
spellcheck: boolean;
|
2224
|
-
title: string;
|
2225
|
-
translate: boolean;
|
2226
|
-
writingSuggestions: string;
|
2227
|
-
attachInternals(): ElementInternals;
|
2228
|
-
click(): void;
|
2229
|
-
hidePopover(): void;
|
2230
|
-
showPopover(): void;
|
2231
|
-
togglePopover(options?: boolean): boolean;
|
2232
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
2233
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
2234
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
2235
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
2236
|
-
readonly attributes: NamedNodeMap;
|
2237
|
-
get classList(): DOMTokenList;
|
2238
|
-
set classList(value: string);
|
2239
|
-
className: string;
|
2240
|
-
readonly clientHeight: number;
|
2241
|
-
readonly clientLeft: number;
|
2242
|
-
readonly clientTop: number;
|
2243
|
-
readonly clientWidth: number;
|
2244
|
-
readonly currentCSSZoom: number;
|
2245
|
-
id: string;
|
2246
|
-
innerHTML: string;
|
2247
|
-
readonly localName: string;
|
2248
|
-
readonly namespaceURI: string | null;
|
2249
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
2250
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
2251
|
-
outerHTML: string;
|
2252
|
-
readonly ownerDocument: Document;
|
2253
|
-
get part(): DOMTokenList;
|
2254
|
-
set part(value: string);
|
2255
|
-
readonly prefix: string | null;
|
2256
|
-
readonly scrollHeight: number;
|
2257
|
-
scrollLeft: number;
|
2258
|
-
scrollTop: number;
|
2259
|
-
readonly scrollWidth: number;
|
2260
|
-
readonly shadowRoot: ShadowRoot | null;
|
2261
|
-
slot: string;
|
2262
|
-
readonly tagName: string;
|
2263
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
2264
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
2265
|
-
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
2266
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
2267
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
2268
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
2269
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
2270
|
-
getAttribute(qualifiedName: string): string | null;
|
2271
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
2272
|
-
getAttributeNames(): string[];
|
2273
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
2274
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
2275
|
-
getBoundingClientRect(): DOMRect;
|
2276
|
-
getClientRects(): DOMRectList;
|
2277
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
2278
|
-
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
2279
|
-
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
2280
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
2281
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
2282
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
2283
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
2284
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
2285
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
2286
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
2287
|
-
getHTML(options?: GetHTMLOptions): string;
|
2288
|
-
hasAttribute(qualifiedName: string): boolean;
|
2289
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
2290
|
-
hasAttributes(): boolean;
|
2291
|
-
hasPointerCapture(pointerId: number): boolean;
|
2292
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
2293
|
-
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
2294
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
2295
|
-
matches(selectors: string): boolean;
|
2296
|
-
releasePointerCapture(pointerId: number): void;
|
2297
|
-
removeAttribute(qualifiedName: string): void;
|
2298
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
2299
|
-
removeAttributeNode(attr: Attr): Attr;
|
2300
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
2301
|
-
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
2302
|
-
scroll(options?: ScrollToOptions): void;
|
2303
|
-
scroll(x: number, y: number): void;
|
2304
|
-
scrollBy(options?: ScrollToOptions): void;
|
2305
|
-
scrollBy(x: number, y: number): void;
|
2306
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
2307
|
-
scrollTo(options?: ScrollToOptions): void;
|
2308
|
-
scrollTo(x: number, y: number): void;
|
2309
|
-
setAttribute(qualifiedName: string, value: string): void;
|
2310
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
2311
|
-
setAttributeNode(attr: Attr): Attr | null;
|
2312
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
2313
|
-
setHTMLUnsafe(html: string): void;
|
2314
|
-
setPointerCapture(pointerId: number): void;
|
2315
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
2316
|
-
webkitMatchesSelector(selectors: string): boolean;
|
2317
|
-
readonly baseURI: string;
|
2318
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
2319
|
-
readonly firstChild: ChildNode | null;
|
2320
|
-
readonly isConnected: boolean;
|
2321
|
-
readonly lastChild: ChildNode | null;
|
2322
|
-
readonly nextSibling: ChildNode | null;
|
2323
|
-
readonly nodeName: string;
|
2324
|
-
readonly nodeType: number;
|
2325
|
-
nodeValue: string | null;
|
2326
|
-
readonly parentElement: HTMLElement | null;
|
2327
|
-
readonly parentNode: ParentNode | null;
|
2328
|
-
readonly previousSibling: ChildNode | null;
|
2329
|
-
textContent: string | null;
|
2330
|
-
appendChild<T extends Node>(node: T): T;
|
2331
|
-
cloneNode(subtree?: boolean): Node;
|
2332
|
-
compareDocumentPosition(other: Node): number;
|
2333
|
-
contains(other: Node | null): boolean;
|
2334
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
2335
|
-
hasChildNodes(): boolean;
|
2336
|
-
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
2337
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
2338
|
-
isEqualNode(otherNode: Node | null): boolean;
|
2339
|
-
isSameNode(otherNode: Node | null): boolean;
|
2340
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
2341
|
-
lookupPrefix(namespace: string | null): string | null;
|
2342
|
-
normalize(): void;
|
2343
|
-
removeChild<T extends Node>(child: T): T;
|
2344
|
-
replaceChild<T extends Node>(node: Node, child: T): T;
|
2345
|
-
readonly ELEMENT_NODE: 1;
|
2346
|
-
readonly ATTRIBUTE_NODE: 2;
|
2347
|
-
readonly TEXT_NODE: 3;
|
2348
|
-
readonly CDATA_SECTION_NODE: 4;
|
2349
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
2350
|
-
readonly ENTITY_NODE: 6;
|
2351
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
2352
|
-
readonly COMMENT_NODE: 8;
|
2353
|
-
readonly DOCUMENT_NODE: 9;
|
2354
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
2355
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
2356
|
-
readonly NOTATION_NODE: 12;
|
2357
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
2358
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
2359
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
2360
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
2361
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
2362
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
2363
|
-
dispatchEvent(event: Event): boolean;
|
2364
|
-
ariaAtomic: string | null;
|
2365
|
-
ariaAutoComplete: string | null;
|
2366
|
-
ariaBrailleLabel: string | null;
|
2367
|
-
ariaBrailleRoleDescription: string | null;
|
2368
|
-
ariaBusy: string | null;
|
2369
|
-
ariaChecked: string | null;
|
2370
|
-
ariaColCount: string | null;
|
2371
|
-
ariaColIndex: string | null;
|
2372
|
-
ariaColIndexText: string | null;
|
2373
|
-
ariaColSpan: string | null;
|
2374
|
-
ariaCurrent: string | null;
|
2375
|
-
ariaDescription: string | null;
|
2376
|
-
ariaDisabled: string | null;
|
2377
|
-
ariaExpanded: string | null;
|
2378
|
-
ariaHasPopup: string | null;
|
2379
|
-
ariaHidden: string | null;
|
2380
|
-
ariaInvalid: string | null;
|
2381
|
-
ariaKeyShortcuts: string | null;
|
2382
|
-
ariaLabel: string | null;
|
2383
|
-
ariaLevel: string | null;
|
2384
|
-
ariaLive: string | null;
|
2385
|
-
ariaModal: string | null;
|
2386
|
-
ariaMultiLine: string | null;
|
2387
|
-
ariaMultiSelectable: string | null;
|
2388
|
-
ariaOrientation: string | null;
|
2389
|
-
ariaPlaceholder: string | null;
|
2390
|
-
ariaPosInSet: string | null;
|
2391
|
-
ariaPressed: string | null;
|
2392
|
-
ariaReadOnly: string | null;
|
2393
|
-
ariaRelevant: string | null;
|
2394
|
-
ariaRequired: string | null;
|
2395
|
-
ariaRoleDescription: string | null;
|
2396
|
-
ariaRowCount: string | null;
|
2397
|
-
ariaRowIndex: string | null;
|
2398
|
-
ariaRowIndexText: string | null;
|
2399
|
-
ariaRowSpan: string | null;
|
2400
|
-
ariaSelected: string | null;
|
2401
|
-
ariaSetSize: string | null;
|
2402
|
-
ariaSort: string | null;
|
2403
|
-
ariaValueMax: string | null;
|
2404
|
-
ariaValueMin: string | null;
|
2405
|
-
ariaValueNow: string | null;
|
2406
|
-
ariaValueText: string | null;
|
2407
|
-
role: string | null;
|
2408
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
2409
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
2410
|
-
after(...nodes: (Node | string)[]): void;
|
2411
|
-
before(...nodes: (Node | string)[]): void;
|
2412
|
-
remove(): void;
|
2413
|
-
replaceWith(...nodes: (Node | string)[]): void;
|
2414
|
-
readonly nextElementSibling: Element | null;
|
2415
|
-
readonly previousElementSibling: Element | null;
|
2416
|
-
readonly childElementCount: number;
|
2417
|
-
readonly children: HTMLCollection;
|
2418
|
-
readonly firstElementChild: Element | null;
|
2419
|
-
readonly lastElementChild: Element | null;
|
2420
|
-
append(...nodes: (Node | string)[]): void;
|
2421
|
-
prepend(...nodes: (Node | string)[]): void;
|
2422
|
-
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
2423
|
-
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
2424
|
-
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
2425
|
-
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
2426
|
-
querySelector<E extends Element = Element>(selectors: string): E | null;
|
2427
|
-
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
2428
|
-
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
2429
|
-
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
2430
|
-
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
2431
|
-
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
2432
|
-
replaceChildren(...nodes: (Node | string)[]): void;
|
2433
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
2434
|
-
readonly attributeStyleMap: StylePropertyMap;
|
2435
|
-
get style(): CSSStyleDeclaration;
|
2436
|
-
set style(cssText: string);
|
2437
|
-
contentEditable: string;
|
2438
|
-
enterKeyHint: string;
|
2439
|
-
inputMode: string;
|
2440
|
-
readonly isContentEditable: boolean;
|
2441
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
2442
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2443
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2444
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2445
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2446
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2447
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
2448
|
-
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2449
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
2450
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2451
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2452
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2453
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2454
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2455
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2456
|
-
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2457
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2458
|
-
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2459
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2460
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2461
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2462
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2463
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2464
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2465
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2466
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2467
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2468
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2469
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2470
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2471
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2472
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2473
|
-
onerror: OnErrorEventHandler;
|
2474
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
2475
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
2476
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2477
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2478
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2479
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2480
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2481
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2482
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2483
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2484
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2485
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2486
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2487
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2488
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2489
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2490
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2491
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2492
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2493
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2494
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2495
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2496
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2497
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2498
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2499
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2500
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2501
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2502
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2503
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2504
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2505
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2506
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
2507
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2508
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2509
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
2510
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2511
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2512
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
2513
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2514
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2515
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2516
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2517
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2518
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2519
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2520
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
2521
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2522
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2523
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2524
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2525
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2526
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2527
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2528
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2529
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2530
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2531
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2532
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2533
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2534
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2535
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2536
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2537
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2538
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
2539
|
-
autofocus: boolean;
|
2540
|
-
readonly dataset: DOMStringMap;
|
2541
|
-
nonce?: string;
|
2542
|
-
tabIndex: number;
|
2543
|
-
blur(): void;
|
2544
|
-
focus(options?: FocusOptions): void;
|
2545
|
-
};
|
2546
|
-
} & {
|
2547
|
-
new (...args: any[]): {
|
2548
|
-
/**
|
2549
|
-
* @param message message to announce to screen readers
|
2550
|
-
*/
|
2551
|
-
announce(message: string): void;
|
2552
|
-
accessKey: string;
|
2553
|
-
readonly accessKeyLabel: string;
|
2554
|
-
autocapitalize: string;
|
2555
|
-
dir: string;
|
2556
|
-
draggable: boolean;
|
2557
|
-
hidden: boolean;
|
2558
|
-
inert: boolean;
|
2559
|
-
innerText: string;
|
2560
|
-
lang: string;
|
2561
|
-
readonly offsetHeight: number;
|
2562
|
-
readonly offsetLeft: number;
|
2563
|
-
readonly offsetParent: Element | null;
|
2564
|
-
readonly offsetTop: number;
|
2565
|
-
readonly offsetWidth: number;
|
2566
|
-
outerText: string;
|
2567
|
-
popover: string | null;
|
2568
|
-
spellcheck: boolean;
|
2569
|
-
title: string;
|
2570
|
-
translate: boolean;
|
2571
|
-
writingSuggestions: string;
|
2572
|
-
attachInternals(): ElementInternals;
|
2573
|
-
click(): void;
|
2574
|
-
hidePopover(): void;
|
2575
|
-
showPopover(): void;
|
2576
|
-
togglePopover(options?: boolean): boolean;
|
2577
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
2578
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
2579
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
2580
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
2581
|
-
readonly attributes: NamedNodeMap;
|
2582
|
-
get classList(): DOMTokenList;
|
2583
|
-
set classList(value: string);
|
2584
|
-
className: string;
|
2585
|
-
readonly clientHeight: number;
|
2586
|
-
readonly clientLeft: number;
|
2587
|
-
readonly clientTop: number;
|
2588
|
-
readonly clientWidth: number;
|
2589
|
-
readonly currentCSSZoom: number;
|
2590
|
-
id: string;
|
2591
|
-
innerHTML: string;
|
2592
|
-
readonly localName: string;
|
2593
|
-
readonly namespaceURI: string | null;
|
2594
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
2595
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
2596
|
-
outerHTML: string;
|
2597
|
-
readonly ownerDocument: Document;
|
2598
|
-
get part(): DOMTokenList;
|
2599
|
-
set part(value: string);
|
2600
|
-
readonly prefix: string | null;
|
2601
|
-
readonly scrollHeight: number;
|
2602
|
-
scrollLeft: number;
|
2603
|
-
scrollTop: number;
|
2604
|
-
readonly scrollWidth: number;
|
2605
|
-
readonly shadowRoot: ShadowRoot | null;
|
2606
|
-
slot: string;
|
2607
|
-
readonly tagName: string;
|
2608
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
2609
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
2610
|
-
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
2611
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
2612
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
2613
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
2614
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
2615
|
-
getAttribute(qualifiedName: string): string | null;
|
2616
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
2617
|
-
getAttributeNames(): string[];
|
2618
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
2619
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
2620
|
-
getBoundingClientRect(): DOMRect;
|
2621
|
-
getClientRects(): DOMRectList;
|
2622
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
2623
|
-
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
2624
|
-
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
2625
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
2626
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
2627
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
2628
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
2629
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
2630
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
2631
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
2632
|
-
getHTML(options?: GetHTMLOptions): string;
|
2633
|
-
hasAttribute(qualifiedName: string): boolean;
|
2634
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
2635
|
-
hasAttributes(): boolean;
|
2636
|
-
hasPointerCapture(pointerId: number): boolean;
|
2637
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
2638
|
-
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
2639
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
2640
|
-
matches(selectors: string): boolean;
|
2641
|
-
releasePointerCapture(pointerId: number): void;
|
2642
|
-
removeAttribute(qualifiedName: string): void;
|
2643
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
2644
|
-
removeAttributeNode(attr: Attr): Attr;
|
2645
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
2646
|
-
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
2647
|
-
scroll(options?: ScrollToOptions): void;
|
2648
|
-
scroll(x: number, y: number): void;
|
2649
|
-
scrollBy(options?: ScrollToOptions): void;
|
2650
|
-
scrollBy(x: number, y: number): void;
|
2651
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
2652
|
-
scrollTo(options?: ScrollToOptions): void;
|
2653
|
-
scrollTo(x: number, y: number): void;
|
2654
|
-
setAttribute(qualifiedName: string, value: string): void;
|
2655
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
2656
|
-
setAttributeNode(attr: Attr): Attr | null;
|
2657
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
2658
|
-
setHTMLUnsafe(html: string): void;
|
2659
|
-
setPointerCapture(pointerId: number): void;
|
2660
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
2661
|
-
webkitMatchesSelector(selectors: string): boolean;
|
2662
|
-
readonly baseURI: string;
|
2663
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
2664
|
-
readonly firstChild: ChildNode | null;
|
2665
|
-
readonly isConnected: boolean;
|
2666
|
-
readonly lastChild: ChildNode | null;
|
2667
|
-
readonly nextSibling: ChildNode | null;
|
2668
|
-
readonly nodeName: string;
|
2669
|
-
readonly nodeType: number;
|
2670
|
-
nodeValue: string | null;
|
2671
|
-
readonly parentElement: HTMLElement | null;
|
2672
|
-
readonly parentNode: ParentNode | null;
|
2673
|
-
readonly previousSibling: ChildNode | null;
|
2674
|
-
textContent: string | null;
|
2675
|
-
appendChild<T extends Node>(node: T): T;
|
2676
|
-
cloneNode(subtree?: boolean): Node;
|
2677
|
-
compareDocumentPosition(other: Node): number;
|
2678
|
-
contains(other: Node | null): boolean;
|
2679
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
2680
|
-
hasChildNodes(): boolean;
|
2681
|
-
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
2682
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
2683
|
-
isEqualNode(otherNode: Node | null): boolean;
|
2684
|
-
isSameNode(otherNode: Node | null): boolean;
|
2685
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
2686
|
-
lookupPrefix(namespace: string | null): string | null;
|
2687
|
-
normalize(): void;
|
2688
|
-
removeChild<T extends Node>(child: T): T;
|
2689
|
-
replaceChild<T extends Node>(node: Node, child: T): T;
|
2690
|
-
readonly ELEMENT_NODE: 1;
|
2691
|
-
readonly ATTRIBUTE_NODE: 2;
|
2692
|
-
readonly TEXT_NODE: 3;
|
2693
|
-
readonly CDATA_SECTION_NODE: 4;
|
2694
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
2695
|
-
readonly ENTITY_NODE: 6;
|
2696
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
2697
|
-
readonly COMMENT_NODE: 8;
|
2698
|
-
readonly DOCUMENT_NODE: 9;
|
2699
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
2700
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
2701
|
-
readonly NOTATION_NODE: 12;
|
2702
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
2703
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
2704
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
2705
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
2706
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
2707
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
2708
|
-
dispatchEvent(event: Event): boolean;
|
2709
|
-
ariaAtomic: string | null;
|
2710
|
-
ariaAutoComplete: string | null;
|
2711
|
-
ariaBrailleLabel: string | null;
|
2712
|
-
ariaBrailleRoleDescription: string | null;
|
2713
|
-
ariaBusy: string | null;
|
2714
|
-
ariaChecked: string | null;
|
2715
|
-
ariaColCount: string | null;
|
2716
|
-
ariaColIndex: string | null;
|
2717
|
-
ariaColIndexText: string | null;
|
2718
|
-
ariaColSpan: string | null;
|
2719
|
-
ariaCurrent: string | null;
|
2720
|
-
ariaDescription: string | null;
|
2721
|
-
ariaDisabled: string | null;
|
2722
|
-
ariaExpanded: string | null;
|
2723
|
-
ariaHasPopup: string | null;
|
2724
|
-
ariaHidden: string | null;
|
2725
|
-
ariaInvalid: string | null;
|
2726
|
-
ariaKeyShortcuts: string | null;
|
2727
|
-
ariaLabel: string | null;
|
2728
|
-
ariaLevel: string | null;
|
2729
|
-
ariaLive: string | null;
|
2730
|
-
ariaModal: string | null;
|
2731
|
-
ariaMultiLine: string | null;
|
2732
|
-
ariaMultiSelectable: string | null;
|
2733
|
-
ariaOrientation: string | null;
|
2734
|
-
ariaPlaceholder: string | null;
|
2735
|
-
ariaPosInSet: string | null;
|
2736
|
-
ariaPressed: string | null;
|
2737
|
-
ariaReadOnly: string | null;
|
2738
|
-
ariaRelevant: string | null;
|
2739
|
-
ariaRequired: string | null;
|
2740
|
-
ariaRoleDescription: string | null;
|
2741
|
-
ariaRowCount: string | null;
|
2742
|
-
ariaRowIndex: string | null;
|
2743
|
-
ariaRowIndexText: string | null;
|
2744
|
-
ariaRowSpan: string | null;
|
2745
|
-
ariaSelected: string | null;
|
2746
|
-
ariaSetSize: string | null;
|
2747
|
-
ariaSort: string | null;
|
2748
|
-
ariaValueMax: string | null;
|
2749
|
-
ariaValueMin: string | null;
|
2750
|
-
ariaValueNow: string | null;
|
2751
|
-
ariaValueText: string | null;
|
2752
|
-
role: string | null;
|
2753
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
2754
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
2755
|
-
after(...nodes: (Node | string)[]): void;
|
2756
|
-
before(...nodes: (Node | string)[]): void;
|
2757
|
-
remove(): void;
|
2758
|
-
replaceWith(...nodes: (Node | string)[]): void;
|
2759
|
-
readonly nextElementSibling: Element | null;
|
2760
|
-
readonly previousElementSibling: Element | null;
|
2761
|
-
readonly childElementCount: number;
|
2762
|
-
readonly children: HTMLCollection;
|
2763
|
-
readonly firstElementChild: Element | null;
|
2764
|
-
readonly lastElementChild: Element | null;
|
2765
|
-
append(...nodes: (Node | string)[]): void;
|
2766
|
-
prepend(...nodes: (Node | string)[]): void;
|
2767
|
-
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
2768
|
-
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
2769
|
-
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
2770
|
-
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
2771
|
-
querySelector<E extends Element = Element>(selectors: string): E | null;
|
2772
|
-
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
2773
|
-
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
2774
|
-
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
2775
|
-
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
2776
|
-
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
2777
|
-
replaceChildren(...nodes: (Node | string)[]): void;
|
2778
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
2779
|
-
readonly attributeStyleMap: StylePropertyMap;
|
2780
|
-
get style(): CSSStyleDeclaration;
|
2781
|
-
set style(cssText: string);
|
2782
|
-
contentEditable: string;
|
2783
|
-
enterKeyHint: string;
|
2784
|
-
inputMode: string;
|
2785
|
-
readonly isContentEditable: boolean;
|
2786
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
2787
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2788
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2789
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2790
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
2791
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2792
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
2793
|
-
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2794
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
2795
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2796
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2797
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2798
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2799
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2800
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2801
|
-
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2802
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2803
|
-
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2804
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2805
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2806
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2807
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2808
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2809
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2810
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2811
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2812
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2813
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2814
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
2815
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2816
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2817
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2818
|
-
onerror: OnErrorEventHandler;
|
2819
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
2820
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
2821
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2822
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2823
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2824
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2825
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2826
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
2827
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2828
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2829
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2830
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2831
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2832
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2833
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2834
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2835
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2836
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2837
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2838
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
2839
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
2840
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2841
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2842
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2843
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2844
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2845
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2846
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2847
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2848
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2849
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2850
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
2851
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
2852
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2853
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2854
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
2855
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2856
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2857
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
2858
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2859
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2860
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2861
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2862
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2863
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2864
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2865
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
2866
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2867
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2868
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2869
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2870
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2871
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2872
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
2873
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2874
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2875
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2876
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
2877
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2878
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2879
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2880
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2881
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2882
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
2883
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
2884
|
-
autofocus: boolean;
|
2885
|
-
readonly dataset: DOMStringMap;
|
2886
|
-
nonce?: string;
|
2887
|
-
tabIndex: number;
|
2888
|
-
blur(): void;
|
2889
|
-
focus(options?: FocusOptions): void;
|
2890
|
-
};
|
2891
|
-
/**
|
2892
|
-
* A single `Announcer` element to share between all drab elements to announce
|
2893
|
-
* interactive changes.
|
2894
|
-
*/
|
2895
|
-
"__#2@#announcer": Announcer;
|
2896
|
-
} & {
|
2897
|
-
new (): HTMLElement;
|
2898
|
-
prototype: HTMLElement;
|
2899
|
-
};
|
2900
|
-
/**
|
2901
|
-
* Each element in the library extends the `Base` class. It provides methods
|
2902
|
-
* for selecting elements via HTML attributes along with other helpers.
|
2903
|
-
*
|
2904
|
-
* By default, `trigger`s and `content` will be selected via the `data-trigger` and
|
2905
|
-
* `data-content` attributes. Alternatively, you can set the `trigger` or
|
2906
|
-
* `content` attribute to a CSS selector to change the default selector from
|
2907
|
-
* `[data-trigger]` or `[data-content]` to a selector of your choosing.
|
2908
|
-
* This can be useful if you have multiple elements within one another.
|
2909
|
-
*
|
2910
|
-
* Each element can have multiple `trigger`s, but will only have one `content`.
|
2911
|
-
*/
|
2912
|
-
export declare class Base extends Base_base {
|
2913
|
-
constructor();
|
2914
|
-
}
|
2915
1480
|
export {};
|