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

Interface TransitionHookFn

The signature for Transition Hooks.

Transition hooks are callback functions that hook into the lifecycle of transitions. As a transition runs, it reaches certain lifecycle events. As each event occurs, the hooks which are registered for the event are called (in priority order).

A transition hook may alter a Transition by returning a HookResult.

see

Hierarchy

  • TransitionHookFn

Callable

  • The signature for Transition Hooks.

    Transition hooks are callback functions that hook into the lifecycle of transitions. As a transition runs, it reaches certain lifecycle events. As each event occurs, the hooks which are registered for the event are called (in priority order).

    A transition hook may alter a Transition by returning a HookResult.

    Parameters

    Returns HookResult

    :

    a HookResult which may alter the transition


Generated using TypeDoc