Function used to create HREFs that are properly namespaced
the HREF that will be appended to the current namespace
string
:
a fully qualified HREF composed from the current namespace and the path provided
Function used to match the current route to a set of routes using switch-path
Route definitions as expected by switch-path
Observable
.<
Object
>
:
an observable containing the path
and
value
returned by switch-path. location
as returned by @cycle/history
and a createHref method for creating nested HREFs
Instantiates an new router driver function using the same arguments required by @cycle/history.
routerDriver
:
The router driver function
Filters the current location to easily create nested routes
the route at which to filter
routerAPI
The Public API returned by the router driver, createRouter(), and .path()
used for filtering routes to a given path
used for defining a set of routes to values via switch-path
a way to get access to the current history$ from the historyDriver
a method for create HREFs that are properly prefixed for the current namespace
a method to dispose of the history$ returned by .observable