UNPKG

svelte5-spa-router

Version:

A simple, flexible, and lightweight SPA router specifically designed for Svelte 5 with runes support (dev/non-stable, not production ready)

18 lines (17 loc) 459 B
export default Link; type Link = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial<$$ComponentProps>): void; }; declare const Link: import("svelte").Component<{ href: any; query?: Record<string, any>; hash?: string; children: any; } & Record<string, any>, {}, "">; type $$ComponentProps = { href: any; query?: Record<string, any>; hash?: string; children: any; } & Record<string, any>;