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

External module params

This module contains code for State Parameters.

See ParamDeclaration

Index

Type aliases

ParamsOrArray: RawParams | Array<RawParams>

Variables

hasOwn: hasOwnProperty

Functions

  • ArrayType(type: ParamType, mode: boolean | "auto"): void
  • Wraps up a ParamType object to handle array values.

  • Wraps up a ParamType object to handle array values.

    Parameters

    Returns void


  • getReplace(config: ParamDeclaration, arrayMode: boolean, isOptional: boolean, squash: string | boolean): Array<object>
  • getSquashPolicy(config: ParamDeclaration, isOptional: boolean): boolean | string
  • returns false, true, or the squash value to indicate the "default parameter url squash policy".

  • returns false, true, or the squash value to indicate the "default parameter url squash policy".

    Parameters

    Returns boolean | string


  • valFromString(val: string): string
  • valToString(val: any): any

Generated using TypeDoc