URL: { prototype: URL; canParse(url: string | URL,
base?: string): boolean; createObjectURL(obj: Blob | MediaSource): string; revokeObjectURL(url: string): void; new (url: string | URL,
base?: string | URL): URL; } Type declaration
- new (url: string | URL, base?: string | URL): URL
Parameters
- url: string | URL
Optional
base: string | URL
Returns URL
prototype: URL
canParse:function
- canParse(url: string | URL, base?: string): boolean
Parameters
- url: string | URL
Optional
base: string
Returns boolean
createObjectURL:function
- createObjectURL(obj: Blob | MediaSource): string
Returns string
revokeObjectURL:function
- revokeObjectURL(url: string): void
Returns void
MDN Reference