PythonMonkey v1.1.1 (dev)
|
Variables | |
export interface | URL |
host | __pad0__ |
hostname | __pad1__ |
href | __pad2__ |
toString() readonly | origin |
password | __pad3__ |
pathname | __pad4__ |
port | __pad5__ |
protocol | __pad6__ |
search | __pad7__ |
readonly | searchParams |
username | __pad8__ |
new(url:string|URL, base?:string|URL) canParse(url:string|URL, base?:string) createObjectURL(obj:Blob|MediaSource) | revokeObjectURL (url:string) |
export interface | URLSearchParams |
new (init?:string[][]|Record< string, string >|string|URLSearchParams) | |
Type definitions for URL/URLSearchParams
host __pad0__ |
hostname __pad1__ |
href __pad2__ |
password __pad3__ |
pathname __pad4__ |
port __pad5__ |
protocol __pad6__ |
search __pad7__ |
username __pad8__ |
new | ( | init?:string|Record< string, string >|string| | URLSearchParams[][] | ) |
toString () readonly origin | ( | ) |
new (url: string | URL, base?: string | URL) canParse (url: string | URL, base?: string) createObjectURL (obj: Blob | MediaSource) revokeObjectURL(url:string) | ( | url:string | ) |
readonly searchParams |
var declare URL |
Modified from https://www.npmjs.com/package/@types/web Apache License 2.0 The URL interface represents an object providing static methods used for creating object URLs.
var declare URLSearchParams |
Appends a specified key/value pair as a new search parameter.
MDN Reference Deletes the given search parameter, and its associated value, from the list of all search parameters.
MDN Reference Returns the first value associated to the given search parameter.
MDN Reference Returns all the values association with a given search parameter.
MDN Reference Returns a Boolean indicating if such a search parameter exists.
MDN Reference Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
MDN Reference MDN Reference Returns a string containing a query string suitable for use in a URL. Does not include the question mark.