Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • URL

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new URL(): URL

Accessors

origin

  • get origin(): string

Methods

Static match

  • match(url: string, tests: boolean | (string | RegExp)[]): boolean
  • Parameters

    • url: string
    • tests: boolean | (string | RegExp)[]

    Returns boolean

Static parse

  • parse(__namedParameters: Location): any

Static resolve

  • resolve(path: string): string

Static url

  • url(base: string, params?: {}): string
  • Creates a url with the given query parameters

    Parameters

    • base: string

      the base url without query parameters

    • Optional params: {}

      the query parameters to attache to the url

      • [key: string]: any

    Returns string

    the built url

Generated using TypeDoc