Creates tools for navigation.
root state
Protected
routesmap of names to route configurations
Creates state using required name
, params
and optional stack
. When stack is not passed
and routes has appropriate builder
, new stack is generated using that builder.
Returns current innermost focused state inside root state.
Protected
goProtected
Main navigation tool. By default it searches for nearest state with passed name
(and matches
passed keys
if any) in stacks of focused states. If existing state not found then new state
is created if it is allowed in current stack. Params are replaced by passed ones by default,
however merge
option may modify this behavior. When navigation is successful optional
update
callback is called for further state modification.
Replaces current innermost focused state by new one. If current state has no parent then nothing happens.
Generated using TypeDoc
Provides tools for navigation.