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,10 +1,709 @@
1
- import { Base, type BaseAttributes } from "../base/index.js";
1
+ import { type TriggerAttributes } from "../base/index.js";
2
2
  type Strategy = "hover" | "load" | "visible";
3
- export type PrefetchAttributes = BaseAttributes & {
3
+ export interface PrefetchAttributes extends TriggerAttributes {
4
+ /** When to prefetch the url. */
4
5
  strategy?: Strategy;
6
+ /** Prerender on the client with the Speculation Rules API. */
5
7
  prerender?: boolean;
8
+ /** URL to prefetch. */
6
9
  url?: string;
7
- };
10
+ }
11
+ declare const Prefetch_base: {
12
+ new (...args: any[]): {
13
+ "__#1@#listenerController": AbortController;
14
+ safeListener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, event: HTMLElementEventMap[T]) => any, element?: HTMLElement, options?: AddEventListenerOptions): void;
15
+ safeListener<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, event: DocumentEventMap[T]) => any, document: Document, options?: AddEventListenerOptions): void;
16
+ safeListener<T extends keyof WindowEventMap>(type: T, listener: (this: Window, event: WindowEventMap[T]) => any, window: Window, options?: AddEventListenerOptions): void;
17
+ mount(): void;
18
+ connectedCallback(): void;
19
+ destroy(): void;
20
+ disconnectedCallback(): void;
21
+ accessKey: string;
22
+ readonly accessKeyLabel: string;
23
+ autocapitalize: string;
24
+ dir: string;
25
+ draggable: boolean;
26
+ hidden: boolean;
27
+ inert: boolean;
28
+ innerText: string;
29
+ lang: string;
30
+ readonly offsetHeight: number;
31
+ readonly offsetLeft: number;
32
+ readonly offsetParent: Element | null;
33
+ readonly offsetTop: number;
34
+ readonly offsetWidth: number;
35
+ outerText: string;
36
+ popover: string | null;
37
+ spellcheck: boolean;
38
+ title: string;
39
+ translate: boolean;
40
+ writingSuggestions: string;
41
+ attachInternals(): ElementInternals;
42
+ click(): void;
43
+ hidePopover(): void;
44
+ showPopover(): void;
45
+ togglePopover(options?: boolean): boolean;
46
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
47
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
48
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
49
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
50
+ readonly attributes: NamedNodeMap;
51
+ get classList(): DOMTokenList;
52
+ set classList(value: string);
53
+ className: string;
54
+ readonly clientHeight: number;
55
+ readonly clientLeft: number;
56
+ readonly clientTop: number;
57
+ readonly clientWidth: number;
58
+ readonly currentCSSZoom: number;
59
+ id: string;
60
+ innerHTML: string;
61
+ readonly localName: string;
62
+ readonly namespaceURI: string | null;
63
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
64
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
65
+ outerHTML: string;
66
+ readonly ownerDocument: Document;
67
+ get part(): DOMTokenList;
68
+ set part(value: string);
69
+ readonly prefix: string | null;
70
+ readonly scrollHeight: number;
71
+ scrollLeft: number;
72
+ scrollTop: number;
73
+ readonly scrollWidth: number;
74
+ readonly shadowRoot: ShadowRoot | null;
75
+ slot: string;
76
+ readonly tagName: string;
77
+ attachShadow(init: ShadowRootInit): ShadowRoot;
78
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
79
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
80
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
81
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
82
+ closest<E extends Element = Element>(selectors: string): E | null;
83
+ computedStyleMap(): StylePropertyMapReadOnly;
84
+ getAttribute(qualifiedName: string): string | null;
85
+ getAttributeNS(namespace: string | null, localName: string): string | null;
86
+ getAttributeNames(): string[];
87
+ getAttributeNode(qualifiedName: string): Attr | null;
88
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
89
+ getBoundingClientRect(): DOMRect;
90
+ getClientRects(): DOMRectList;
91
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
92
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
93
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
94
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
95
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
96
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
97
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
98
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
99
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
100
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
101
+ getHTML(options?: GetHTMLOptions): string;
102
+ hasAttribute(qualifiedName: string): boolean;
103
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
104
+ hasAttributes(): boolean;
105
+ hasPointerCapture(pointerId: number): boolean;
106
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
107
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
108
+ insertAdjacentText(where: InsertPosition, data: string): void;
109
+ matches(selectors: string): boolean;
110
+ releasePointerCapture(pointerId: number): void;
111
+ removeAttribute(qualifiedName: string): void;
112
+ removeAttributeNS(namespace: string | null, localName: string): void;
113
+ removeAttributeNode(attr: Attr): Attr;
114
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
115
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
116
+ scroll(options?: ScrollToOptions): void;
117
+ scroll(x: number, y: number): void;
118
+ scrollBy(options?: ScrollToOptions): void;
119
+ scrollBy(x: number, y: number): void;
120
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
121
+ scrollTo(options?: ScrollToOptions): void;
122
+ scrollTo(x: number, y: number): void;
123
+ setAttribute(qualifiedName: string, value: string): void;
124
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
125
+ setAttributeNode(attr: Attr): Attr | null;
126
+ setAttributeNodeNS(attr: Attr): Attr | null;
127
+ setHTMLUnsafe(html: string): void;
128
+ setPointerCapture(pointerId: number): void;
129
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
130
+ webkitMatchesSelector(selectors: string): boolean;
131
+ readonly baseURI: string;
132
+ readonly childNodes: NodeListOf<ChildNode>;
133
+ readonly firstChild: ChildNode | null;
134
+ readonly isConnected: boolean;
135
+ readonly lastChild: ChildNode | null;
136
+ readonly nextSibling: ChildNode | null;
137
+ readonly nodeName: string;
138
+ readonly nodeType: number;
139
+ nodeValue: string | null;
140
+ readonly parentElement: HTMLElement | null;
141
+ readonly parentNode: ParentNode | null;
142
+ readonly previousSibling: ChildNode | null;
143
+ textContent: string | null;
144
+ appendChild<T extends Node>(node: T): T;
145
+ cloneNode(subtree?: boolean): Node;
146
+ compareDocumentPosition(other: Node): number;
147
+ contains(other: Node | null): boolean;
148
+ getRootNode(options?: GetRootNodeOptions): Node;
149
+ hasChildNodes(): boolean;
150
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
151
+ isDefaultNamespace(namespace: string | null): boolean;
152
+ isEqualNode(otherNode: Node | null): boolean;
153
+ isSameNode(otherNode: Node | null): boolean;
154
+ lookupNamespaceURI(prefix: string | null): string | null;
155
+ lookupPrefix(namespace: string | null): string | null;
156
+ normalize(): void;
157
+ removeChild<T extends Node>(child: T): T;
158
+ replaceChild<T extends Node>(node: Node, child: T): T;
159
+ readonly ELEMENT_NODE: 1;
160
+ readonly ATTRIBUTE_NODE: 2;
161
+ readonly TEXT_NODE: 3;
162
+ readonly CDATA_SECTION_NODE: 4;
163
+ readonly ENTITY_REFERENCE_NODE: 5;
164
+ readonly ENTITY_NODE: 6;
165
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
166
+ readonly COMMENT_NODE: 8;
167
+ readonly DOCUMENT_NODE: 9;
168
+ readonly DOCUMENT_TYPE_NODE: 10;
169
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
170
+ readonly NOTATION_NODE: 12;
171
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
172
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
173
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
174
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
175
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
176
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
177
+ dispatchEvent(event: Event): boolean;
178
+ ariaAtomic: string | null;
179
+ ariaAutoComplete: string | null;
180
+ ariaBrailleLabel: string | null;
181
+ ariaBrailleRoleDescription: string | null;
182
+ ariaBusy: string | null;
183
+ ariaChecked: string | null;
184
+ ariaColCount: string | null;
185
+ ariaColIndex: string | null;
186
+ ariaColIndexText: string | null;
187
+ ariaColSpan: string | null;
188
+ ariaCurrent: string | null;
189
+ ariaDescription: string | null;
190
+ ariaDisabled: string | null;
191
+ ariaExpanded: string | null;
192
+ ariaHasPopup: string | null;
193
+ ariaHidden: string | null;
194
+ ariaInvalid: string | null;
195
+ ariaKeyShortcuts: string | null;
196
+ ariaLabel: string | null;
197
+ ariaLevel: string | null;
198
+ ariaLive: string | null;
199
+ ariaModal: string | null;
200
+ ariaMultiLine: string | null;
201
+ ariaMultiSelectable: string | null;
202
+ ariaOrientation: string | null;
203
+ ariaPlaceholder: string | null;
204
+ ariaPosInSet: string | null;
205
+ ariaPressed: string | null;
206
+ ariaReadOnly: string | null;
207
+ ariaRelevant: string | null;
208
+ ariaRequired: string | null;
209
+ ariaRoleDescription: string | null;
210
+ ariaRowCount: string | null;
211
+ ariaRowIndex: string | null;
212
+ ariaRowIndexText: string | null;
213
+ ariaRowSpan: string | null;
214
+ ariaSelected: string | null;
215
+ ariaSetSize: string | null;
216
+ ariaSort: string | null;
217
+ ariaValueMax: string | null;
218
+ ariaValueMin: string | null;
219
+ ariaValueNow: string | null;
220
+ ariaValueText: string | null;
221
+ role: string | null;
222
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
223
+ getAnimations(options?: GetAnimationsOptions): Animation[];
224
+ after(...nodes: (Node | string)[]): void;
225
+ before(...nodes: (Node | string)[]): void;
226
+ remove(): void;
227
+ replaceWith(...nodes: (Node | string)[]): void;
228
+ readonly nextElementSibling: Element | null;
229
+ readonly previousElementSibling: Element | null;
230
+ readonly childElementCount: number;
231
+ readonly children: HTMLCollection;
232
+ readonly firstElementChild: Element | null;
233
+ readonly lastElementChild: Element | null;
234
+ append(...nodes: (Node | string)[]): void;
235
+ prepend(...nodes: (Node | string)[]): void;
236
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
237
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
238
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
239
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
240
+ querySelector<E extends Element = Element>(selectors: string): E | null;
241
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
242
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
243
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
244
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
245
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
246
+ replaceChildren(...nodes: (Node | string)[]): void;
247
+ readonly assignedSlot: HTMLSlotElement | null;
248
+ readonly attributeStyleMap: StylePropertyMap;
249
+ get style(): CSSStyleDeclaration;
250
+ set style(cssText: string);
251
+ contentEditable: string;
252
+ enterKeyHint: string;
253
+ inputMode: string;
254
+ readonly isContentEditable: boolean;
255
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
256
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
257
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
258
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
259
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
260
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
261
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
262
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
264
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
266
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
269
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
272
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
274
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
276
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
277
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
278
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
279
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
280
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
281
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
282
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
283
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
284
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
287
+ onerror: OnErrorEventHandler;
288
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
289
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
290
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
291
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
293
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
294
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
295
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
296
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
301
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
302
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
303
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
304
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
305
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
306
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
307
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
308
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
309
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
312
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
313
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
314
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
315
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
316
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
317
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
318
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
319
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
321
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
324
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
327
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
335
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
339
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
340
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
341
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
342
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
343
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
344
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
345
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
346
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
350
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
353
+ autofocus: boolean;
354
+ readonly dataset: DOMStringMap;
355
+ nonce?: string;
356
+ tabIndex: number;
357
+ blur(): void;
358
+ focus(options?: FocusOptions): void;
359
+ };
360
+ } & {
361
+ new (...args: any[]): {
362
+ event: keyof HTMLElementEventMap;
363
+ triggers<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): NodeListOf<T>;
364
+ triggers(): NodeListOf<HTMLElement>;
365
+ listener<T extends keyof HTMLElementEventMap>(listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
366
+ listener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
367
+ accessKey: string;
368
+ readonly accessKeyLabel: string;
369
+ autocapitalize: string;
370
+ dir: string;
371
+ draggable: boolean;
372
+ hidden: boolean;
373
+ inert: boolean;
374
+ innerText: string;
375
+ lang: string;
376
+ readonly offsetHeight: number;
377
+ readonly offsetLeft: number;
378
+ readonly offsetParent: Element | null;
379
+ readonly offsetTop: number;
380
+ readonly offsetWidth: number;
381
+ outerText: string;
382
+ popover: string | null;
383
+ spellcheck: boolean;
384
+ title: string;
385
+ translate: boolean;
386
+ writingSuggestions: string;
387
+ attachInternals(): ElementInternals;
388
+ click(): void;
389
+ hidePopover(): void;
390
+ showPopover(): void;
391
+ togglePopover(options?: boolean): boolean;
392
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
393
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
394
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
395
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
396
+ readonly attributes: NamedNodeMap;
397
+ get classList(): DOMTokenList;
398
+ set classList(value: string);
399
+ className: string;
400
+ readonly clientHeight: number;
401
+ readonly clientLeft: number;
402
+ readonly clientTop: number;
403
+ readonly clientWidth: number;
404
+ readonly currentCSSZoom: number;
405
+ id: string;
406
+ innerHTML: string;
407
+ readonly localName: string;
408
+ readonly namespaceURI: string | null;
409
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
410
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
411
+ outerHTML: string;
412
+ readonly ownerDocument: Document;
413
+ get part(): DOMTokenList;
414
+ set part(value: string);
415
+ readonly prefix: string | null;
416
+ readonly scrollHeight: number;
417
+ scrollLeft: number;
418
+ scrollTop: number;
419
+ readonly scrollWidth: number;
420
+ readonly shadowRoot: ShadowRoot | null;
421
+ slot: string;
422
+ readonly tagName: string;
423
+ attachShadow(init: ShadowRootInit): ShadowRoot;
424
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
425
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
426
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
427
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
428
+ closest<E extends Element = Element>(selectors: string): E | null;
429
+ computedStyleMap(): StylePropertyMapReadOnly;
430
+ getAttribute(qualifiedName: string): string | null;
431
+ getAttributeNS(namespace: string | null, localName: string): string | null;
432
+ getAttributeNames(): string[];
433
+ getAttributeNode(qualifiedName: string): Attr | null;
434
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
435
+ getBoundingClientRect(): DOMRect;
436
+ getClientRects(): DOMRectList;
437
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
438
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
439
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
440
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
441
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
442
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
443
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
444
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
445
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
446
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
447
+ getHTML(options?: GetHTMLOptions): string;
448
+ hasAttribute(qualifiedName: string): boolean;
449
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
450
+ hasAttributes(): boolean;
451
+ hasPointerCapture(pointerId: number): boolean;
452
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
453
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
454
+ insertAdjacentText(where: InsertPosition, data: string): void;
455
+ matches(selectors: string): boolean;
456
+ releasePointerCapture(pointerId: number): void;
457
+ removeAttribute(qualifiedName: string): void;
458
+ removeAttributeNS(namespace: string | null, localName: string): void;
459
+ removeAttributeNode(attr: Attr): Attr;
460
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
461
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
462
+ scroll(options?: ScrollToOptions): void;
463
+ scroll(x: number, y: number): void;
464
+ scrollBy(options?: ScrollToOptions): void;
465
+ scrollBy(x: number, y: number): void;
466
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
467
+ scrollTo(options?: ScrollToOptions): void;
468
+ scrollTo(x: number, y: number): void;
469
+ setAttribute(qualifiedName: string, value: string): void;
470
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
471
+ setAttributeNode(attr: Attr): Attr | null;
472
+ setAttributeNodeNS(attr: Attr): Attr | null;
473
+ setHTMLUnsafe(html: string): void;
474
+ setPointerCapture(pointerId: number): void;
475
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
476
+ webkitMatchesSelector(selectors: string): boolean;
477
+ readonly baseURI: string;
478
+ readonly childNodes: NodeListOf<ChildNode>;
479
+ readonly firstChild: ChildNode | null;
480
+ readonly isConnected: boolean;
481
+ readonly lastChild: ChildNode | null;
482
+ readonly nextSibling: ChildNode | null;
483
+ readonly nodeName: string;
484
+ readonly nodeType: number;
485
+ nodeValue: string | null;
486
+ readonly parentElement: HTMLElement | null;
487
+ readonly parentNode: ParentNode | null;
488
+ readonly previousSibling: ChildNode | null;
489
+ textContent: string | null;
490
+ appendChild<T extends Node>(node: T): T;
491
+ cloneNode(subtree?: boolean): Node;
492
+ compareDocumentPosition(other: Node): number;
493
+ contains(other: Node | null): boolean;
494
+ getRootNode(options?: GetRootNodeOptions): Node;
495
+ hasChildNodes(): boolean;
496
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
497
+ isDefaultNamespace(namespace: string | null): boolean;
498
+ isEqualNode(otherNode: Node | null): boolean;
499
+ isSameNode(otherNode: Node | null): boolean;
500
+ lookupNamespaceURI(prefix: string | null): string | null;
501
+ lookupPrefix(namespace: string | null): string | null;
502
+ normalize(): void;
503
+ removeChild<T extends Node>(child: T): T;
504
+ replaceChild<T extends Node>(node: Node, child: T): T;
505
+ readonly ELEMENT_NODE: 1;
506
+ readonly ATTRIBUTE_NODE: 2;
507
+ readonly TEXT_NODE: 3;
508
+ readonly CDATA_SECTION_NODE: 4;
509
+ readonly ENTITY_REFERENCE_NODE: 5;
510
+ readonly ENTITY_NODE: 6;
511
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
512
+ readonly COMMENT_NODE: 8;
513
+ readonly DOCUMENT_NODE: 9;
514
+ readonly DOCUMENT_TYPE_NODE: 10;
515
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
516
+ readonly NOTATION_NODE: 12;
517
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
518
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
519
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
520
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
521
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
522
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
523
+ dispatchEvent(event: Event): boolean;
524
+ ariaAtomic: string | null;
525
+ ariaAutoComplete: string | null;
526
+ ariaBrailleLabel: string | null;
527
+ ariaBrailleRoleDescription: string | null;
528
+ ariaBusy: string | null;
529
+ ariaChecked: string | null;
530
+ ariaColCount: string | null;
531
+ ariaColIndex: string | null;
532
+ ariaColIndexText: string | null;
533
+ ariaColSpan: string | null;
534
+ ariaCurrent: string | null;
535
+ ariaDescription: string | null;
536
+ ariaDisabled: string | null;
537
+ ariaExpanded: string | null;
538
+ ariaHasPopup: string | null;
539
+ ariaHidden: string | null;
540
+ ariaInvalid: string | null;
541
+ ariaKeyShortcuts: string | null;
542
+ ariaLabel: string | null;
543
+ ariaLevel: string | null;
544
+ ariaLive: string | null;
545
+ ariaModal: string | null;
546
+ ariaMultiLine: string | null;
547
+ ariaMultiSelectable: string | null;
548
+ ariaOrientation: string | null;
549
+ ariaPlaceholder: string | null;
550
+ ariaPosInSet: string | null;
551
+ ariaPressed: string | null;
552
+ ariaReadOnly: string | null;
553
+ ariaRelevant: string | null;
554
+ ariaRequired: string | null;
555
+ ariaRoleDescription: string | null;
556
+ ariaRowCount: string | null;
557
+ ariaRowIndex: string | null;
558
+ ariaRowIndexText: string | null;
559
+ ariaRowSpan: string | null;
560
+ ariaSelected: string | null;
561
+ ariaSetSize: string | null;
562
+ ariaSort: string | null;
563
+ ariaValueMax: string | null;
564
+ ariaValueMin: string | null;
565
+ ariaValueNow: string | null;
566
+ ariaValueText: string | null;
567
+ role: string | null;
568
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
569
+ getAnimations(options?: GetAnimationsOptions): Animation[];
570
+ after(...nodes: (Node | string)[]): void;
571
+ before(...nodes: (Node | string)[]): void;
572
+ remove(): void;
573
+ replaceWith(...nodes: (Node | string)[]): void;
574
+ readonly nextElementSibling: Element | null;
575
+ readonly previousElementSibling: Element | null;
576
+ readonly childElementCount: number;
577
+ readonly children: HTMLCollection;
578
+ readonly firstElementChild: Element | null;
579
+ readonly lastElementChild: Element | null;
580
+ append(...nodes: (Node | string)[]): void;
581
+ prepend(...nodes: (Node | string)[]): void;
582
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
583
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
584
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
585
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
586
+ querySelector<E extends Element = Element>(selectors: string): E | null;
587
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
588
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
589
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
590
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
591
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
592
+ replaceChildren(...nodes: (Node | string)[]): void;
593
+ readonly assignedSlot: HTMLSlotElement | null;
594
+ readonly attributeStyleMap: StylePropertyMap;
595
+ get style(): CSSStyleDeclaration;
596
+ set style(cssText: string);
597
+ contentEditable: string;
598
+ enterKeyHint: string;
599
+ inputMode: string;
600
+ readonly isContentEditable: boolean;
601
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
602
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
603
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
604
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
605
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
606
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
607
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
608
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
609
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
610
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
611
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
612
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
613
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
614
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
615
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
616
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
617
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
618
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
619
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
620
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
621
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
622
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
623
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
624
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
625
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
626
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
627
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
628
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
629
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
630
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
631
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
632
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
633
+ onerror: OnErrorEventHandler;
634
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
635
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
636
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
637
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
638
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
639
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
640
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
641
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
642
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
643
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
644
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
645
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
646
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
647
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
648
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
649
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
650
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
651
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
652
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
653
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
654
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
655
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
656
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
657
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
658
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
659
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
660
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
661
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
662
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
663
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
664
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
665
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
666
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
667
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
668
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
669
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
670
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
671
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
672
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
673
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
674
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
675
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
676
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
677
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
678
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
679
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
680
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
681
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
682
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
683
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
684
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
685
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
686
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
687
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
688
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
689
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
690
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
691
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
692
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
693
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
694
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
695
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
696
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
697
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
698
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
699
+ autofocus: boolean;
700
+ readonly dataset: DOMStringMap;
701
+ nonce?: string;
702
+ tabIndex: number;
703
+ blur(): void;
704
+ focus(options?: FocusOptions): void;
705
+ };
706
+ } & import("../base/index.js").Constructor<HTMLElement>;
8
707
  /**
9
708
  * The `Prefetch` element can prefetch a url, or enhance the `HTMLAnchorElement` by loading the HTML for a page before it is navigated to. This element speeds up the navigation for multi-page applications (MPAs).
10
709
  *
@@ -35,15 +734,16 @@ export type PrefetchAttributes = BaseAttributes & {
35
734
  *
36
735
  * This element can be deprecated once the Speculation Rules API is supported across browsers. The API will be able to prefetch assets in a similar way with the `source: "document"` and `eagerness` features, and will work without JavaScript.
37
736
  */
