Properties

domain_: string
fragment_: {}

Type declaration

    history_: History
    path_: string
    port_: number
    queryData_: {}

    Type declaration

      schema_: string

      Methods

      • Delete a param int the fragment of the location's URI.

        Parameters

        • key: string

          Param key.

        Returns void

      • Get a param from the fragment of the location's URI.

        Parameters

        • key: string

          Param key.

        Returns string

        Param value.

      • 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.

      • Get an array with all existing param's keys from the fragment of the location's URI.

        Returns string[]

        Param keys.

      • 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.

      • 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.

      • 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.

      • Get an array with all existing param's keys in the location's URI.

        Returns string[]

        Param keys.

      • 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.

      • 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.

      • Check if a param exists in the location's URI.

        Parameters

        • key: string

          Param key.

        Returns boolean

        True if the param exists.

      • Set or create a param in the fragment of the location's URI.

        Parameters

        • params: {}

          Parameters.

          Returns void

        Generated using TypeDoc