AngularTS
    Preparing search index...

    Interface HookRegOptions

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

    interface HookRegOptions {
        bind?: unknown;
        invokeLimit?: number;
        priority?: number;
    }
    Index

    Properties

    bind?: unknown

    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.

    priority?: number

    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 the hook with a lower priority.

    The default hook priority is 0