TransitionService | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransitionService

This class provides services related to Transitions.

Most importantly, it allows global Transition Hooks to be registered, and has a factory function for creating new Transitions.

Hierarchy

  • TransitionService

Implements

Index

Constructors

Properties

onBefore: IHookRegistration

Registers a callback function as an onBefore Transition Hook

Registers a callback function as an onBefore Transition Hook

See IHookRegistry.onBefore

onEnter: IHookRegistration

Registers a callback function as an onEnter Transition Hook

Registers a callback function as an onEnter Transition Hook

See IHookRegistry.onEnter

onError: IHookRegistration

Registers a callback function as an onError Transition Hook

Registers a callback function as an onError Transition Hook

See IHookRegistry.onError

onExit: IHookRegistration

Registers a callback function as an onExit Transition Hook

Registers a callback function as an onExit Transition Hook

See IHookRegistry.onExit

onFinish: IHookRegistration

Registers a callback function as an onFinish Transition Hook

Registers a callback function as an onFinish Transition Hook

See IHookRegistry.onFinish

onRetain: IHookRegistration

Registers a callback function as an onRetain Transition Hook

Registers a callback function as an onRetain Transition Hook

See IHookRegistry.onRetain

onStart: IHookRegistration

Registers a callback function as an onStart Transition Hook

Registers a callback function as an onStart Transition Hook

See IHookRegistry.onStart

onSuccess: IHookRegistration

Registers a callback function as an onSuccess Transition Hook

Registers a callback function as an onSuccess Transition Hook

See IHookRegistry.onSuccess

Methods

  • _defaultErrorHandler($error$: any): void
  • defaultErrorHandler(handler: function): function
  • Parameters

    • handler: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    Returns function

      • (error: any): void
      • Parameters

        • error: any

        Returns void


Generated using TypeDoc