UNPKG

svelte-5-ui-lib

Version:

Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.

12 lines (11 loc) 347 B
export declare function uiHelpers(): { isOpen: boolean; toggle: () => void; close: () => void; open: () => void; }; export declare function clickOutside(element: HTMLElement, callbackFunction?: () => void): { update(newCallbackFunction: () => void): void; destroy(): void; }; export declare function idGenerator(): string;