Lines Matching refs:URLSearchParams
8 …URL** object, where you can call APIs to parse and change the URL. **URLSearchParams**: provides A…
36 ├── Class: URLSearchParams # URLSearchParams…
37 │ ├── new URLSearchParams() # Used to create …
38 │ ├── new URLSearchParams(string) # Used to create …
39 │ ├── new URLSearchParams(obj) # Used to create …
40 │ ├── new URLSearchParams(iterable) # Used to create …
53 …Symbol.iterator]() # Used to create a URLSearchParams object
100 | new URLSearchParams() | No-argument constructor that creates a **URLSearchParams** object. The qu…
101 | new URLSearchParams(string) | Constructor that creates a **URLSearchParams** object with the stri…
102 | new URLSearchParams(obj) | Constructor that creates a **URLSearchParams** object with the object …
103 | new URLSearchParams(iterable) | Constructor that creates a **URLSearchParams** object with the it…
104 | has(name: string): boolean | Checks whether a key in this **URLSearchParams** object has a value.…
105 | set(name: string, value string): void | Sets the value for a key in this **URLSearchParams** obj…
106 | sort(): void | Sorts all key-value pairs in this **URLSearchParams** object based on the Unicode …
107 … string | Obtains strings that can be used for URL query based on this **URLSearchParams** object.|
108 … an iterator that contains the keys of all the key-value pairs in this **URLSearchParams** object.|
109 …n iterator that contains the values of all the key-value pairs in this **URLSearchParams** object.|
110 | append(name: string, value: string): void | Appends a key-value pair into this **URLSearchParams*…
111 …string): void | Deletes key-value pairs of the specified key from this **URLSearchParams** object.|
112 …s the value of the first key-value pair with the specified key in this **URLSearchParams** object.|
113 …ing[] | Obtains all the key-value pairs with the specified key in this **URLSearchParams** object.|
114 …]> | Obtains an iterator that contains all the key-value pairs of this **URLSearchParams** object.|
115 | forEach(): void | Traverses the key-value pairs in this **URLSearchParams** object by using a cal…
173 4. new URLSearchParams()
175 let params = new URLSearchParams('foo=1&bar=2');
177 5. new URLSearchParams(string)
179 params = new URLSearchParams('user=abc&query=xyz');
183 6. new URLSearchParams(obj)
185 const params = new URLSearchParams({
192 7. new URLSearchParams(iterable)
197 params = new URLSearchParams([
265 const params = new URLSearchParams('foo=bar&xyz=baz');