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.
Files changed (39) hide show
  1. package/dist/announcer/index.d.ts +2 -0
  2. package/dist/base/index.d.ts +101 -1536
  3. package/dist/base/index.js +87 -76
  4. package/dist/contextmenu/index.d.ts +1045 -3
  5. package/dist/contextmenu/index.js +15 -15
  6. package/dist/define.d.ts +11 -1
  7. package/dist/define.js +11 -5
  8. package/dist/dialog/index.d.ts +1047 -6
  9. package/dist/dialog/index.js +28 -25
  10. package/dist/editor/index.d.ts +1047 -12
  11. package/dist/editor/index.js +36 -36
  12. package/dist/fullscreen/index.d.ts +1045 -7
  13. package/dist/fullscreen/index.js +8 -8
  14. package/dist/index.d.ts +0 -3
  15. package/dist/index.js +0 -3
  16. package/dist/intersect/index.d.ts +1059 -16
  17. package/dist/intersect/index.js +26 -33
  18. package/dist/prefetch/index.d.ts +706 -25
  19. package/dist/prefetch/index.js +25 -44
  20. package/dist/share/index.d.ts +1413 -11
  21. package/dist/share/index.js +50 -18
  22. package/dist/tablesort/index.d.ts +1390 -5
  23. package/dist/tablesort/index.js +5 -5
  24. package/dist/tabs/index.d.ts +702 -4
  25. package/dist/tabs/index.js +3 -3
  26. package/dist/types/index.d.ts +29 -0
  27. package/dist/wakelock/index.d.ts +1390 -6
  28. package/dist/wakelock/index.js +16 -16
  29. package/package.json +5 -24
  30. package/dist/base/define.js +0 -3
  31. package/dist/copy/define.d.ts +0 -1
  32. package/dist/copy/define.js +0 -3
  33. package/dist/copy/index.d.ts +0 -30
  34. package/dist/copy/index.js +0 -39
  35. package/dist/youtube/define.d.ts +0 -1
  36. package/dist/youtube/define.js +0 -3
  37. package/dist/youtube/index.d.ts +0 -31
  38. package/dist/youtube/index.js +0 -56
  39. /package/dist/{base/define.d.ts → types/index.js} +0 -0
