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

Class Node

Hierarchy

  • Node

Index

Constructors

Properties

paramSchema: Param[]
paramValues: object

Type declaration

  • [key: string]: any
resolveContext: ResolveContext
resolveInjector: ResolveInjector
resolves: Resolvables
state: State
views: ViewConfig[]

Methods

  • equals(node: Node, keys?: Array<any>): boolean
  • Parameters

    • node: Node
    • keys Default value: Array<any> = this.paramSchema.map(prop('id'))

    Returns boolean


  • parameter(name: string): Param
  • matching(first: Node[], second: Node[]): Node[]
  • Returns a new path which is a subpath of the first path. The new path starts from root and contains any nodes that match the nodes in the second path. Nodes are compared using their state property.

  • Returns a new path which is a subpath of the first path. The new path starts from root and contains any nodes that match the nodes in the second path. Nodes are compared using their state property.

    Parameters

    Returns Node[]

    :

Generated using TypeDoc