TransitionServicePluginAPI | @uirouter/core
Options
All
  • Public
  • Public/Protected
  • All
Menu

Plugin API for Transition Service

Hierarchy

  • TransitionServicePluginAPI

Index

Methods

_defineEvent

  • Defines a transition hook type and returns a transition hook registration function (which can then be used to register hooks of this type).

    Parameters

    Returns any

_definePathType

  • Adds a Path to be used as a criterion against a TreeChanges path

    For example: the exiting path in HookMatchCriteria is a STATE scoped path. It was defined by calling defineTreeChangesCriterion('exiting', TransitionHookScope.STATE) Each state in the exiting path is checked against the criteria and returned as part of the match.

    Another example: the to path in HookMatchCriteria is a TRANSITION scoped path. It was defined by calling defineTreeChangesCriterion('to', TransitionHookScope.TRANSITION) Only the tail of the to path is checked against the criteria and returned as part of the match.

    Parameters

    Returns any

_getEvents

_getPathTypes

  • _getPathTypes(): PathTypes

getHooks

Generated using TypeDoc