NavigationPathOptions interface

Module @runic-artifex/views in @runic-artifex/views 0.23.0

interface NavigationPathOptions

Properties

window

readonly window?: NavigationWindow;

The page's window; globalThis.window by default.

prefix

readonly prefix?: string;

What precedes the route path in the URL's fragment: "#/" by default, so customers/42 is #/customers/42. A fragment that doesn't start with it is not a route path and is left alone.