@@ -1,30 +1,1073 @@
1
- import { Base, type BaseAttributes } from "../base/index.js";
2
- export type IntersectAttributes = BaseAttributes & {
1
+ import { type TriggerAttributes, type ContentAttributes } from "../base/index.js";
2
+ export interface IntersectAttributes extends TriggerAttributes, ContentAttributes {
3
+ /** Number between 0 and 1 representing the visible portion of the `trigger`. */
3
4
  threshold?: number;
4
- };
5
- type IntersectCallback = () => any;
5
+ }
6
+ declare const Intersect_base: {
7
+ new (...args: any[]): {
8
+ "__#1@#listenerController": AbortController;
9
+ safeListener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, event: HTMLElementEventMap[T]) => any, element?: HTMLElement, options?: AddEventListenerOptions): void;
10
+ safeListener<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, event: DocumentEventMap[T]) => any, document: Document, options?: AddEventListenerOptions): void;
11
+ safeListener<T extends keyof WindowEventMap>(type: T, listener: (this: Window, event: WindowEventMap[T]) => any, window: Window, options?: AddEventListenerOptions): void;
12
+ mount(): void;
13
+ connectedCallback(): void;
14
+ destroy(): void;
15
+ disconnectedCallback(): void;
16
+ accessKey: string;
17
+ readonly accessKeyLabel: string;
18
+ autocapitalize: string;
19
+ dir: string;
20
+ draggable: boolean;
21
+ hidden: boolean;
22
+ inert: boolean;
23
+ innerText: string;
24
+ lang: string;
25
+ readonly offsetHeight: number;
26
+ readonly offsetLeft: number;
27
+ readonly offsetParent: Element | null;
28
+ readonly offsetTop: number;
29
+ readonly offsetWidth: number;
30
+ outerText: string;
31
+ popover: string | null;
32
+ spellcheck: boolean;
33
+ title: string;
34
+ translate: boolean;
35
+ writingSuggestions: string;
36
+ attachInternals(): ElementInternals;
37
+ click(): void;
38
+ hidePopover(): void;
39
+ showPopover(): void;
40
+ togglePopover(options?: boolean): boolean;
41
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
42
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
43
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
44
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
45
+ readonly attributes: NamedNodeMap;
46
+ get classList(): DOMTokenList;
47
+ set classList(value: string);
48
+ className: string;
49
+ readonly clientHeight: number;
50
+ readonly clientLeft: number;
51
+ readonly clientTop: number;
52
+ readonly clientWidth: number;
53
+ readonly currentCSSZoom: number;
54
+ id: string;
55
+ innerHTML: string;
56
+ readonly localName: string;
57
+ readonly namespaceURI: string | null;
58
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
59
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
60
+ outerHTML: string;
61
+ readonly ownerDocument: Document;
62
+ get part(): DOMTokenList;
63
+ set part(value: string);
64
+ readonly prefix: string | null;
65
+ readonly scrollHeight: number;
66
+ scrollLeft: number;
67
+ scrollTop: number;
68
+ readonly scrollWidth: number;
69
+ readonly shadowRoot: ShadowRoot | null;
70
+ slot: string;
71
+ readonly tagName: string;
72
+ attachShadow(init: ShadowRootInit): ShadowRoot;
73
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
74
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
75
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
76
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
77
+ closest<E extends Element = Element>(selectors: string): E | null;
78
+ computedStyleMap(): StylePropertyMapReadOnly;
79
+ getAttribute(qualifiedName: string): string | null;
80
+ getAttributeNS(namespace: string | null, localName: string): string | null;
81
+ getAttributeNames(): string[];
82
+ getAttributeNode(qualifiedName: string): Attr | null;
83
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
84
+ getBoundingClientRect(): DOMRect;
85
+ getClientRects(): DOMRectList;
86
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
87
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
88
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
89
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
90
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
91
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
92
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
93
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
94
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
95
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
96
+ getHTML(options?: GetHTMLOptions): string;
97
+ hasAttribute(qualifiedName: string): boolean;
98
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
99
+ hasAttributes(): boolean;
100
+ hasPointerCapture(pointerId: number): boolean;
101
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
102
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
103
+ insertAdjacentText(where: InsertPosition, data: string): void;
104
+ matches(selectors: string): boolean;
105
+ releasePointerCapture(pointerId: number): void;
106
+ removeAttribute(qualifiedName: string): void;
107
+ removeAttributeNS(namespace: string | null, localName: string): void;
108
+ removeAttributeNode(attr: Attr): Attr;
109
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
110
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
111
+ scroll(options?: ScrollToOptions): void;
112
+ scroll(x: number, y: number): void;
113
+ scrollBy(options?: ScrollToOptions): void;
114
+ scrollBy(x: number, y: number): void;
115
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
116
+ scrollTo(options?: ScrollToOptions): void;
117
+ scrollTo(x: number, y: number): void;
118
+ setAttribute(qualifiedName: string, value: string): void;
119
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
120
+ setAttributeNode(attr: Attr): Attr | null;
121
+ setAttributeNodeNS(attr: Attr): Attr | null;
122
+ setHTMLUnsafe(html: string): void;
123
+ setPointerCapture(pointerId: number): void;
124
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
125
+ webkitMatchesSelector(selectors: string): boolean;
126
+ readonly baseURI: string;
127
+ readonly childNodes: NodeListOf<ChildNode>;
128
+ readonly firstChild: ChildNode | null;
129
+ readonly isConnected: boolean;
130
+ readonly lastChild: ChildNode | null;
131
+ readonly nextSibling: ChildNode | null;
132
+ readonly nodeName: string;
133
+ readonly nodeType: number;
134
+ nodeValue: string | null;
135
+ readonly parentElement: HTMLElement | null;
136
+ readonly parentNode: ParentNode | null;
137
+ readonly previousSibling: ChildNode | null;
138
+ textContent: string | null;
139
+ appendChild<T extends Node>(node: T): T;
140
+ cloneNode(subtree?: boolean): Node;
141
+ compareDocumentPosition(other: Node): number;
142
+ contains(other: Node | null): boolean;
143
+ getRootNode(options?: GetRootNodeOptions): Node;
144
+ hasChildNodes(): boolean;
145
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
146
+ isDefaultNamespace(namespace: string | null): boolean;
147
+ isEqualNode(otherNode: Node | null): boolean;
148
+ isSameNode(otherNode: Node | null): boolean;
149
+ lookupNamespaceURI(prefix: string | null): string | null;
150
+ lookupPrefix(namespace: string | null): string | null;
151
+ normalize(): void;
152
+ removeChild<T extends Node>(child: T): T;
153
+ replaceChild<T extends Node>(node: Node, child: T): T;
154
+ readonly ELEMENT_NODE: 1;
155
+ readonly ATTRIBUTE_NODE: 2;
156
+ readonly TEXT_NODE: 3;
157
+ readonly CDATA_SECTION_NODE: 4;
158
+ readonly ENTITY_REFERENCE_NODE: 5;
159
+ readonly ENTITY_NODE: 6;
160
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
161
+ readonly COMMENT_NODE: 8;
162
+ readonly DOCUMENT_NODE: 9;
163
+ readonly DOCUMENT_TYPE_NODE: 10;
164
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
165
+ readonly NOTATION_NODE: 12;
166
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
167
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
168
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
169
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
170
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
171
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
172
+ dispatchEvent(event: Event): boolean;
173
+ ariaAtomic: string | null;
174
+ ariaAutoComplete: string | null;
175
+ ariaBrailleLabel: string | null;
176
+ ariaBrailleRoleDescription: string | null;
177
+ ariaBusy: string | null;
178
+ ariaChecked: string | null;
179
+ ariaColCount: string | null;
180
+ ariaColIndex: string | null;
181
+ ariaColIndexText: string | null;
182
+ ariaColSpan: string | null;
183
+ ariaCurrent: string | null;
184
+ ariaDescription: string | null;
185
+ ariaDisabled: string | null;
186
+ ariaExpanded: string | null;
187
+ ariaHasPopup: string | null;
188
+ ariaHidden: string | null;
189
+ ariaInvalid: string | null;
190
+ ariaKeyShortcuts: string | null;
191
+ ariaLabel: string | null;
192
+ ariaLevel: string | null;
193
+ ariaLive: string | null;
194
+ ariaModal: string | null;
195
+ ariaMultiLine: string | null;
196
+ ariaMultiSelectable: string | null;
197
+ ariaOrientation: string | null;
198
+ ariaPlaceholder: string | null;
199
+ ariaPosInSet: string | null;
200
+ ariaPressed: string | null;
201
+ ariaReadOnly: string | null;
202
+ ariaRelevant: string | null;
203
+ ariaRequired: string | null;
204
+ ariaRoleDescription: string | null;
205
+ ariaRowCount: string | null;
206
+ ariaRowIndex: string | null;
207
+ ariaRowIndexText: string | null;
208
+ ariaRowSpan: string | null;
209
+ ariaSelected: string | null;
210
+ ariaSetSize: string | null;
211
+ ariaSort: string | null;
212
+ ariaValueMax: string | null;
213
+ ariaValueMin: string | null;
214
+ ariaValueNow: string | null;
215
+ ariaValueText: string | null;
216
+ role: string | null;
217
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
218
+ getAnimations(options?: GetAnimationsOptions): Animation[];
219
+ after(...nodes: (Node | string)[]): void;
220
+ before(...nodes: (Node | string)[]): void;
221
+ remove(): void;
222
+ replaceWith(...nodes: (Node | string)[]): void;
223
+ readonly nextElementSibling: Element | null;
224
+ readonly previousElementSibling: Element | null;
225
+ readonly childElementCount: number;
226
+ readonly children: HTMLCollection;
227
+ readonly firstElementChild: Element | null;
228
+ readonly lastElementChild: Element | null;
229
+ append(...nodes: (Node | string)[]): void;
230
+ prepend(...nodes: (Node | string)[]): void;
231
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
232
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
233
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
234
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
235
+ querySelector<E extends Element = Element>(selectors: string): E | null;
236
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
237
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
238
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
239
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
240
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
241
+ replaceChildren(...nodes: (Node | string)[]): void;
242
+ readonly assignedSlot: HTMLSlotElement | null;
243
+ readonly attributeStyleMap: StylePropertyMap;
244
+ get style(): CSSStyleDeclaration;
245
+ set style(cssText: string);
246
+ contentEditable: string;
247
+ enterKeyHint: string;
248
+ inputMode: string;
249
+ readonly isContentEditable: boolean;
250
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
251
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
252
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
253
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
254
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
255
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
256
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
257
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
259
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
260
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
264
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
266
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
267
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
269
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
271
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
272
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
273
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
274
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
275
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
276
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
277
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
278
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
279
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ onerror: OnErrorEventHandler;
283
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
284
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
285
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
286
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
287
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
289
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
290
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
291
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
293
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
296
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
297
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
298
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
299
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
300
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
301
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
302
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
303
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
304
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
309
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
310
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
313
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
314
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
315
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
316
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
319
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
322
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
330
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
334
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
335
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
336
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
337
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
338
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
339
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
340
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
341
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
348
+ autofocus: boolean;
349
+ readonly dataset: DOMStringMap;
350
+ nonce?: string;
351
+ tabIndex: number;
352
+ blur(): void;
353
+ focus(options?: FocusOptions): void;
354
+ };
355
+ } & {
356
+ new (...args: any[]): {
357
+ event: keyof HTMLElementEventMap;
358
+ triggers<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): NodeListOf<T>;
359
+ triggers(): NodeListOf<HTMLElement>;
360
+ listener<T extends keyof HTMLElementEventMap>(listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
361
+ listener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
362
+ accessKey: string;
363
+ readonly accessKeyLabel: string;
364
+ autocapitalize: string;
365
+ dir: string;
366
+ draggable: boolean;
367
+ hidden: boolean;
368
+ inert: boolean;
369
+ innerText: string;
370
+ lang: string;
371
+ readonly offsetHeight: number;
372
+ readonly offsetLeft: number;
373
+ readonly offsetParent: Element | null;
374
+ readonly offsetTop: number;
375
+ readonly offsetWidth: number;
376
+ outerText: string;
377
+ popover: string | null;
378
+ spellcheck: boolean;
379
+ title: string;
380
+ translate: boolean;
381
+ writingSuggestions: string;
382
+ attachInternals(): ElementInternals;
383
+ click(): void;
384
+ hidePopover(): void;
385
+ showPopover(): void;
386
+ togglePopover(options?: boolean): boolean;
387
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
388
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
389
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
390
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
391
+ readonly attributes: NamedNodeMap;
392
+ get classList(): DOMTokenList;
393
+ set classList(value: string);
394
+ className: string;
395
+ readonly clientHeight: number;
396
+ readonly clientLeft: number;
397
+ readonly clientTop: number;
398
+ readonly clientWidth: number;
399
+ readonly currentCSSZoom: number;
400
+ id: string;
401
+ innerHTML: string;
402
+ readonly localName: string;
403
+ readonly namespaceURI: string | null;
404
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
405
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
406
+ outerHTML: string;
407
+ readonly ownerDocument: Document;
408
+ get part(): DOMTokenList;
409
+ set part(value: string);
410
+ readonly prefix: string | null;
411
+ readonly scrollHeight: number;
412
+ scrollLeft: number;
413
+ scrollTop: number;
414
+ readonly scrollWidth: number;
415
+ readonly shadowRoot: ShadowRoot | null;
416
+ slot: string;
417
+ readonly tagName: string;
418
+ attachShadow(init: ShadowRootInit): ShadowRoot;
419
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
420
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
421
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
422
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
423
+ closest<E extends Element = Element>(selectors: string): E | null;
424
+ computedStyleMap(): StylePropertyMapReadOnly;
425
+ getAttribute(qualifiedName: string): string | null;
426
+ getAttributeNS(namespace: string | null, localName: string): string | null;
427
+ getAttributeNames(): string[];
428
+ getAttributeNode(qualifiedName: string): Attr | null;
429
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
430
+ getBoundingClientRect(): DOMRect;
431
+ getClientRects(): DOMRectList;
432
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
433
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
434
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
435
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
436
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
437
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
438
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
439
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
440
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
441
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
442
+ getHTML(options?: GetHTMLOptions): string;
443
+ hasAttribute(qualifiedName: string): boolean;
444
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
445
+ hasAttributes(): boolean;
446
+ hasPointerCapture(pointerId: number): boolean;
447
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
448
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
449
+ insertAdjacentText(where: InsertPosition, data: string): void;
450
+ matches(selectors: string): boolean;
451
+ releasePointerCapture(pointerId: number): void;
452
+ removeAttribute(qualifiedName: string): void;
453
+ removeAttributeNS(namespace: string | null, localName: string): void;
454
+ removeAttributeNode(attr: Attr): Attr;
455
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
456
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
457
+ scroll(options?: ScrollToOptions): void;
458
+ scroll(x: number, y: number): void;
459
+ scrollBy(options?: ScrollToOptions): void;
460
+ scrollBy(x: number, y: number): void;
461
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
462
+ scrollTo(options?: ScrollToOptions): void;
463
+ scrollTo(x: number, y: number): void;
464
+ setAttribute(qualifiedName: string, value: string): void;
465
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
466
+ setAttributeNode(attr: Attr): Attr | null;
467
+ setAttributeNodeNS(attr: Attr): Attr | null;
468
+ setHTMLUnsafe(html: string): void;
469
+ setPointerCapture(pointerId: number): void;
470
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
471
+ webkitMatchesSelector(selectors: string): boolean;
472
+ readonly baseURI: string;
473
+ readonly childNodes: NodeListOf<ChildNode>;
474
+ readonly firstChild: ChildNode | null;
475
+ readonly isConnected: boolean;
476
+ readonly lastChild: ChildNode | null;
477
+ readonly nextSibling: ChildNode | null;
478
+ readonly nodeName: string;
479
+ readonly nodeType: number;
480
+ nodeValue: string | null;
481
+ readonly parentElement: HTMLElement | null;
482
+ readonly parentNode: ParentNode | null;
483
+ readonly previousSibling: ChildNode | null;
484
+ textContent: string | null;
485
+ appendChild<T extends Node>(node: T): T;
486
+ cloneNode(subtree?: boolean): Node;
487
+ compareDocumentPosition(other: Node): number;
488
+ contains(other: Node | null): boolean;
489
+ getRootNode(options?: GetRootNodeOptions): Node;
490
+ hasChildNodes(): boolean;
491
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
492
+ isDefaultNamespace(namespace: string | null): boolean;
493
+ isEqualNode(otherNode: Node | null): boolean;
494
+ isSameNode(otherNode: Node | null): boolean;
495
+ lookupNamespaceURI(prefix: string | null): string | null;
496
+ lookupPrefix(namespace: string | null): string | null;
497
+ normalize(): void;
498
+ removeChild<T extends Node>(child: T): T;
499
+ replaceChild<T extends Node>(node: Node, child: T): T;
500
+ readonly ELEMENT_NODE: 1;
501
+ readonly ATTRIBUTE_NODE: 2;
502
+ readonly TEXT_NODE: 3;
503
+ readonly CDATA_SECTION_NODE: 4;
504
+ readonly ENTITY_REFERENCE_NODE: 5;
505
+ readonly ENTITY_NODE: 6;
506
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
507
+ readonly COMMENT_NODE: 8;
508
+ readonly DOCUMENT_NODE: 9;
509
+ readonly DOCUMENT_TYPE_NODE: 10;
510
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
511
+ readonly NOTATION_NODE: 12;
512
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
513
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
514
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
515
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
516
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
517
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
518
+ dispatchEvent(event: Event): boolean;
519
+ ariaAtomic: string | null;
520
+ ariaAutoComplete: string | null;
521
+ ariaBrailleLabel: string | null;
522
+ ariaBrailleRoleDescription: string | null;
523
+ ariaBusy: string | null;
524
+ ariaChecked: string | null;
525
+ ariaColCount: string | null;
526
+ ariaColIndex: string | null;
527
+ ariaColIndexText: string | null;
528
+ ariaColSpan: string | null;
529
+ ariaCurrent: string | null;
530
+ ariaDescription: string | null;
531
+ ariaDisabled: string | null;
532
+ ariaExpanded: string | null;
533
+ ariaHasPopup: string | null;
534
+ ariaHidden: string | null;
535
+ ariaInvalid: string | null;
536
+ ariaKeyShortcuts: string | null;
537
+ ariaLabel: string | null;
538
+ ariaLevel: string | null;
539
+ ariaLive: string | null;
540
+ ariaModal: string | null;
541
+ ariaMultiLine: string | null;
542
+ ariaMultiSelectable: string | null;
543
+ ariaOrientation: string | null;
544
+ ariaPlaceholder: string | null;
545
+ ariaPosInSet: string | null;
546
+ ariaPressed: string | null;
547
+ ariaReadOnly: string | null;
548
+ ariaRelevant: string | null;
549
+ ariaRequired: string | null;
550
+ ariaRoleDescription: string | null;
551
+ ariaRowCount: string | null;
552
+ ariaRowIndex: string | null;
553
+ ariaRowIndexText: string | null;
554
+ ariaRowSpan: string | null;
555
+ ariaSelected: string | null;
556
+ ariaSetSize: string | null;
557
+ ariaSort: string | null;
558
+ ariaValueMax: string | null;
559
+ ariaValueMin: string | null;
560
+ ariaValueNow: string | null;
561
+ ariaValueText: string | null;
562
+ role: string | null;
563
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
564
+ getAnimations(options?: GetAnimationsOptions): Animation[];
565
+ after(...nodes: (Node | string)[]): void;
566
+ before(...nodes: (Node | string)[]): void;
567
+ remove(): void;
568
+ replaceWith(...nodes: (Node | string)[]): void;
569
+ readonly nextElementSibling: Element | null;
570
+ readonly previousElementSibling: Element | null;
571
+ readonly childElementCount: number;
572
+ readonly children: HTMLCollection;
573
+ readonly firstElementChild: Element | null;
574
+ readonly lastElementChild: Element | null;
575
+ append(...nodes: (Node | string)[]): void;
576
+ prepend(...nodes: (Node | string)[]): void;
577
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
578
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
579
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
580
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
581
+ querySelector<E extends Element = Element>(selectors: string): E | null;
582
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
583
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
584
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
585
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
586
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
587
+ replaceChildren(...nodes: (Node | string)[]): void;
588
+ readonly assignedSlot: HTMLSlotElement | null;
589
+ readonly attributeStyleMap: StylePropertyMap;
590
+ get style(): CSSStyleDeclaration;
591
+ set style(cssText: string);
592
+ contentEditable: string;
593
+ enterKeyHint: string;
594
+ inputMode: string;
595
+ readonly isContentEditable: boolean;
596
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
597
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
598
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
599
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
600
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
601
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
602
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
603
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
604
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
605
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
606
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
607
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
608
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
609
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
610
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
611
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
612
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
613
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
614
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
615
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
616
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
617
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
618
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
619
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
620
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
621
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
622
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
623
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
624
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
625
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
626
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
627
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
628
+ onerror: OnErrorEventHandler;
629
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
630
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
631
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
632
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
633
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
634
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
635
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
636
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
637
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
638
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
639
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
640
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
641
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
642
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
643
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
644
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
645
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
646
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
647
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
648
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
649
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
650
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
651
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
652
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
653
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
654
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
655
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
656
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
657
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
658
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
659
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
660
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
661
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
662
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
663
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
664
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
665
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
666
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
667
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
668
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
669
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
670
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
671
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
672
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
673
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
674
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
675
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
676
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
677
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
678
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
679
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
680
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
681
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
682
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
683
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
684
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
685
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
686
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
687
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
688
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
689
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
690
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
691
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
692
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
693
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
694
+ autofocus: boolean;
695
+ readonly dataset: DOMStringMap;
696
+ nonce?: string;
697
+ tabIndex: number;
698
+ blur(): void;
699
+ focus(options?: FocusOptions): void;
700
+ };
701
+ } & {
702
+ new (...args: any[]): {
703
+ content<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): T;
704
+ content(): HTMLElement;
705
+ swap(revert?: number | false): void;
706
+ accessKey: string;
707
+ readonly accessKeyLabel: string;
708
+ autocapitalize: string;
709
+ dir: string;
710
+ draggable: boolean;
711
+ hidden: boolean;
712
+ inert: boolean;
713
+ innerText: string;
714
+ lang: string;
715
+ readonly offsetHeight: number;
716
+ readonly offsetLeft: number;
717
+ readonly offsetParent: Element | null;
718
+ readonly offsetTop: number;
719
+ readonly offsetWidth: number;
720
+ outerText: string;
721
+ popover: string | null;
722
+ spellcheck: boolean;
723
+ title: string;
724
+ translate: boolean;
725
+ writingSuggestions: string;
726
+ attachInternals(): ElementInternals;
727
+ click(): void;
728
+ hidePopover(): void;
729
+ showPopover(): void;
730
+ togglePopover(options?: boolean): boolean;
731
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
732
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
733
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
734
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
735
+ readonly attributes: NamedNodeMap;
736
+ get classList(): DOMTokenList;
737
+ set classList(value: string);
738
+ className: string;
739
+ readonly clientHeight: number;
740
+ readonly clientLeft: number;
741
+ readonly clientTop: number;
742
+ readonly clientWidth: number;
743
+ readonly currentCSSZoom: number;
744
+ id: string;
745
+ innerHTML: string;
746
+ readonly localName: string;
747
+ readonly namespaceURI: string | null;
748
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
749
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
750
+ outerHTML: string;
751
+ readonly ownerDocument: Document;
752
+ get part(): DOMTokenList;
753
+ set part(value: string);
754
+ readonly prefix: string | null;
755
+ readonly scrollHeight: number;
756
+ scrollLeft: number;
757
+ scrollTop: number;
758
+ readonly scrollWidth: number;
759
+ readonly shadowRoot: ShadowRoot | null;
760
+ slot: string;
761
+ readonly tagName: string;
762
+ attachShadow(init: ShadowRootInit): ShadowRoot;
763
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
764
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
765
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
766
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
767
+ closest<E extends Element = Element>(selectors: string): E | null;
768
+ computedStyleMap(): StylePropertyMapReadOnly;
769
+ getAttribute(qualifiedName: string): string | null;
770
+ getAttributeNS(namespace: string | null, localName: string): string | null;
771
+ getAttributeNames(): string[];
772
+ getAttributeNode(qualifiedName: string): Attr | null;
773
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
774
+ getBoundingClientRect(): DOMRect;
775
+ getClientRects(): DOMRectList;
776
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
777
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
778
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
779
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
780
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
781
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
782
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
783
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
784
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
785
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
786
+ getHTML(options?: GetHTMLOptions): string;
787
+ hasAttribute(qualifiedName: string): boolean;
788
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
789
+ hasAttributes(): boolean;
790
+ hasPointerCapture(pointerId: number): boolean;
791
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
792
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
793
+ insertAdjacentText(where: InsertPosition, data: string): void;
794
+ matches(selectors: string): boolean;
795
+ releasePointerCapture(pointerId: number): void;
796
+ removeAttribute(qualifiedName: string): void;
797
+ removeAttributeNS(namespace: string | null, localName: string): void;
798
+ removeAttributeNode(attr: Attr): Attr;
799
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
800
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
801
+ scroll(options?: ScrollToOptions): void;
802
+ scroll(x: number, y: number): void;
803
+ scrollBy(options?: ScrollToOptions): void;
804
+ scrollBy(x: number, y: number): void;
805
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
806
+ scrollTo(options?: ScrollToOptions): void;
807
+ scrollTo(x: number, y: number): void;
808
+ setAttribute(qualifiedName: string, value: string): void;
809
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
810
+ setAttributeNode(attr: Attr): Attr | null;
811
+ setAttributeNodeNS(attr: Attr): Attr | null;
812
+ setHTMLUnsafe(html: string): void;
813
+ setPointerCapture(pointerId: number): void;
814
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
815
+ webkitMatchesSelector(selectors: string): boolean;
816
+ readonly baseURI: string;
817
+ readonly childNodes: NodeListOf<ChildNode>;
818
+ readonly firstChild: ChildNode | null;
819
+ readonly isConnected: boolean;
820
+ readonly lastChild: ChildNode | null;
821
+ readonly nextSibling: ChildNode | null;
822
+ readonly nodeName: string;
823
+ readonly nodeType: number;
824
+ nodeValue: string | null;
825
+ readonly parentElement: HTMLElement | null;
826
+ readonly parentNode: ParentNode | null;
827
+ readonly previousSibling: ChildNode | null;
828
+ textContent: string | null;
829
+ appendChild<T extends Node>(node: T): T;
830
+ cloneNode(subtree?: boolean): Node;
831
+ compareDocumentPosition(other: Node): number;
832
+ contains(other: Node | null): boolean;
833
+ getRootNode(options?: GetRootNodeOptions): Node;
834
+ hasChildNodes(): boolean;
835
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
836
+ isDefaultNamespace(namespace: string | null): boolean;
837
+ isEqualNode(otherNode: Node | null): boolean;
838
+ isSameNode(otherNode: Node | null): boolean;
839
+ lookupNamespaceURI(prefix: string | null): string | null;
840
+ lookupPrefix(namespace: string | null): string | null;
841
+ normalize(): void;
842
+ removeChild<T extends Node>(child: T): T;
843
+ replaceChild<T extends Node>(node: Node, child: T): T;
844
+ readonly ELEMENT_NODE: 1;
845
+ readonly ATTRIBUTE_NODE: 2;
846
+ readonly TEXT_NODE: 3;
847
+ readonly CDATA_SECTION_NODE: 4;
848
+ readonly ENTITY_REFERENCE_NODE: 5;
849
+ readonly ENTITY_NODE: 6;
850
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
851
+ readonly COMMENT_NODE: 8;
852
+ readonly DOCUMENT_NODE: 9;
853
+ readonly DOCUMENT_TYPE_NODE: 10;
854
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
855
+ readonly NOTATION_NODE: 12;
856
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
857
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
858
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
859
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
860
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
861
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
862
+ dispatchEvent(event: Event): boolean;
863
+ ariaAtomic: string | null;
864
+ ariaAutoComplete: string | null;
865
+ ariaBrailleLabel: string | null;
866
+ ariaBrailleRoleDescription: string | null;
867
+ ariaBusy: string | null;
868
+ ariaChecked: string | null;
869
+ ariaColCount: string | null;
870
+ ariaColIndex: string | null;
871
+ ariaColIndexText: string | null;
872
+ ariaColSpan: string | null;
873
+ ariaCurrent: string | null;
874
+ ariaDescription: string | null;
875
+ ariaDisabled: string | null;
876
+ ariaExpanded: string | null;
877
+ ariaHasPopup: string | null;
878
+ ariaHidden: string | null;
879
+ ariaInvalid: string | null;
880
+ ariaKeyShortcuts: string | null;
881
+ ariaLabel: string | null;
882
+ ariaLevel: string | null;
883
+ ariaLive: string | null;
884
+ ariaModal: string | null;
885
+ ariaMultiLine: string | null;
886
+ ariaMultiSelectable: string | null;
887
+ ariaOrientation: string | null;
888
+ ariaPlaceholder: string | null;
889
+ ariaPosInSet: string | null;
890
+ ariaPressed: string | null;
891
+ ariaReadOnly: string | null;
892
+ ariaRelevant: string | null;
893
+ ariaRequired: string | null;
894
+ ariaRoleDescription: string | null;
895
+ ariaRowCount: string | null;
896
+ ariaRowIndex: string | null;
897
+ ariaRowIndexText: string | null;
898
+ ariaRowSpan: string | null;
899
+ ariaSelected: string | null;
900
+ ariaSetSize: string | null;
901
+ ariaSort: string | null;
902
+ ariaValueMax: string | null;
903
+ ariaValueMin: string | null;
904
+ ariaValueNow: string | null;
905
+ ariaValueText: string | null;
906
+ role: string | null;
907
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
908
+ getAnimations(options?: GetAnimationsOptions): Animation[];
909
+ after(...nodes: (Node | string)[]): void;
910
+ before(...nodes: (Node | string)[]): void;
911
+ remove(): void;
912
+ replaceWith(...nodes: (Node | string)[]): void;
913
+ readonly nextElementSibling: Element | null;
914
+ readonly previousElementSibling: Element | null;
915
+ readonly childElementCount: number;
916
+ readonly children: HTMLCollection;
917
+ readonly firstElementChild: Element | null;
918
+ readonly lastElementChild: Element | null;
919
+ append(...nodes: (Node | string)[]): void;
920
+ prepend(...nodes: (Node | string)[]): void;
921
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
922
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
923
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
924
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
925
+ querySelector<E extends Element = Element>(selectors: string): E | null;
926
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
927
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
928
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
929
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
930
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
931
+ replaceChildren(...nodes: (Node | string)[]): void;
932
+ readonly assignedSlot: HTMLSlotElement | null;
933
+ readonly attributeStyleMap: StylePropertyMap;
934
+ get style(): CSSStyleDeclaration;
935
+ set style(cssText: string);
936
+ contentEditable: string;
937
+ enterKeyHint: string;
938
+ inputMode: string;
939
+ readonly isContentEditable: boolean;
940
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
941
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
942
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
943
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
944
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
945
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
946
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
947
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
948
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
949
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
950
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
951
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
952
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
953
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
954
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
955
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
956
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
957
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
958
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
959
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
960
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
961
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
962
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
963
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
964
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
965
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
966
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
967
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
968
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
969
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
970
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
971
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
972
+ onerror: OnErrorEventHandler;
973
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
974
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
975
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
976
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
977
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
978
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
979
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
980
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
981
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
982
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
983
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
984
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
985
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
986
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
987
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
988
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
989
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
990
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
991
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
992
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
993
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
994
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
995
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
996
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
997
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
998
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
999
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1000
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1001
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1002
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1003
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1004
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1005
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1006
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1007
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1008
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1009
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1010
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1011
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1012
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1013
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1014
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1015
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1016
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1017
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1018
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1019
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1020
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1021
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1022
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1023
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1024
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1025
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1026
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1027
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1028
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1029
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1030
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1031
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1032
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1033
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1034
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1035
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1036
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1037
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1038
+ autofocus: boolean;
1039
+ readonly dataset: DOMStringMap;
1040
+ nonce?: string;
1041
+ tabIndex: number;
1042
+ blur(): void;
1043
+ focus(options?: FocusOptions): void;
1044
+ };
1045
+ } & import("../base/index.js").Constructor<HTMLElement>;
6
1046
  /**
7
- * Uses the [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) to add a `data-intersect` attribute to `content` when the `trigger` is intersecting.
1047
+ * Uses the
1048
+ * [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API)
1049
+ * to add a `data-intersect` attribute to `content` when the `trigger` is intersecting.
1050
+ *
1051
+ * ### Events
1052
+ *
1053
+ * `intersect`
1054
+ *
1055
+ * Fired when the `trigger` enters the viewport.
1056
+ *
1057
+ * `exit`
8
1058
  *
9
- * Use `onIntersect` and `onExit` to customize further with JavaScript.
1059
+ * Fired when the `trigger` exits the viewport.
10
1060
  *
11
1061
  * ### Attributes
12
1062
  *
13
1063
  * `threshold`
14
1064
  *
15
- * Specify a `threshold` between `0` and `1` to determine how much of the `trigger` should be visible for the intersection to occur.
1065
+ * Specify a `threshold` between `0` and `1` to determine how much of the
1066
+ * `trigger` should be visible for the intersection to occur.
16
1067
  */
17
- export declare class Intersect extends Base {
1068
+ export declare class Intersect extends Intersect_base {
18
1069
  #private;
19
1070
  constructor();
20
- /**
21
- * @param callback Runs when `trigger` intersects.
22
- */
23
- onIntersect(callback: IntersectCallback): void;
24
- /**
25
- * @param callback Runs when `trigger` exits.
26
- */
27
- onExit(callback: IntersectCallback): void;
28
1071
  mount(): void;
29
1072
  }
30
1073
  export {};