@duskmoon-dev/el-base 0.11.1 → 0.12.0

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.
@@ -20,6 +20,7 @@ import type { PropertyDefinitions } from './base-element.js';
20
20
  * errors where private BaseElement members leak into anonymous class types.
21
21
  */
22
22
  type Constructor<T = HTMLElement> = abstract new (...args: any[]) => T;
23
+ type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
23
24
  interface BaseElementLike extends HTMLElement {
24
25
  connectedCallback(): void;
25
26
  disconnectedCallback(): void;
@@ -29,10 +30,20 @@ interface BaseElementLike extends HTMLElement {
29
30
  * Mixin that adds keyboard focus management.
30
31
  * Sets tabindex, handles focus/blur events, and tracks focused state.
31
32
  */
32
- export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(Base: T): ((abstract new (...args: any[]) => {
33
+ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(Base: T): T & AbstractConstructor<{
33
34
  focused: boolean;
34
- "__#private@#handleFocus": () => void;
35
- "__#private@#handleBlur": () => void;
35
+ }>;
36
+ /**
37
+ * Mixin that adds form association.
38
+ * Provides name/value/disabled/required props and form participation.
39
+ */
40
+ export declare function FormMixin<T extends Constructor<BaseElementLike>>(Base: T): ((abstract new (...args: any[]) => {
41
+ name: string;
42
+ value: string;
43
+ disabled: boolean;
44
+ required: boolean;
45
+ /** Get the form this element is associated with */
46
+ get form(): HTMLFormElement | null;
36
47
  connectedCallback(): void;
37
48
  disconnectedCallback(): void;
38
49
  shadowRoot: ShadowRoot;
@@ -42,7 +53,7 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
42
53
  autocorrect: boolean;
43
54
  dir: string;
44
55
  draggable: boolean;
45
- hidden: boolean;
56
+ hidden: boolean | "until-found";
46
57
  inert: boolean;
47
58
  innerText: string;
48
59
  lang: string;
@@ -60,8 +71,8 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
60
71
  attachInternals(): ElementInternals;
61
72
  click(): void;
62
73
  hidePopover(): void;
63
- showPopover(): void;
64
- togglePopover(options?: boolean): boolean;
74
+ showPopover(options?: ShowPopoverOptions): void;
75
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
65
76
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
66
77
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
67
78
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -75,6 +86,7 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
75
86
  readonly clientTop: number;
76
87
  readonly clientWidth: number;
77
88
  readonly currentCSSZoom: number;
89
+ readonly customElementRegistry: CustomElementRegistry | null;
78
90
  id: string;
79
91
  innerHTML: string;
80
92
  readonly localName: string;
@@ -124,6 +136,9 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
124
136
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
125
137
  insertAdjacentHTML(position: InsertPosition, string: string): void;
126
138
  insertAdjacentText(where: InsertPosition, data: string): void;
139
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
140
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
141
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
127
142
  matches(selectors: string): boolean;
128
143
  releasePointerCapture(pointerId: number): void;
129
144
  removeAttribute(qualifiedName: string): void;
@@ -194,7 +209,6 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
194
209
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
195
210
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
196
211
  dispatchEvent(event: Event): boolean;
197
- dispatchEvent(event: Event): boolean;
198
212
  ariaActiveDescendantElement: Element | null;
199
213
  ariaAtomic: string | null;
200
214
  ariaAutoComplete: string | null;
@@ -260,6 +274,7 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
260
274
  readonly firstElementChild: Element | null;
261
275
  readonly lastElementChild: Element | null;
262
276
  append(...nodes: (Node | string)[]): void;
277
+ moveBefore(node: Node, child: Node | null): void;
263
278
  prepend(...nodes: (Node | string)[]): void;
264
279
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
265
280
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -296,6 +311,7 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
296
311
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
312
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
298
313
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
315
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
316
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
301
317
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -317,7 +333,7 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
317
333
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
318
334
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
319
335
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
321
337
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
338
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
323
339
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -382,7 +398,7 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
382
398
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
383
399
  autofocus: boolean;
384
400
  readonly dataset: DOMStringMap;
385
- nonce?: string;
401
+ nonce: string;
386
402
  tabIndex: number;
387
403
  blur(): void;
388
404
  focus(options?: FocusOptions): void;
@@ -390,1105 +406,18 @@ export declare function FocusableMixin<T extends Constructor<BaseElementLike>>(B
390
406
  properties: PropertyDefinitions;
391
407
  }) & T;
392
408
  /**
393
- * Mixin that adds form association.
394
- * Provides name/value/disabled/required props and form participation.
409
+ * Mixin that adds event listener management with automatic cleanup.
410
+ * Listeners added via addListener() are removed on disconnect.
395
411
  */
396
- export declare function FormMixin<T extends Constructor<BaseElementLike>>(Base: T): ((abstract new (...args: any[]) => {
397
- name: string;
398
- value: string;
399
- disabled: boolean;
400
- required: boolean;
401
- /** Get the form this element is associated with */
402
- get form(): HTMLFormElement | null;
403
- connectedCallback(): void;
404
- disconnectedCallback(): void;
405
- shadowRoot: ShadowRoot;
406
- accessKey: string;
407
- readonly accessKeyLabel: string;
408
- autocapitalize: string;
409
- autocorrect: boolean;
410
- dir: string;
411
- draggable: boolean;
412
- hidden: boolean;
413
- inert: boolean;
414
- innerText: string;
415
- lang: string;
416
- readonly offsetHeight: number;
417
- readonly offsetLeft: number;
418
- readonly offsetParent: Element | null;
419
- readonly offsetTop: number;
420
- readonly offsetWidth: number;
421
- outerText: string;
422
- popover: string | null;
423
- spellcheck: boolean;
424
- title: string;
425
- translate: boolean;
426
- writingSuggestions: string;
427
- attachInternals(): ElementInternals;
428
- click(): void;
429
- hidePopover(): void;
430
- showPopover(): void;
431
- togglePopover(options?: boolean): boolean;
432
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
433
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
434
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
435
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
436
- readonly attributes: NamedNodeMap;
437
- get classList(): DOMTokenList;
438
- set classList(value: string);
439
- className: string;
440
- readonly clientHeight: number;
441
- readonly clientLeft: number;
442
- readonly clientTop: number;
443
- readonly clientWidth: number;
444
- readonly currentCSSZoom: number;
445
- id: string;
446
- innerHTML: string;
447
- readonly localName: string;
448
- readonly namespaceURI: string | null;
449
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
450
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
451
- outerHTML: string;
452
- readonly ownerDocument: Document;
453
- get part(): DOMTokenList;
454
- set part(value: string);
455
- readonly prefix: string | null;
456
- readonly scrollHeight: number;
457
- scrollLeft: number;
458
- scrollTop: number;
459
- readonly scrollWidth: number;
460
- slot: string;
461
- readonly tagName: string;
462
- attachShadow(init: ShadowRootInit): ShadowRoot;
463
- checkVisibility(options?: CheckVisibilityOptions): boolean;
464
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
465
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
466
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
467
- closest<E extends Element = Element>(selectors: string): E | null;
468
- computedStyleMap(): StylePropertyMapReadOnly;
469
- getAttribute(qualifiedName: string): string | null;
470
- getAttributeNS(namespace: string | null, localName: string): string | null;
471
- getAttributeNames(): string[];
472
- getAttributeNode(qualifiedName: string): Attr | null;
473
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
474
- getBoundingClientRect(): DOMRect;
475
- getClientRects(): DOMRectList;
476
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
477
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
478
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
479
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
480
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
481
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
482
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
483
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
484
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
485
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
486
- getHTML(options?: GetHTMLOptions): string;
487
- hasAttribute(qualifiedName: string): boolean;
488
- hasAttributeNS(namespace: string | null, localName: string): boolean;
489
- hasAttributes(): boolean;
490
- hasPointerCapture(pointerId: number): boolean;
491
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
492
- insertAdjacentHTML(position: InsertPosition, string: string): void;
493
- insertAdjacentText(where: InsertPosition, data: string): void;
494
- matches(selectors: string): boolean;
495
- releasePointerCapture(pointerId: number): void;
496
- removeAttribute(qualifiedName: string): void;
497
- removeAttributeNS(namespace: string | null, localName: string): void;
498
- removeAttributeNode(attr: Attr): Attr;
499
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
500
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
501
- scroll(options?: ScrollToOptions): void;
502
- scroll(x: number, y: number): void;
503
- scrollBy(options?: ScrollToOptions): void;
504
- scrollBy(x: number, y: number): void;
505
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
506
- scrollTo(options?: ScrollToOptions): void;
507
- scrollTo(x: number, y: number): void;
508
- setAttribute(qualifiedName: string, value: string): void;
509
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
510
- setAttributeNode(attr: Attr): Attr | null;
511
- setAttributeNodeNS(attr: Attr): Attr | null;
512
- setHTMLUnsafe(html: string): void;
513
- setPointerCapture(pointerId: number): void;
514
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
515
- webkitMatchesSelector(selectors: string): boolean;
516
- get textContent(): string;
517
- set textContent(value: string | null);
518
- readonly baseURI: string;
519
- readonly childNodes: NodeListOf<ChildNode>;
520
- readonly firstChild: ChildNode | null;
521
- readonly isConnected: boolean;
522
- readonly lastChild: ChildNode | null;
523
- readonly nextSibling: ChildNode | null;
524
- readonly nodeName: string;
525
- readonly nodeType: number;
526
- nodeValue: string | null;
527
- readonly parentElement: HTMLElement | null;
528
- readonly parentNode: ParentNode | null;
529
- readonly previousSibling: ChildNode | null;
530
- appendChild<T_1 extends Node>(node: T_1): T_1;
531
- cloneNode(subtree?: boolean): Node;
532
- compareDocumentPosition(other: Node): number;
533
- contains(other: Node | null): boolean;
534
- getRootNode(options?: GetRootNodeOptions): Node;
535
- hasChildNodes(): boolean;
536
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
537
- isDefaultNamespace(namespace: string | null): boolean;
538
- isEqualNode(otherNode: Node | null): boolean;
539
- isSameNode(otherNode: Node | null): boolean;
540
- lookupNamespaceURI(prefix: string | null): string | null;
541
- lookupPrefix(namespace: string | null): string | null;
542
- normalize(): void;
543
- removeChild<T_1 extends Node>(child: T_1): T_1;
544
- replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
545
- readonly ELEMENT_NODE: 1;
546
- readonly ATTRIBUTE_NODE: 2;
547
- readonly TEXT_NODE: 3;
548
- readonly CDATA_SECTION_NODE: 4;
549
- readonly ENTITY_REFERENCE_NODE: 5;
550
- readonly ENTITY_NODE: 6;
551
- readonly PROCESSING_INSTRUCTION_NODE: 7;
552
- readonly COMMENT_NODE: 8;
553
- readonly DOCUMENT_NODE: 9;
554
- readonly DOCUMENT_TYPE_NODE: 10;
555
- readonly DOCUMENT_FRAGMENT_NODE: 11;
556
- readonly NOTATION_NODE: 12;
557
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
558
- readonly DOCUMENT_POSITION_PRECEDING: 2;
559
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
560
- readonly DOCUMENT_POSITION_CONTAINS: 8;
561
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
562
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
563
- dispatchEvent(event: Event): boolean;
564
- dispatchEvent(event: Event): boolean;
565
- ariaActiveDescendantElement: Element | null;
566
- ariaAtomic: string | null;
567
- ariaAutoComplete: string | null;
568
- ariaBrailleLabel: string | null;
569
- ariaBrailleRoleDescription: string | null;
570
- ariaBusy: string | null;
571
- ariaChecked: string | null;
572
- ariaColCount: string | null;
573
- ariaColIndex: string | null;
574
- ariaColIndexText: string | null;
575
- ariaColSpan: string | null;
576
- ariaControlsElements: ReadonlyArray<Element> | null;
577
- ariaCurrent: string | null;
578
- ariaDescribedByElements: ReadonlyArray<Element> | null;
579
- ariaDescription: string | null;
580
- ariaDetailsElements: ReadonlyArray<Element> | null;
581
- ariaDisabled: string | null;
582
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
583
- ariaExpanded: string | null;
584
- ariaFlowToElements: ReadonlyArray<Element> | null;
585
- ariaHasPopup: string | null;
586
- ariaHidden: string | null;
587
- ariaInvalid: string | null;
588
- ariaKeyShortcuts: string | null;
589
- ariaLabel: string | null;
590
- ariaLabelledByElements: ReadonlyArray<Element> | null;
591
- ariaLevel: string | null;
592
- ariaLive: string | null;
593
- ariaModal: string | null;
594
- ariaMultiLine: string | null;
595
- ariaMultiSelectable: string | null;
596
- ariaOrientation: string | null;
597
- ariaOwnsElements: ReadonlyArray<Element> | null;
598
- ariaPlaceholder: string | null;
599
- ariaPosInSet: string | null;
600
- ariaPressed: string | null;
601
- ariaReadOnly: string | null;
602
- ariaRelevant: string | null;
603
- ariaRequired: string | null;
604
- ariaRoleDescription: string | null;
605
- ariaRowCount: string | null;
606
- ariaRowIndex: string | null;
607
- ariaRowIndexText: string | null;
608
- ariaRowSpan: string | null;
609
- ariaSelected: string | null;
610
- ariaSetSize: string | null;
611
- ariaSort: string | null;
612
- ariaValueMax: string | null;
613
- ariaValueMin: string | null;
614
- ariaValueNow: string | null;
615
- ariaValueText: string | null;
616
- role: string | null;
617
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
618
- getAnimations(options?: GetAnimationsOptions): Animation[];
619
- after(...nodes: (Node | string)[]): void;
620
- before(...nodes: (Node | string)[]): void;
621
- remove(): void;
622
- replaceWith(...nodes: (Node | string)[]): void;
623
- readonly nextElementSibling: Element | null;
624
- readonly previousElementSibling: Element | null;
625
- readonly childElementCount: number;
626
- readonly children: HTMLCollection;
627
- readonly firstElementChild: Element | null;
628
- readonly lastElementChild: Element | null;
629
- append(...nodes: (Node | string)[]): void;
630
- prepend(...nodes: (Node | string)[]): void;
631
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
632
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
633
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
634
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
635
- querySelector<E extends Element = Element>(selectors: string): E | null;
636
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
637
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
638
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
639
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
640
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
641
- replaceChildren(...nodes: (Node | string)[]): void;
642
- readonly assignedSlot: HTMLSlotElement | null;
643
- readonly attributeStyleMap: StylePropertyMap;
644
- get style(): CSSStyleDeclaration;
645
- set style(cssText: string);
646
- contentEditable: string;
647
- enterKeyHint: string;
648
- inputMode: string;
649
- readonly isContentEditable: boolean;
650
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
651
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
652
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
653
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
654
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
655
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
656
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
657
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
658
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
659
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
660
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
661
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
662
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
663
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
664
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
665
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
666
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
667
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
668
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
669
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
670
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
671
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
672
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
673
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
674
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
675
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
676
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
677
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
678
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
679
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
680
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
681
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
682
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
683
- onerror: OnErrorEventHandler;
684
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
685
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
686
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
687
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
688
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
689
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
690
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
691
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
692
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
693
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
694
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
695
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
696
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
697
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
698
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
699
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
700
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
701
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
702
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
703
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
704
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
705
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
706
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
707
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
708
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
709
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
710
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
711
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
712
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
713
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
714
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
715
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
716
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
717
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
718
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
719
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
720
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
721
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
722
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
723
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
724
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
725
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
726
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
727
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
728
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
729
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
730
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
731
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
732
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
733
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
734
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
735
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
736
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
737
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
738
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
739
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
740
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
741
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
742
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
743
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
744
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
745
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
746
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
747
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
748
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
749
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
750
- autofocus: boolean;
751
- readonly dataset: DOMStringMap;
752
- nonce?: string;
753
- tabIndex: number;
754
- blur(): void;
755
- focus(options?: FocusOptions): void;
756
- }) & {
757
- properties: PropertyDefinitions;
758
- }) & T;
412
+ export declare function EventListenerMixin<T extends Constructor<BaseElementLike>>(Base: T): T & AbstractConstructor<{
413
+ addListener(target: EventTarget, type: string, handler: EventListener, options?: boolean | AddEventListenerOptions): void;
414
+ }>;
759
415
  /**
760
- * Mixin that adds event listener management with automatic cleanup.
761
- * Listeners added via addListener() are removed on disconnect.
416
+ * Mixin that adds slot change observation.
417
+ * Tracks slotted elements and fires a callback when slots change.
762
418
  */
763
- export declare function EventListenerMixin<T extends Constructor<BaseElementLike>>(Base: T): (abstract new (...args: any[]) => {
764
- "__#private@#listeners": Array<{
765
- target: EventTarget;
766
- type: string;
767
- handler: EventListener;
768
- options?: boolean | AddEventListenerOptions;
769
- }>;
770
- /**
771
- * Add an event listener that will be automatically removed on disconnect
772
- */
773
- addListener(target: EventTarget, type: string, handler: EventListener, options?: boolean | AddEventListenerOptions): void;
774
- disconnectedCallback(): void;
775
- connectedCallback(): void;
776
- shadowRoot: ShadowRoot;
777
- accessKey: string;
778
- readonly accessKeyLabel: string;
779
- autocapitalize: string;
780
- autocorrect: boolean;
781
- dir: string;
782
- draggable: boolean;
783
- hidden: boolean;
784
- inert: boolean;
785
- innerText: string;
786
- lang: string;
787
- readonly offsetHeight: number;
788
- readonly offsetLeft: number;
789
- readonly offsetParent: Element | null;
790
- readonly offsetTop: number;
791
- readonly offsetWidth: number;
792
- outerText: string;
793
- popover: string | null;
794
- spellcheck: boolean;
795
- title: string;
796
- translate: boolean;
797
- writingSuggestions: string;
798
- attachInternals(): ElementInternals;
799
- click(): void;
800
- hidePopover(): void;
801
- showPopover(): void;
802
- togglePopover(options?: boolean): boolean;
803
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
804
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
805
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
806
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
807
- readonly attributes: NamedNodeMap;
808
- get classList(): DOMTokenList;
809
- set classList(value: string);
810
- className: string;
811
- readonly clientHeight: number;
812
- readonly clientLeft: number;
813
- readonly clientTop: number;
814
- readonly clientWidth: number;
815
- readonly currentCSSZoom: number;
816
- id: string;
817
- innerHTML: string;
818
- readonly localName: string;
819
- readonly namespaceURI: string | null;
820
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
821
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
822
- outerHTML: string;
823
- readonly ownerDocument: Document;
824
- get part(): DOMTokenList;
825
- set part(value: string);
826
- readonly prefix: string | null;
827
- readonly scrollHeight: number;
828
- scrollLeft: number;
829
- scrollTop: number;
830
- readonly scrollWidth: number;
831
- slot: string;
832
- readonly tagName: string;
833
- attachShadow(init: ShadowRootInit): ShadowRoot;
834
- checkVisibility(options?: CheckVisibilityOptions): boolean;
835
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
836
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
837
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
838
- closest<E extends Element = Element>(selectors: string): E | null;
839
- computedStyleMap(): StylePropertyMapReadOnly;
840
- getAttribute(qualifiedName: string): string | null;
841
- getAttributeNS(namespace: string | null, localName: string): string | null;
842
- getAttributeNames(): string[];
843
- getAttributeNode(qualifiedName: string): Attr | null;
844
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
845
- getBoundingClientRect(): DOMRect;
846
- getClientRects(): DOMRectList;
847
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
848
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
849
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
850
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
851
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
852
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
853
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
854
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
855
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
856
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
857
- getHTML(options?: GetHTMLOptions): string;
858
- hasAttribute(qualifiedName: string): boolean;
859
- hasAttributeNS(namespace: string | null, localName: string): boolean;
860
- hasAttributes(): boolean;
861
- hasPointerCapture(pointerId: number): boolean;
862
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
863
- insertAdjacentHTML(position: InsertPosition, string: string): void;
864
- insertAdjacentText(where: InsertPosition, data: string): void;
865
- matches(selectors: string): boolean;
866
- releasePointerCapture(pointerId: number): void;
867
- removeAttribute(qualifiedName: string): void;
868
- removeAttributeNS(namespace: string | null, localName: string): void;
869
- removeAttributeNode(attr: Attr): Attr;
870
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
871
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
872
- scroll(options?: ScrollToOptions): void;
873
- scroll(x: number, y: number): void;
874
- scrollBy(options?: ScrollToOptions): void;
875
- scrollBy(x: number, y: number): void;
876
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
877
- scrollTo(options?: ScrollToOptions): void;
878
- scrollTo(x: number, y: number): void;
879
- setAttribute(qualifiedName: string, value: string): void;
880
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
881
- setAttributeNode(attr: Attr): Attr | null;
882
- setAttributeNodeNS(attr: Attr): Attr | null;
883
- setHTMLUnsafe(html: string): void;
884
- setPointerCapture(pointerId: number): void;
885
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
886
- webkitMatchesSelector(selectors: string): boolean;
887
- get textContent(): string;
888
- set textContent(value: string | null);
889
- readonly baseURI: string;
890
- readonly childNodes: NodeListOf<ChildNode>;
891
- readonly firstChild: ChildNode | null;
892
- readonly isConnected: boolean;
893
- readonly lastChild: ChildNode | null;
894
- readonly nextSibling: ChildNode | null;
895
- readonly nodeName: string;
896
- readonly nodeType: number;
897
- nodeValue: string | null;
898
- readonly parentElement: HTMLElement | null;
899
- readonly parentNode: ParentNode | null;
900
- readonly previousSibling: ChildNode | null;
901
- appendChild<T_1 extends Node>(node: T_1): T_1;
902
- cloneNode(subtree?: boolean): Node;
903
- compareDocumentPosition(other: Node): number;
904
- contains(other: Node | null): boolean;
905
- getRootNode(options?: GetRootNodeOptions): Node;
906
- hasChildNodes(): boolean;
907
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
908
- isDefaultNamespace(namespace: string | null): boolean;
909
- isEqualNode(otherNode: Node | null): boolean;
910
- isSameNode(otherNode: Node | null): boolean;
911
- lookupNamespaceURI(prefix: string | null): string | null;
912
- lookupPrefix(namespace: string | null): string | null;
913
- normalize(): void;
914
- removeChild<T_1 extends Node>(child: T_1): T_1;
915
- replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
916
- readonly ELEMENT_NODE: 1;
917
- readonly ATTRIBUTE_NODE: 2;
918
- readonly TEXT_NODE: 3;
919
- readonly CDATA_SECTION_NODE: 4;
920
- readonly ENTITY_REFERENCE_NODE: 5;
921
- readonly ENTITY_NODE: 6;
922
- readonly PROCESSING_INSTRUCTION_NODE: 7;
923
- readonly COMMENT_NODE: 8;
924
- readonly DOCUMENT_NODE: 9;
925
- readonly DOCUMENT_TYPE_NODE: 10;
926
- readonly DOCUMENT_FRAGMENT_NODE: 11;
927
- readonly NOTATION_NODE: 12;
928
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
929
- readonly DOCUMENT_POSITION_PRECEDING: 2;
930
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
931
- readonly DOCUMENT_POSITION_CONTAINS: 8;
932
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
933
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
934
- dispatchEvent(event: Event): boolean;
935
- dispatchEvent(event: Event): boolean;
936
- ariaActiveDescendantElement: Element | null;
937
- ariaAtomic: string | null;
938
- ariaAutoComplete: string | null;
939
- ariaBrailleLabel: string | null;
940
- ariaBrailleRoleDescription: string | null;
941
- ariaBusy: string | null;
942
- ariaChecked: string | null;
943
- ariaColCount: string | null;
944
- ariaColIndex: string | null;
945
- ariaColIndexText: string | null;
946
- ariaColSpan: string | null;
947
- ariaControlsElements: ReadonlyArray<Element> | null;
948
- ariaCurrent: string | null;
949
- ariaDescribedByElements: ReadonlyArray<Element> | null;
950
- ariaDescription: string | null;
951
- ariaDetailsElements: ReadonlyArray<Element> | null;
952
- ariaDisabled: string | null;
953
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
954
- ariaExpanded: string | null;
955
- ariaFlowToElements: ReadonlyArray<Element> | null;
956
- ariaHasPopup: string | null;
957
- ariaHidden: string | null;
958
- ariaInvalid: string | null;
959
- ariaKeyShortcuts: string | null;
960
- ariaLabel: string | null;
961
- ariaLabelledByElements: ReadonlyArray<Element> | null;
962
- ariaLevel: string | null;
963
- ariaLive: string | null;
964
- ariaModal: string | null;
965
- ariaMultiLine: string | null;
966
- ariaMultiSelectable: string | null;
967
- ariaOrientation: string | null;
968
- ariaOwnsElements: ReadonlyArray<Element> | null;
969
- ariaPlaceholder: string | null;
970
- ariaPosInSet: string | null;
971
- ariaPressed: string | null;
972
- ariaReadOnly: string | null;
973
- ariaRelevant: string | null;
974
- ariaRequired: string | null;
975
- ariaRoleDescription: string | null;
976
- ariaRowCount: string | null;
977
- ariaRowIndex: string | null;
978
- ariaRowIndexText: string | null;
979
- ariaRowSpan: string | null;
980
- ariaSelected: string | null;
981
- ariaSetSize: string | null;
982
- ariaSort: string | null;
983
- ariaValueMax: string | null;
984
- ariaValueMin: string | null;
985
- ariaValueNow: string | null;
986
- ariaValueText: string | null;
987
- role: string | null;
988
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
989
- getAnimations(options?: GetAnimationsOptions): Animation[];
990
- after(...nodes: (Node | string)[]): void;
991
- before(...nodes: (Node | string)[]): void;
992
- remove(): void;
993
- replaceWith(...nodes: (Node | string)[]): void;
994
- readonly nextElementSibling: Element | null;
995
- readonly previousElementSibling: Element | null;
996
- readonly childElementCount: number;
997
- readonly children: HTMLCollection;
998
- readonly firstElementChild: Element | null;
999
- readonly lastElementChild: Element | null;
1000
- append(...nodes: (Node | string)[]): void;
1001
- prepend(...nodes: (Node | string)[]): void;
1002
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1003
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1004
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
1005
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
1006
- querySelector<E extends Element = Element>(selectors: string): E | null;
1007
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
1008
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
1009
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
1010
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
1011
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
1012
- replaceChildren(...nodes: (Node | string)[]): void;
1013
- readonly assignedSlot: HTMLSlotElement | null;
1014
- readonly attributeStyleMap: StylePropertyMap;
1015
- get style(): CSSStyleDeclaration;
1016
- set style(cssText: string);
1017
- contentEditable: string;
1018
- enterKeyHint: string;
1019
- inputMode: string;
1020
- readonly isContentEditable: boolean;
1021
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1022
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1023
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1024
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1025
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1026
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1027
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1028
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1029
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1030
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1031
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1032
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1033
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1034
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1035
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1036
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1037
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1038
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1039
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1040
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1041
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1042
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1043
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1044
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1045
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1046
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1047
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1048
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1049
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1050
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1051
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1052
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1053
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1054
- onerror: OnErrorEventHandler;
1055
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1056
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1057
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1058
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1059
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1060
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1061
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1062
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1063
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1064
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1065
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1066
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1067
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1068
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1069
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1070
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1071
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1072
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1073
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1074
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1075
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1076
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1077
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1078
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1079
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1080
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1081
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1082
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1083
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1084
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1085
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1086
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1087
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1088
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1089
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1090
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1091
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1092
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1093
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1094
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1095
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1096
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1097
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1098
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1099
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1100
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1101
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1102
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1103
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1104
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1105
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1106
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1107
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1108
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1109
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1110
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1111
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1112
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1113
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1114
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1115
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1116
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1117
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1118
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1119
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1120
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1121
- autofocus: boolean;
1122
- readonly dataset: DOMStringMap;
1123
- nonce?: string;
1124
- tabIndex: number;
1125
- blur(): void;
1126
- focus(options?: FocusOptions): void;
1127
- }) & T;
1128
- /**
1129
- * Mixin that adds slot change observation.
1130
- * Tracks slotted elements and fires a callback when slots change.
1131
- */
1132
- export declare function SlotObserverMixin<T extends Constructor<BaseElementLike>>(Base: T): (abstract new (...args: any[]) => {
1133
- "__#private@#slotObservers": Map<string, (elements: Element[]) => void>;
1134
- /**
1135
- * Observe a named slot (or '' for default) and call handler when content changes
1136
- */
419
+ export declare function SlotObserverMixin<T extends Constructor<BaseElementLike>>(Base: T): T & AbstractConstructor<{
1137
420
  observeSlot(slotName: string, handler: (elements: Element[]) => void): void;
1138
- connectedCallback(): void;
1139
- "__#private@#attachSlotListeners"(): void;
1140
- disconnectedCallback(): void;
1141
- shadowRoot: ShadowRoot;
1142
- accessKey: string;
1143
- readonly accessKeyLabel: string;
1144
- autocapitalize: string;
1145
- autocorrect: boolean;
1146
- dir: string;
1147
- draggable: boolean;
1148
- hidden: boolean;
1149
- inert: boolean;
1150
- innerText: string;
1151
- lang: string;
1152
- readonly offsetHeight: number;
1153
- readonly offsetLeft: number;
1154
- readonly offsetParent: Element | null;
1155
- readonly offsetTop: number;
1156
- readonly offsetWidth: number;
1157
- outerText: string;
1158
- popover: string | null;
1159
- spellcheck: boolean;
1160
- title: string;
1161
- translate: boolean;
1162
- writingSuggestions: string;
1163
- attachInternals(): ElementInternals;
1164
- click(): void;
1165
- hidePopover(): void;
1166
- showPopover(): void;
1167
- togglePopover(options?: boolean): boolean;
1168
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1169
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1170
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1171
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1172
- readonly attributes: NamedNodeMap;
1173
- get classList(): DOMTokenList;
1174
- set classList(value: string);
1175
- className: string;
1176
- readonly clientHeight: number;
1177
- readonly clientLeft: number;
1178
- readonly clientTop: number;
1179
- readonly clientWidth: number;
1180
- readonly currentCSSZoom: number;
1181
- id: string;
1182
- innerHTML: string;
1183
- readonly localName: string;
1184
- readonly namespaceURI: string | null;
1185
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
1186
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
1187
- outerHTML: string;
1188
- readonly ownerDocument: Document;
1189
- get part(): DOMTokenList;
1190
- set part(value: string);
1191
- readonly prefix: string | null;
1192
- readonly scrollHeight: number;
1193
- scrollLeft: number;
1194
- scrollTop: number;
1195
- readonly scrollWidth: number;
1196
- slot: string;
1197
- readonly tagName: string;
1198
- attachShadow(init: ShadowRootInit): ShadowRoot;
1199
- checkVisibility(options?: CheckVisibilityOptions): boolean;
1200
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
1201
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
1202
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
1203
- closest<E extends Element = Element>(selectors: string): E | null;
1204
- computedStyleMap(): StylePropertyMapReadOnly;
1205
- getAttribute(qualifiedName: string): string | null;
1206
- getAttributeNS(namespace: string | null, localName: string): string | null;
1207
- getAttributeNames(): string[];
1208
- getAttributeNode(qualifiedName: string): Attr | null;
1209
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1210
- getBoundingClientRect(): DOMRect;
1211
- getClientRects(): DOMRectList;
1212
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
1213
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
1214
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
1215
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
1216
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
1217
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
1218
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
1219
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
1220
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
1221
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
1222
- getHTML(options?: GetHTMLOptions): string;
1223
- hasAttribute(qualifiedName: string): boolean;
1224
- hasAttributeNS(namespace: string | null, localName: string): boolean;
1225
- hasAttributes(): boolean;
1226
- hasPointerCapture(pointerId: number): boolean;
1227
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
1228
- insertAdjacentHTML(position: InsertPosition, string: string): void;
1229
- insertAdjacentText(where: InsertPosition, data: string): void;
1230
- matches(selectors: string): boolean;
1231
- releasePointerCapture(pointerId: number): void;
1232
- removeAttribute(qualifiedName: string): void;
1233
- removeAttributeNS(namespace: string | null, localName: string): void;
1234
- removeAttributeNode(attr: Attr): Attr;
1235
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
1236
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
1237
- scroll(options?: ScrollToOptions): void;
1238
- scroll(x: number, y: number): void;
1239
- scrollBy(options?: ScrollToOptions): void;
1240
- scrollBy(x: number, y: number): void;
1241
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1242
- scrollTo(options?: ScrollToOptions): void;
1243
- scrollTo(x: number, y: number): void;
1244
- setAttribute(qualifiedName: string, value: string): void;
1245
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1246
- setAttributeNode(attr: Attr): Attr | null;
1247
- setAttributeNodeNS(attr: Attr): Attr | null;
1248
- setHTMLUnsafe(html: string): void;
1249
- setPointerCapture(pointerId: number): void;
1250
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1251
- webkitMatchesSelector(selectors: string): boolean;
1252
- get textContent(): string;
1253
- set textContent(value: string | null);
1254
- readonly baseURI: string;
1255
- readonly childNodes: NodeListOf<ChildNode>;
1256
- readonly firstChild: ChildNode | null;
1257
- readonly isConnected: boolean;
1258
- readonly lastChild: ChildNode | null;
1259
- readonly nextSibling: ChildNode | null;
1260
- readonly nodeName: string;
1261
- readonly nodeType: number;
1262
- nodeValue: string | null;
1263
- readonly parentElement: HTMLElement | null;
1264
- readonly parentNode: ParentNode | null;
1265
- readonly previousSibling: ChildNode | null;
1266
- appendChild<T_1 extends Node>(node: T_1): T_1;
1267
- cloneNode(subtree?: boolean): Node;
1268
- compareDocumentPosition(other: Node): number;
1269
- contains(other: Node | null): boolean;
1270
- getRootNode(options?: GetRootNodeOptions): Node;
1271
- hasChildNodes(): boolean;
1272
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
1273
- isDefaultNamespace(namespace: string | null): boolean;
1274
- isEqualNode(otherNode: Node | null): boolean;
1275
- isSameNode(otherNode: Node | null): boolean;
1276
- lookupNamespaceURI(prefix: string | null): string | null;
1277
- lookupPrefix(namespace: string | null): string | null;
1278
- normalize(): void;
1279
- removeChild<T_1 extends Node>(child: T_1): T_1;
1280
- replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
1281
- readonly ELEMENT_NODE: 1;
1282
- readonly ATTRIBUTE_NODE: 2;
1283
- readonly TEXT_NODE: 3;
1284
- readonly CDATA_SECTION_NODE: 4;
1285
- readonly ENTITY_REFERENCE_NODE: 5;
1286
- readonly ENTITY_NODE: 6;
1287
- readonly PROCESSING_INSTRUCTION_NODE: 7;
1288
- readonly COMMENT_NODE: 8;
1289
- readonly DOCUMENT_NODE: 9;
1290
- readonly DOCUMENT_TYPE_NODE: 10;
1291
- readonly DOCUMENT_FRAGMENT_NODE: 11;
1292
- readonly NOTATION_NODE: 12;
1293
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
1294
- readonly DOCUMENT_POSITION_PRECEDING: 2;
1295
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
1296
- readonly DOCUMENT_POSITION_CONTAINS: 8;
1297
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
1298
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
1299
- dispatchEvent(event: Event): boolean;
1300
- dispatchEvent(event: Event): boolean;
1301
- ariaActiveDescendantElement: Element | null;
1302
- ariaAtomic: string | null;
1303
- ariaAutoComplete: string | null;
1304
- ariaBrailleLabel: string | null;
1305
- ariaBrailleRoleDescription: string | null;
1306
- ariaBusy: string | null;
1307
- ariaChecked: string | null;
1308
- ariaColCount: string | null;
1309
- ariaColIndex: string | null;
1310
- ariaColIndexText: string | null;
1311
- ariaColSpan: string | null;
1312
- ariaControlsElements: ReadonlyArray<Element> | null;
1313
- ariaCurrent: string | null;
1314
- ariaDescribedByElements: ReadonlyArray<Element> | null;
1315
- ariaDescription: string | null;
1316
- ariaDetailsElements: ReadonlyArray<Element> | null;
1317
- ariaDisabled: string | null;
1318
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
1319
- ariaExpanded: string | null;
1320
- ariaFlowToElements: ReadonlyArray<Element> | null;
1321
- ariaHasPopup: string | null;
1322
- ariaHidden: string | null;
1323
- ariaInvalid: string | null;
1324
- ariaKeyShortcuts: string | null;
1325
- ariaLabel: string | null;
1326
- ariaLabelledByElements: ReadonlyArray<Element> | null;
1327
- ariaLevel: string | null;
1328
- ariaLive: string | null;
1329
- ariaModal: string | null;
1330
- ariaMultiLine: string | null;
1331
- ariaMultiSelectable: string | null;
1332
- ariaOrientation: string | null;
1333
- ariaOwnsElements: ReadonlyArray<Element> | null;
1334
- ariaPlaceholder: string | null;
1335
- ariaPosInSet: string | null;
1336
- ariaPressed: string | null;
1337
- ariaReadOnly: string | null;
1338
- ariaRelevant: string | null;
1339
- ariaRequired: string | null;
1340
- ariaRoleDescription: string | null;
1341
- ariaRowCount: string | null;
1342
- ariaRowIndex: string | null;
1343
- ariaRowIndexText: string | null;
1344
- ariaRowSpan: string | null;
1345
- ariaSelected: string | null;
1346
- ariaSetSize: string | null;
1347
- ariaSort: string | null;
1348
- ariaValueMax: string | null;
1349
- ariaValueMin: string | null;
1350
- ariaValueNow: string | null;
1351
- ariaValueText: string | null;
1352
- role: string | null;
1353
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1354
- getAnimations(options?: GetAnimationsOptions): Animation[];
1355
- after(...nodes: (Node | string)[]): void;
1356
- before(...nodes: (Node | string)[]): void;
1357
- remove(): void;
1358
- replaceWith(...nodes: (Node | string)[]): void;
1359
- readonly nextElementSibling: Element | null;
1360
- readonly previousElementSibling: Element | null;
1361
- readonly childElementCount: number;
1362
- readonly children: HTMLCollection;
1363
- readonly firstElementChild: Element | null;
1364
- readonly lastElementChild: Element | null;
1365
- append(...nodes: (Node | string)[]): void;
1366
- prepend(...nodes: (Node | string)[]): void;
1367
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1368
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1369
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
1370
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
1371
- querySelector<E extends Element = Element>(selectors: string): E | null;
1372
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
1373
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
1374
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
1375
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
1376
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
1377
- replaceChildren(...nodes: (Node | string)[]): void;
1378
- readonly assignedSlot: HTMLSlotElement | null;
1379
- readonly attributeStyleMap: StylePropertyMap;
1380
- get style(): CSSStyleDeclaration;
1381
- set style(cssText: string);
1382
- contentEditable: string;
1383
- enterKeyHint: string;
1384
- inputMode: string;
1385
- readonly isContentEditable: boolean;
1386
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1387
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1388
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1389
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1390
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1391
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1392
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1393
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1394
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1395
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1396
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1397
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1398
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1399
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1400
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1401
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1402
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1403
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1404
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1405
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1406
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1407
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1408
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1409
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1410
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1411
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1412
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1413
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1414
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1415
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1416
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1417
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1418
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1419
- onerror: OnErrorEventHandler;
1420
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1421
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1422
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1423
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1424
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1425
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1426
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1427
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1428
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1429
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1430
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1431
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1432
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1433
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1434
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1435
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1436
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1437
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1438
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1439
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1440
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1441
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1442
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1443
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1444
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1445
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1446
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1447
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1448
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1449
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1450
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1451
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1452
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1453
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1454
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1455
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1456
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1457
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1458
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1459
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1460
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1461
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1462
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1463
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1464
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1465
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1466
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1467
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1468
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1469
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1470
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1471
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1472
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1473
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1474
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1475
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1476
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1477
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1478
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1479
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1480
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1481
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1482
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1483
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1484
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1485
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1486
- autofocus: boolean;
1487
- readonly dataset: DOMStringMap;
1488
- nonce?: string;
1489
- tabIndex: number;
1490
- blur(): void;
1491
- focus(options?: FocusOptions): void;
1492
- }) & T;
421
+ }>;
1493
422
  export {};
1494
423
  //# sourceMappingURL=mixins.d.ts.map