startPathOrState: a starting path (string) or state (object). When using browserPlugin, this argument is optional: path will be read from the document location
done: a done callback (done(err, state))
isStarted
Check if the router is in a started state
navigate
Navigate to a new route
routeName: the name of the route to navigate to
routeParams: the route params
options: options for the transition (replace, reload, skipTransition, force or any custom option)
done: a done callback (done(err, state))
navigateToDefault
Navigate to the default route (if any)
Stop
Stop your router
cancel
Cancel the current transition (if any)
forward
Set a route to forward to another route (when navigating to the first one)
getState
Return the current state
getOptions
Return current options
setOption
Set an option
setDependency
Set a dependency
setDependencies
Set dependencies
getDependencies
Return the current dependencies
useMiddleware
Register one or multiple middlewares, see middleware