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

Interface UrlRuleHandlerFn

Handler invoked when a rule is matched

The matched value from the rule's UrlRuleMatchFn is passed as the first argument The handler should return a string (to redirect), a TargetState/TargetStateDef, or void

If the handler returns a string, the url is replaced with the string. If the handler returns a TargetState, the target state is activated.

Hierarchy

  • UrlRuleHandlerFn

Callable

Generated using TypeDoc