class URL

The URL interface represents an object providing static methods used for creating object URLs.

Constructors

new
URL(url: string | URL, base?: string | URL)
[src]

Properties

hash: string[src]
host: string[src]
hostname: string[src]
href: string[src]
readonly
origin: string
[src]
password: string[src]
pathname: string[src]
port: string[src]
protocol: string[src]
readonly
searchParams: URLSearchParams
[src]
username: string[src]

Methods

toJSON(): string[src]
toString(): string[src]

Static Methods

createObjectURL(blob: Blob): string[src]
revokeObjectURL(url: string): void[src]