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

External module resolve

Index

Variables

defaultResolvePolicy: string

Functions

  • getPolicy(stateResolvePolicyConf: any, resolvable: Resolvable): number
  • Given a state's resolvePolicy attribute and a resolvable from that state, returns the policy ordinal for the Resolvable Use the policy declared for the Resolve. If undefined, use the policy declared for the State. If undefined, use the system defaultResolvePolicy.

  • Given a state's resolvePolicy attribute and a resolvable from that state, returns the policy ordinal for the Resolvable Use the policy declared for the Resolve. If undefined, use the policy declared for the State. If undefined, use the system defaultResolvePolicy.

    Parameters

    • stateResolvePolicyConf: any
      :

      The raw resolvePolicy declaration on the state object; may be a String or Object

    • resolvable: Resolvable
      :

      The resolvable to compute the policy for

    Returns number


Generated using TypeDoc