38
- export declare class Prefetch extends Base {
737
+ export declare class Prefetch extends Prefetch_base {
39
738
  #private;
40
739
  constructor();
41
740
  /**
42
- * Appends `<link rel="prefetch">` or `<script type="speculationrules">` to the head of the document.
741
+ * Appends `<link rel="prefetch">` or `<script type="speculationrules">`
742
+ * to the head of the document.
43
743
  *
44
744
  * @param options Configuration options.
45
745
  */
46
- appendTag(options: {
746
+ prefetch(options: {
47
747
  /** `url` to prefetch. */
48
748
  url: string;
49
749
  /**
@@ -51,25 +751,6 @@ export declare class Prefetch extends Base {
51
751
  */
52
752
  prerender?: boolean;
53
753
  }): void;
54
- /**
55
- * Use to prefetch/prerender HTML.
56
- *
57
- * Can be used more than once with different options for different selectors.
58
- *
59
- * @param options Prefetch options.
60
- */
61
- prefetch(options?: {
62
- /** The anchors to prefetch. Defaults to `trigger` elements. */
63
- anchors?: NodeListOf<HTMLAnchorElement>;
64
- /** Uses the Speculation Rules API when supported to prerender on the client. */
65
- prerender?: boolean;
66
- /**
67
- * Determines when the prefetch takes place.
68
- *
69
- * @default "hover"
70
- */
71
- strategy?: "hover" | "load" | "visible";
72
- }): void;
73
754
  mount(): void;
74
755
  }
75
756
  export {};