1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-29 07:00:16 +02:00

chainableAppend

This commit is contained in:
2023-11-19 11:07:23 +01:00
parent 398cc38c88
commit c0fdec1e1e
12 changed files with 48 additions and 21 deletions

1
dist/esm.d.ts vendored
View File

@@ -83,6 +83,7 @@ export function elNS(
attrs?: string | Record<string, any>,
...modifiers: ddeElementModifier<SupportedElement>[]
)=> SupportedElement
export function chainableAppend<EL extends SupportedElement>(el: EL): EL;
export function dispatchEvent(element: SupportedElement, name: keyof DocumentEventMap): void;
export function dispatchEvent(element: SupportedElement, name: string, data: any): void;
interface On{