StateReference
type in module ui.router.state

Description

Wraps a state and a set of parameters with the value used to identify the state. Allows states to be referenced in a consistent way in application code, separate from state definitions.

Usage

StateReference(identifier, state, params, base);

Parameters

ParamTypeDetails
identifier*

An identifier for a state. Either a fully-qualified path, or the object used to define the state.

stateState

The State object definition.

paramsObject

Parameters attached to the current state reference.

baseObject

Optional. Base state used during lookup of state definition by identifier.