Liking cljdoc? Tell your friends :D

web.url.URLSearchParams

The URLSearchParams interface defines utility methods to work the query string of a URL.

The URLSearchParams interface defines utility methods to work
the query string of a URL.
raw docstring

appendcljs

(append this name value)

Method.

The append() method of the web.url.URLSearchParams interface a specified key/value pair as a new search parameter.

URLSearchParams.append(name, value)

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append

Method.

The append() method of the `web.url.URLSearchParams` interface
a specified key/value pair as a new search parameter.

`URLSearchParams.append(name, value)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append`
sourceraw docstring

constructorcljs

(constructor & args)

Constructor.

The URLSearchParams() constructor creates and returns a new web.url.URLSearchParams object. Leading '?' characters are ignored.

init Optional A web.USVString instance, a web.url.URLSearchParams instance, a sequence of web.USVStrings, or a record containing web.USVStrings. Note that using a URLSearchParams instance is deprecated; soon browsers will just use a USVString for the init.

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams

Constructor.

The URLSearchParams() constructor creates and returns a new `web.url.URLSearchParams` object. Leading '?' characters are ignored.

init Optional
A `web.USVString` instance, a `web.url.URLSearchParams` instance, a sequence of `web.USVString`s, or a record containing `web.USVString`s. Note that using a URLSearchParams instance is deprecated; soon browsers will just use a USVString for the init.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams`
sourceraw docstring

deletecljs

(delete this name)

Method.

The delete() method of the web.url.URLSearchParams interface the given search parameter and all its associated values, from list of all search parameters.

URLSearchParams.delete(name)

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/delete

Method.

The delete() method of the `web.url.URLSearchParams` interface
the given search parameter and all its associated values, from
list of all search parameters.

`URLSearchParams.delete(name)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/delete`
sourceraw docstring

entriescljs

(entries this)

Method.

The entries() method of the web.url.URLSearchParams interface an iterator allowing iteration through all key/value pairs in this object. The key and value of each pair are web.USVString

searchParams.entries();

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/entries

Method.

The entries() method of the `web.url.URLSearchParams` interface
an `iterator` allowing iteration through all key/value pairs
in this object. The key and value of each pair are `web.USVString`

`searchParams.entries();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/entries`
sourceraw docstring

for-eachcljs

(for-each this callback)

Method.

The forEach() method of the web.url.URLSearchParams interface iteration through all values contained in this object via a callback

searchParams.forEach(callback);

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/forEach

Method.

The forEach() method of the `web.url.URLSearchParams` interface
iteration through all values contained in this object via a callback

`searchParams.forEach(callback);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/forEach`
sourceraw docstring

getcljs

(get this name)

Method.

The get() method of the web.url.URLSearchParams interface returns first value associated to the given search parameter.

URLSearchParams.get(name)

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/get

Method.

The get() method of the `web.url.URLSearchParams` interface returns
first value associated to the given search parameter.

`URLSearchParams.get(name)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/get`
sourceraw docstring

get-allcljs

(get-all this name)

Method.

The getAll() method of the web.url.URLSearchParams interface all the values associated with a given search parameter as an

URLSearchParams.getAll(name)

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/getAll

Method.

The getAll() method of the `web.url.URLSearchParams` interface
all the values associated with a given search parameter as an

`URLSearchParams.getAll(name)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/getAll`
sourceraw docstring

hascljs

(has this name)

Method.

The has() method of the web.url.URLSearchParams interface returns js.Boolean that indicates whether a parameter with the specified exists.

var hasName = URLSearchParams.has(name)

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/has

Method.

The has() method of the `web.url.URLSearchParams` interface returns
`js.Boolean` that indicates whether a parameter with the specified
exists.

`var hasName = URLSearchParams.has(name)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/has`
sourceraw docstring

keyscljs

(keys this)

Method.

The keys() method of the web.url.URLSearchParams interface an iterator allowing iteration through all keys contained in object. The keys are web.USVString objects.

searchParams.keys();

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/keys

Method.

The keys() method of the `web.url.URLSearchParams` interface
an `iterator` allowing iteration through all keys contained in
object. The keys are `web.USVString` objects.

`searchParams.keys();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/keys`
sourceraw docstring

setcljs

(set this name value)

Method.

The set() method of the web.url.URLSearchParams interface sets value associated with a given search parameter to the given value. there were several matching values, this method deletes the others. the search parameter doesn't exist, this method creates it.

URLSearchParams.set(name, value)

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/set

Method.

The set() method of the `web.url.URLSearchParams` interface sets
value associated with a given search parameter to the given value.
there were several matching values, this method deletes the others.
the search parameter doesn't exist, this method creates it.

`URLSearchParams.set(name, value)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/set`
sourceraw docstring

sortcljs

(sort this)

Method.

The URLSearchParams.sort() method sorts all key/value pairs contained this object in place and returns undefined. The sort order is to unicode code points of the keys. This method uses a stable algorithm (i.e. the relative order between key/value pairs with keys will be preserved).

searchParams.sort();

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/sort

Method.

The URLSearchParams.sort() method sorts all key/value pairs contained
this object in place and returns undefined. The sort order is
to unicode code points of the keys. This method uses a stable
algorithm (i.e. the relative order between key/value pairs with
keys will be preserved).

`searchParams.sort();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/sort`
sourceraw docstring

to-stringcljs

(to-string this)

Method.

The toString() method of the web.url.URLSearchParams interface a query string suitable for use in a URL.

URLSearchParams.toString()

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/toString

Method.

The toString() method of the `web.url.URLSearchParams` interface
a query string suitable for use in a URL.

`URLSearchParams.toString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/toString`
sourceraw docstring

valuescljs

(values this)

Method.

The values() method of the URLsearchParams interface returns iterator allowing iteration through all values contained in object. The values are web.USVString objects.

searchParams.values();

See also: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/values

Method.

The values() method of the `URLsearchParams` interface returns
`iterator` allowing iteration through all values contained in
object. The values are `web.USVString` objects.

`searchParams.values();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/values`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close