HookRegOptions | @uirouter/angular
Options
Menu

Interface HookRegOptions

These options may be provided when registering a Transition Hook (such as onStart)

Hierarchy

  • HookRegOptions

Index

Properties

bind: any

Specifies what this is bound to during hook invocation.

Specifies what this is bound to during hook invocation.

invokeLimit: number

Limits the number of times that the hook will be invoked. Once the hook has been invoked this many times, it is automatically deregistered.

Limits the number of times that the hook will be invoked. Once the hook has been invoked this many times, it is automatically deregistered.

priority: number

Sets the priority of the registered hook

Sets the priority of the registered hook

Hooks of the same type (onBefore, onStart, etc) are invoked in priority order. A hook with a higher priority is invoked before a hook with a lower priority.

The default hook priority is 0

Generated using TypeDoc