UIRouterGlobals | @uirouter/core
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

Implements

Index

Properties

$current: StateObject

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

lastStartedTransitionId: number = -1
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 started/running transition. This transition has reached at least the onStart phase, but is not yet complete

The current started/running transition. This transition has reached at least the onStart phase, but is not yet complete

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

Methods

  • dispose(): void
  • Returns void


Generated using TypeDoc