Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StatemanagerLocation

Index

Properties

domain_

domain_: string

fragment_

fragment_: Object

history_

history_: History

path_

path_: string

port_

port_: number

queryData_

queryData_: Object

schema_

schema_: string

Methods

deleteFragmentParam

  • deleteFragmentParam(key: string): void

deleteParam

  • deleteParam(key: string): void

getFragmentParam

  • getFragmentParam(key: string): string

getFragmentParamAsInt

  • getFragmentParamAsInt(key: string): number
  • Get a param from the fragment of the location's URI as integer. If the entry does not exist, or if the value can not be parsed as integer, undefined is returned.

    Parameters

    • key: string

      Param key.

    Returns number

    Param value.

getFragmentParamKeys

  • getFragmentParamKeys(): string[]

getFragmentParamKeysWithPrefix

  • getFragmentParamKeysWithPrefix(prefix: string): string[]
  • Get an array with all existing param's keys from the fragment of the location's URI that start with the given prefix.

    Parameters

    • prefix: string

      Key prefix.

    Returns string[]

    Param keys.

getParam

  • getParam(key: string): string

getParamAsFloat

  • getParamAsFloat(key: string): number
  • Get a param in the location's URI as a floating point number. If the entry does not exist, or if the value can not be parsed, undefined is returned.

    Parameters

    • key: string

      Param key.

    Returns number

    Param value.

getParamAsInt

  • getParamAsInt(key: string): number
  • Get a param in the location's URI as integer. If the entry does not exist, or if the value can not be parsed as integer, undefined is returned.

    Parameters

    • key: string

      Param key.

    Returns number

    Param value.

getParamKeys

  • getParamKeys(): string[]

getParamKeysWithPrefix

  • getParamKeysWithPrefix(prefix: string): string[]
  • Get an array with all existing param's keys in the location's URI that start with the given prefix.

    Parameters

    • prefix: string

      Key prefix.

    Returns string[]

    Param keys.

getPath

  • getPath(): string

getUriString

  • getUriString(): string

hasFragmentParam

  • hasFragmentParam(key: string): boolean
  • Check if a param exists in the fragment of the location's URI.

    Parameters

    • key: string

      Param key.

    Returns boolean

    True if the param exists.

hasParam

  • hasParam(key: string): boolean
  • Check if a param exists in the location's URI.

    Parameters

    • key: string

      Param key.

    Returns boolean

    True if the param exists.

refresh

  • refresh(): void

setPath

  • setPath(path: string): void

updateFragmentParams

  • updateFragmentParams(params: Object): void

updateParams

  • updateParams(params: Object): void

Generated using TypeDoc