Creates ViewConfig objects and adds to nodes.
Creates ViewConfig objects and adds to nodes.
On each PathNode, creates ViewConfig objects from the views: property of the node's state
Given a fromPath: PathNode[] and a TargetState, builds a toPath: PathNode[]
Given a fromPath: PathNode[] and a TargetState, builds a toPath: PathNode[]
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 PathNode[], create an TargetState
Given a PathNode[], create an TargetState
Gets the raw parameter values from a path
Gets the raw parameter values from a path
Return a subpath of a path, which stops at the first matching node
Return a subpath of a path, which stops at the first matching node
Given an array of nodes, returns a subset of the array starting from the first node, stopping when the first node matches the predicate.
a subpath up to the matching node, or undefined if no match is found
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.