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 the 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?readonlyWindowLikeThe window-like object for the hashchange subscription. The default is the global window, when one exists. In an environment without a window, such as SSR or Node, the bridge skips the hashchange subscription. Give a mock in a test.play-svelte-spa-router/src/connect-router.ts:14