UIRouterGlobals | ui-router-ng2
Options
Menu

Class UIRouterGlobals

Global router state

This is where we hold the global mutable state such as current state, current params, current transition, etc.

Hierarchy

  • UIRouterGlobals

Index

Properties

$current: State

Current state (internal object)

Current state (internal object)

The to-state from the latest successful transition

current: StateDeclaration

Current state

Current state

The to-state from the latest successful transition

params: StateParams = new StateParams()

Current parameter values

Current parameter values

The parameter values from the latest successful transition

successfulTransitions: Queue<Transition> = new Queue<Transition>([], 1)
transition: Transition

The current transition (in progress)

The current transition (in progress)

transitionHistory: Queue<Transition> = new Queue<Transition>([], 1)

Generated using TypeDoc