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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
actor | readonly | RoutableActor | - | play-svelte-spa-router/src/connect-router.ts:6 |
routeMap | readonly | RouteMap | - | play-svelte-spa-router/src/connect-router.ts:7 |
window? | readonly | WindowLike | The 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 |