The URLSearchParams interface defines utility methods to work with the query string of a URL.
Appends a specified key/value pair as a new search parameter.
Deletes the given search parameter, and its associated value, from the list of all search parameters.
Returns the first value associated to the given search parameter.
Returns all the values association with a given search parameter.
Returns a Boolean indicating if such a search parameter exists.
Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
Sorts all key/value pairs, if any, by their keys.
Returns a string containing a query string suitable for use in a URL. Does not include the question mark.
Generated using TypeDoc