Given a path, upgrades the path to a Node[]. Each node is assigned a ResolveContext and ParamValues object which is bound to the whole path, but closes over the subpath from root to the node. The views are also added to the node.
Given a fromPath: Node[] and a TargetState, builds a toPath: Node[]
Given a fromPath: Node[] and a TargetState, builds a toPath: Node[]
Given a fromPath and a toPath, returns a new to path which inherits parameters from the fromPath
Given a fromPath and a toPath, returns a new to path which inherits parameters from the fromPath
For a parameter in a node to be inherited from the from path:
Note: the keys provided in toKeys are intended to be those param keys explicitly specified by some caller, for instance, $state.transitionTo(..., toParams). If a key was found in toParams, it is not inherited from the fromPath.
Given a Node[], create an TargetState
Given a Node[], create an TargetState
Find a subpath of a path that stops at the node for a given state
Computes the tree changes (entering, exiting) between a fromPath and toPath.
Computes the tree changes (entering, exiting) between a fromPath and toPath.
Generated using TypeDoc
This class contains functions which convert TargetStates, Nodes and paths from one type to another.