PathNode | @uirouter/angular
Options
Menu

Hierarchy

  • PathNode

Index

Constructors

Properties

paramSchema: Param[]

The parameters declared on the state

The parameters declared on the state

paramValues: object

The parameter values that belong to the state

The parameter values that belong to the state

Type declaration

  • [key: string]: any
resolvables: Resolvable[]

The individual (stateful) resolvable objects that belong to the state

The individual (stateful) resolvable objects that belong to the state

state: StateObject

The state being entered, exited, or retained

The state being entered, exited, or retained

views: ViewConfig[]

The state's declared view configuration objects

The state's declared view configuration objects

Methods

  • diff(node: PathNode, paramsFn?: GetParamsFn): Param[] | false
  • Finds Params with different parameter values on another PathNode.

  • Finds Params with different parameter values on another PathNode.

    Given another node (of the same state), finds the parameter values which differ. Returns the Param (schema objects) whose parameter values differ.

    Given another node for a different state, returns false

    Parameters

    • node PathNode
      :

      The node to compare to

    • paramsFn: Optional  GetParamsFn
      :

      A function that returns which parameters should be compared.

    Returns Param[] | false

    :

    The Params which differ, or null if the two nodes are for different states


  • equals(node: PathNode, paramsFn?: GetParamsFn): boolean
  • Parameters

    • node PathNode
    • paramsFn: Optional  GetParamsFn

    Returns boolean

    :

    true if the state and parameter values for another PathNode are equal to the state and param values for this PathNode


  • parameter(name: string): Param
  • Gets a specific Param metadata that belongs to the node

Generated using TypeDoc