Skip to content

Interface: ConnectRouterOptions

API / @xmachines/play-svelte-spa-router / ConnectRouterOptions

Defined in: play-svelte-spa-router/src/connect-router.ts:5

@xmachines/play-svelte-spa-router

Svelte SPA router adapter for XMachines Play architecture.

Properties

PropertyModifierTypeDescriptionDefined in
actorreadonlyRoutableActor-play-svelte-spa-router/src/connect-router.ts:6
routeMapreadonlyRouteMap-play-svelte-spa-router/src/connect-router.ts:7
window?readonlyWindowLikeWindow-like object for hashchange subscriptions. Defaults to the global window when one exists; in environments without a window (SSR/Node) the hashchange subscription is skipped. Pass a mock in tests.play-svelte-spa-router/src/connect-router.ts:13