params | @uirouter/core
Options
Menu

Module params

This module contains code for State Parameters.

See ParamDeclaration

Index

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


  • Parameters


  • getReplace(config: ParamDeclaration, arrayMode: boolean, isOptional: boolean, squash: string | boolean): object[]
  • Parameters

    • config ParamDeclaration
    • arrayMode boolean
    • isOptional boolean
    • squash string | boolean

    Returns object[]


  • getSquashPolicy(config: ParamDeclaration, isOptional: boolean, defaultPolicy: boolean | string): string | false | true
  • Parameters

    Returns string | false | true


Generated using TypeDoc