params | angular-ui-router
Options
Menu

Module params

This module contains code for State Parameters.

See ParamDeclaration

Index

Type aliases

ParamsOrArray: RawParams | Array<RawParams>

Variables

hasOwn: hasOwnProperty = Object.prototype.hasOwnProperty

Functions

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

  • getReplace(config: ParamDeclaration, arrayMode: boolean, isOptional: boolean, squash: string | true | false): Array<object>
  • getSquashPolicy(config: ParamDeclaration, isOptional: boolean, defaultPolicy: string | true | false): string | true | false
  • 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

    • config ParamDeclaration
    • isOptional boolean
    • defaultPolicy string | true | false

    Returns string | true | false


Generated using TypeDoc