svelisy
Version:
svelisy - DaisyUI components built with Svelte 🌼
11 lines (10 loc) • 390 B
TypeScript
import type { SvelteComponent } from 'svelte';
type ForwardException = string | {
name: string;
shouldExclude: () => boolean;
};
/** Function for forwarding DOM events to the component's declaration */
export declare function createEventForwarder(component: SvelteComponent, except?: ForwardException[]): (node: HTMLElement | SVGElement) => {
destroy: () => void;
};
export {};