The URL Mapper function.
The function to add the location change listener. Defaults to window.onpopstate = listener
.
Function that parses a path using a router library.
The Feather Route Matcher function.
The default route.
The function to get the path from the browser's location bar.
Defaults to (() => document.location.hash || prefix + "/")
.
The Mithril instance.
The URL path prefix. Defaults to "#"
.
The route config.
The function to set the path on the browser's location bar.
Defaults to (path => window.history.pushState({}, "", path))
.
Generated using TypeDoc
Router configuration.