The paths on a criteria object
The transition hook types, such as onEnter
, onStart
, etc
Internal
_registeredThe registered transition hooks
Static
$injectThese GetResultHandler(s) are used by [[invokeHook]] below Each HookType chooses a GetResultHandler (See: [[TransitionService._defineCoreEvents]])
Internal
Adds a Path to be used as a criterion against a TreeChanges path
For example: the exiting
path in [[HookMatchCriteria]] is a STATE scoped path.
It was defined by calling defineTreeChangesCriterion('exiting', TransitionHookScope.STATE)
Each state in the exiting path is checked against the criteria and returned as part of the match.
Another example: the to
path in [[HookMatchCriteria]] is a TRANSITION scoped path.
It was defined by calling defineTreeChangesCriterion('to', TransitionHookScope.TRANSITION)
Only the tail of the to
path is checked against the criteria and returned as part of the match.
Internal
Creates a new [[Transition]] object
This is a factory function for creating new Transition objects. It is used internally by the [[StateService]] and should generally not be called by application code.
the path to the current state (the from state)
the target state (destination)
a Transition
This class provides services related to Transitions.
At bootstrap, [[UIRouter]] creates a single instance (singleton) of this class.
This API is located at
router.transitionService
([[UIRouter.transitionService]])