Transition
type in module ui.router.state

Description

Represents a transition between two states, and contains all contextual information about the to/from states and parameters, as well as the list of states being entered and exited as a result of this transition.

Usage

Transition(from, to, options);

Parameters

ParamTypeDetails
fromObject

The origin state from which the transition is leaving.

toObject

The target state being transitioned to.

optionsObject

An object hash of the options for this transition.

Returns

Object

New Transition object

Methods