@capgo/inappbrowser 7.0.0 → 7.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapgoInappbrowser.podspec +1 -1
- package/README.md +448 -54
- package/android/build.gradle +15 -13
- package/android/src/main/AndroidManifest.xml +2 -1
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/InAppBrowserPlugin.java +530 -35
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/Options.java +251 -0
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewCallbacks.java +4 -0
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewDialog.java +904 -20
- package/android/src/main/res/drawable/ic_refresh.xml +9 -0
- package/android/src/main/res/layout/tool_bar.xml +25 -3
- package/android/src/main/res/values/strings.xml +2 -0
- package/dist/docs.json +1365 -67
- package/dist/esm/definitions.d.ts +218 -9
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +10 -2
- package/dist/esm/web.js +26 -2
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +26 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +26 -2
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/InAppBrowserPlugin.m +5 -1
- package/ios/Plugin/InAppBrowserPlugin.swift +247 -12
- package/ios/Plugin/WKWebViewController.swift +303 -55
- package/package.json +26 -27
package/dist/docs.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"methods": [
|
|
8
8
|
{
|
|
9
9
|
"name": "open",
|
|
10
|
-
"signature": "(options: OpenOptions) => any",
|
|
10
|
+
"signature": "(options: OpenOptions) => Promise<any>",
|
|
11
11
|
"parameters": [
|
|
12
12
|
{
|
|
13
13
|
"name": "options",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"type": "OpenOptions"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"returns": "any",
|
|
18
|
+
"returns": "Promise<any>",
|
|
19
19
|
"tags": [
|
|
20
20
|
{
|
|
21
21
|
"name": "since",
|
|
@@ -30,32 +30,98 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "clearCookies",
|
|
33
|
-
"signature": "() => any",
|
|
34
|
-
"parameters": [
|
|
35
|
-
|
|
33
|
+
"signature": "(options: ClearCookieOptions) => Promise<any>",
|
|
34
|
+
"parameters": [
|
|
35
|
+
{
|
|
36
|
+
"name": "options",
|
|
37
|
+
"docs": "",
|
|
38
|
+
"type": "ClearCookieOptions"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"returns": "Promise<any>",
|
|
36
42
|
"tags": [
|
|
37
43
|
{
|
|
38
44
|
"name": "since",
|
|
39
45
|
"text": "0.5.0"
|
|
40
46
|
}
|
|
41
47
|
],
|
|
48
|
+
"docs": "Clear cookies of url",
|
|
49
|
+
"complexTypes": [
|
|
50
|
+
"ClearCookieOptions"
|
|
51
|
+
],
|
|
52
|
+
"slug": "clearcookies"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "clearAllCookies",
|
|
56
|
+
"signature": "() => Promise<any>",
|
|
57
|
+
"parameters": [],
|
|
58
|
+
"returns": "Promise<any>",
|
|
59
|
+
"tags": [
|
|
60
|
+
{
|
|
61
|
+
"name": "since",
|
|
62
|
+
"text": "6.5.0"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
42
65
|
"docs": "Clear all cookies",
|
|
43
66
|
"complexTypes": [],
|
|
44
|
-
"slug": "
|
|
67
|
+
"slug": "clearallcookies"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "clearCache",
|
|
71
|
+
"signature": "() => Promise<any>",
|
|
72
|
+
"parameters": [],
|
|
73
|
+
"returns": "Promise<any>",
|
|
74
|
+
"tags": [
|
|
75
|
+
{
|
|
76
|
+
"name": "since",
|
|
77
|
+
"text": "6.5.0"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"docs": "Clear cache",
|
|
81
|
+
"complexTypes": [],
|
|
82
|
+
"slug": "clearcache"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "getCookies",
|
|
86
|
+
"signature": "(options: GetCookieOptions) => Promise<Record<string, string>>",
|
|
87
|
+
"parameters": [
|
|
88
|
+
{
|
|
89
|
+
"name": "options",
|
|
90
|
+
"docs": "The options, including the URL to get cookies for.",
|
|
91
|
+
"type": "GetCookieOptions"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"returns": "Promise<Record<string, string>>",
|
|
95
|
+
"tags": [
|
|
96
|
+
{
|
|
97
|
+
"name": "param",
|
|
98
|
+
"text": "options The options, including the URL to get cookies for."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "returns",
|
|
102
|
+
"text": "A promise that resolves with the cookies."
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"docs": "Get cookies for a specific URL.",
|
|
106
|
+
"complexTypes": [
|
|
107
|
+
"Record",
|
|
108
|
+
"GetCookieOptions"
|
|
109
|
+
],
|
|
110
|
+
"slug": "getcookies"
|
|
45
111
|
},
|
|
46
112
|
{
|
|
47
113
|
"name": "close",
|
|
48
|
-
"signature": "() => any",
|
|
114
|
+
"signature": "() => Promise<any>",
|
|
49
115
|
"parameters": [],
|
|
50
|
-
"returns": "any",
|
|
116
|
+
"returns": "Promise<any>",
|
|
51
117
|
"tags": [],
|
|
52
|
-
"docs": "",
|
|
118
|
+
"docs": "Close the webview.",
|
|
53
119
|
"complexTypes": [],
|
|
54
120
|
"slug": "close"
|
|
55
121
|
},
|
|
56
122
|
{
|
|
57
123
|
"name": "openWebView",
|
|
58
|
-
"signature": "(options: OpenWebViewOptions) => any",
|
|
124
|
+
"signature": "(options: OpenWebViewOptions) => Promise<any>",
|
|
59
125
|
"parameters": [
|
|
60
126
|
{
|
|
61
127
|
"name": "options",
|
|
@@ -63,22 +129,56 @@
|
|
|
63
129
|
"type": "OpenWebViewOptions"
|
|
64
130
|
}
|
|
65
131
|
],
|
|
66
|
-
"returns": "any",
|
|
132
|
+
"returns": "Promise<any>",
|
|
67
133
|
"tags": [
|
|
68
134
|
{
|
|
69
135
|
"name": "since",
|
|
70
136
|
"text": "0.1.0"
|
|
71
137
|
}
|
|
72
138
|
],
|
|
73
|
-
"docs": "Open url in a new webview with toolbars",
|
|
139
|
+
"docs": "Open url in a new webview with toolbars, and enhanced capabilities, like camera access, file access, listen events, inject javascript, bi directional communication, etc.",
|
|
74
140
|
"complexTypes": [
|
|
75
141
|
"OpenWebViewOptions"
|
|
76
142
|
],
|
|
77
143
|
"slug": "openwebview"
|
|
78
144
|
},
|
|
145
|
+
{
|
|
146
|
+
"name": "executeScript",
|
|
147
|
+
"signature": "({ code }: { code: string; }) => Promise<void>",
|
|
148
|
+
"parameters": [
|
|
149
|
+
{
|
|
150
|
+
"name": "__0",
|
|
151
|
+
"docs": "",
|
|
152
|
+
"type": "{ code: string; }"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"returns": "Promise<void>",
|
|
156
|
+
"tags": [],
|
|
157
|
+
"docs": "Injects JavaScript code into the InAppBrowser window.",
|
|
158
|
+
"complexTypes": [],
|
|
159
|
+
"slug": "executescript"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "postMessage",
|
|
163
|
+
"signature": "(options: { detail: Record<string, any>; }) => Promise<void>",
|
|
164
|
+
"parameters": [
|
|
165
|
+
{
|
|
166
|
+
"name": "options",
|
|
167
|
+
"docs": "",
|
|
168
|
+
"type": "{ detail: Record<string, any>; }"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"returns": "Promise<void>",
|
|
172
|
+
"tags": [],
|
|
173
|
+
"docs": "Sends an event to the webview. you can listen to this event with addListener(\"messageFromWebview\", listenerFunc: (event: Record<string, any>) => void)\ndetail is the data you want to send to the webview, it's a requirement of Capacitor we cannot send direct objects\nYour object has to be serializable to JSON, so no functions or other non-JSON-serializable types are allowed.",
|
|
174
|
+
"complexTypes": [
|
|
175
|
+
"Record"
|
|
176
|
+
],
|
|
177
|
+
"slug": "postmessage"
|
|
178
|
+
},
|
|
79
179
|
{
|
|
80
180
|
"name": "setUrl",
|
|
81
|
-
"signature": "(options: { url: string; }) => any",
|
|
181
|
+
"signature": "(options: { url: string; }) => Promise<any>",
|
|
82
182
|
"parameters": [
|
|
83
183
|
{
|
|
84
184
|
"name": "options",
|
|
@@ -86,15 +186,15 @@
|
|
|
86
186
|
"type": "{ url: string; }"
|
|
87
187
|
}
|
|
88
188
|
],
|
|
89
|
-
"returns": "any",
|
|
189
|
+
"returns": "Promise<any>",
|
|
90
190
|
"tags": [],
|
|
91
|
-
"docs": "",
|
|
191
|
+
"docs": "Sets the URL of the webview.",
|
|
92
192
|
"complexTypes": [],
|
|
93
193
|
"slug": "seturl"
|
|
94
194
|
},
|
|
95
195
|
{
|
|
96
196
|
"name": "addListener",
|
|
97
|
-
"signature": "(eventName: \"urlChangeEvent\", listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>
|
|
197
|
+
"signature": "(eventName: \"urlChangeEvent\", listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>",
|
|
98
198
|
"parameters": [
|
|
99
199
|
{
|
|
100
200
|
"name": "eventName",
|
|
@@ -107,23 +207,47 @@
|
|
|
107
207
|
"type": "UrlChangeListener"
|
|
108
208
|
}
|
|
109
209
|
],
|
|
110
|
-
"returns": "
|
|
210
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
111
211
|
"tags": [
|
|
112
212
|
{
|
|
113
213
|
"name": "since",
|
|
114
214
|
"text": "0.0.1"
|
|
115
215
|
}
|
|
116
216
|
],
|
|
117
|
-
"docs": "Listen for url change",
|
|
217
|
+
"docs": "Listen for url change, only for openWebView",
|
|
118
218
|
"complexTypes": [
|
|
119
|
-
"
|
|
120
|
-
"
|
|
219
|
+
"PluginListenerHandle",
|
|
220
|
+
"UrlChangeListener"
|
|
221
|
+
],
|
|
222
|
+
"slug": "addlistenerurlchangeevent-"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "addListener",
|
|
226
|
+
"signature": "(eventName: \"buttonNearDoneClick\", listenerFunc: ButtonNearListener) => Promise<PluginListenerHandle>",
|
|
227
|
+
"parameters": [
|
|
228
|
+
{
|
|
229
|
+
"name": "eventName",
|
|
230
|
+
"docs": "",
|
|
231
|
+
"type": "'buttonNearDoneClick'"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "listenerFunc",
|
|
235
|
+
"docs": "",
|
|
236
|
+
"type": "ButtonNearListener"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
240
|
+
"tags": [],
|
|
241
|
+
"docs": "",
|
|
242
|
+
"complexTypes": [
|
|
243
|
+
"PluginListenerHandle",
|
|
244
|
+
"ButtonNearListener"
|
|
121
245
|
],
|
|
122
|
-
"slug": "
|
|
246
|
+
"slug": "addlistenerbuttonneardoneclick-"
|
|
123
247
|
},
|
|
124
248
|
{
|
|
125
249
|
"name": "addListener",
|
|
126
|
-
"signature": "(eventName: \"closeEvent\", listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>
|
|
250
|
+
"signature": "(eventName: \"closeEvent\", listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>",
|
|
127
251
|
"parameters": [
|
|
128
252
|
{
|
|
129
253
|
"name": "eventName",
|
|
@@ -136,23 +260,23 @@
|
|
|
136
260
|
"type": "UrlChangeListener"
|
|
137
261
|
}
|
|
138
262
|
],
|
|
139
|
-
"returns": "
|
|
263
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
140
264
|
"tags": [
|
|
141
265
|
{
|
|
142
266
|
"name": "since",
|
|
143
267
|
"text": "0.4.0"
|
|
144
268
|
}
|
|
145
269
|
],
|
|
146
|
-
"docs": "Listen for close click",
|
|
270
|
+
"docs": "Listen for close click only for openWebView",
|
|
147
271
|
"complexTypes": [
|
|
148
|
-
"
|
|
149
|
-
"
|
|
272
|
+
"PluginListenerHandle",
|
|
273
|
+
"UrlChangeListener"
|
|
150
274
|
],
|
|
151
|
-
"slug": "addlistenercloseevent"
|
|
275
|
+
"slug": "addlistenercloseevent-"
|
|
152
276
|
},
|
|
153
277
|
{
|
|
154
278
|
"name": "addListener",
|
|
155
|
-
"signature": "(eventName: \"confirmBtnClicked\", listenerFunc: ConfirmBtnListener) => Promise<PluginListenerHandle>
|
|
279
|
+
"signature": "(eventName: \"confirmBtnClicked\", listenerFunc: ConfirmBtnListener) => Promise<PluginListenerHandle>",
|
|
156
280
|
"parameters": [
|
|
157
281
|
{
|
|
158
282
|
"name": "eventName",
|
|
@@ -165,7 +289,7 @@
|
|
|
165
289
|
"type": "ConfirmBtnListener"
|
|
166
290
|
}
|
|
167
291
|
],
|
|
168
|
-
"returns": "
|
|
292
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
169
293
|
"tags": [
|
|
170
294
|
{
|
|
171
295
|
"name": "since",
|
|
@@ -174,16 +298,86 @@
|
|
|
174
298
|
],
|
|
175
299
|
"docs": "Will be triggered when user clicks on confirm button when disclaimer is required, works only on iOS",
|
|
176
300
|
"complexTypes": [
|
|
177
|
-
"
|
|
301
|
+
"PluginListenerHandle",
|
|
302
|
+
"ConfirmBtnListener"
|
|
303
|
+
],
|
|
304
|
+
"slug": "addlistenerconfirmbtnclicked-"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "addListener",
|
|
308
|
+
"signature": "(eventName: \"messageFromWebview\", listenerFunc: (event: { detail: Record<string, any>; }) => void) => Promise<PluginListenerHandle>",
|
|
309
|
+
"parameters": [
|
|
310
|
+
{
|
|
311
|
+
"name": "eventName",
|
|
312
|
+
"docs": "",
|
|
313
|
+
"type": "'messageFromWebview'"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "listenerFunc",
|
|
317
|
+
"docs": "",
|
|
318
|
+
"type": "(event: { detail: Record<string, any>; }) => void"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
322
|
+
"tags": [],
|
|
323
|
+
"docs": "Will be triggered when event is sent from webview, to send an event to the webview use window.mobileApp.postMessage({ \"detail\": { \"message\": \"myMessage\" } })\ndetail is the data you want to send to the webview, it's a requirement of Capacitor we cannot send direct objects\nYour object has to be serializable to JSON, so no functions or other non-JSON-serializable types are allowed.\n\nThis method is inject at runtime in the webview",
|
|
324
|
+
"complexTypes": [
|
|
325
|
+
"PluginListenerHandle",
|
|
326
|
+
"Record"
|
|
327
|
+
],
|
|
328
|
+
"slug": "addlistenermessagefromwebview-"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "addListener",
|
|
332
|
+
"signature": "(eventName: \"browserPageLoaded\", listenerFunc: () => void) => Promise<PluginListenerHandle>",
|
|
333
|
+
"parameters": [
|
|
334
|
+
{
|
|
335
|
+
"name": "eventName",
|
|
336
|
+
"docs": "",
|
|
337
|
+
"type": "'browserPageLoaded'"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "listenerFunc",
|
|
341
|
+
"docs": "",
|
|
342
|
+
"type": "() => void"
|
|
343
|
+
}
|
|
344
|
+
],
|
|
345
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
346
|
+
"tags": [],
|
|
347
|
+
"docs": "Will be triggered when page is loaded",
|
|
348
|
+
"complexTypes": [
|
|
349
|
+
"PluginListenerHandle"
|
|
350
|
+
],
|
|
351
|
+
"slug": "addlistenerbrowserpageloaded-"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "addListener",
|
|
355
|
+
"signature": "(eventName: \"pageLoadError\", listenerFunc: () => void) => Promise<PluginListenerHandle>",
|
|
356
|
+
"parameters": [
|
|
357
|
+
{
|
|
358
|
+
"name": "eventName",
|
|
359
|
+
"docs": "",
|
|
360
|
+
"type": "'pageLoadError'"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "listenerFunc",
|
|
364
|
+
"docs": "",
|
|
365
|
+
"type": "() => void"
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
369
|
+
"tags": [],
|
|
370
|
+
"docs": "Will be triggered when page load error",
|
|
371
|
+
"complexTypes": [
|
|
178
372
|
"PluginListenerHandle"
|
|
179
373
|
],
|
|
180
|
-
"slug": "
|
|
374
|
+
"slug": "addlistenerpageloaderror-"
|
|
181
375
|
},
|
|
182
376
|
{
|
|
183
377
|
"name": "removeAllListeners",
|
|
184
|
-
"signature": "() =>
|
|
378
|
+
"signature": "() => Promise<void>",
|
|
185
379
|
"parameters": [],
|
|
186
|
-
"returns": "
|
|
380
|
+
"returns": "Promise<void>",
|
|
187
381
|
"tags": [
|
|
188
382
|
{
|
|
189
383
|
"name": "since",
|
|
@@ -193,6 +387,21 @@
|
|
|
193
387
|
"docs": "Remove all listeners for this plugin.",
|
|
194
388
|
"complexTypes": [],
|
|
195
389
|
"slug": "removealllisteners"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "reload",
|
|
393
|
+
"signature": "() => Promise<any>",
|
|
394
|
+
"parameters": [],
|
|
395
|
+
"returns": "Promise<any>",
|
|
396
|
+
"tags": [
|
|
397
|
+
{
|
|
398
|
+
"name": "since",
|
|
399
|
+
"text": "1.0.0"
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"docs": "Reload the current web page.",
|
|
403
|
+
"complexTypes": [],
|
|
404
|
+
"slug": "reload"
|
|
196
405
|
}
|
|
197
406
|
],
|
|
198
407
|
"properties": []
|
|
@@ -231,6 +440,20 @@
|
|
|
231
440
|
],
|
|
232
441
|
"type": "Headers"
|
|
233
442
|
},
|
|
443
|
+
{
|
|
444
|
+
"name": "credentials",
|
|
445
|
+
"tags": [
|
|
446
|
+
{
|
|
447
|
+
"text": "6.1.0",
|
|
448
|
+
"name": "since"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"docs": "Credentials to send with the request and all subsequent requests for the same host.",
|
|
452
|
+
"complexTypes": [
|
|
453
|
+
"Credentials"
|
|
454
|
+
],
|
|
455
|
+
"type": "Credentials"
|
|
456
|
+
},
|
|
234
457
|
{
|
|
235
458
|
"name": "isPresentAfterPageLoad",
|
|
236
459
|
"tags": [
|
|
@@ -260,6 +483,98 @@
|
|
|
260
483
|
"methods": [],
|
|
261
484
|
"properties": []
|
|
262
485
|
},
|
|
486
|
+
{
|
|
487
|
+
"name": "Credentials",
|
|
488
|
+
"slug": "credentials",
|
|
489
|
+
"docs": "",
|
|
490
|
+
"tags": [],
|
|
491
|
+
"methods": [],
|
|
492
|
+
"properties": [
|
|
493
|
+
{
|
|
494
|
+
"name": "username",
|
|
495
|
+
"tags": [],
|
|
496
|
+
"docs": "",
|
|
497
|
+
"complexTypes": [],
|
|
498
|
+
"type": "string"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "password",
|
|
502
|
+
"tags": [],
|
|
503
|
+
"docs": "",
|
|
504
|
+
"complexTypes": [],
|
|
505
|
+
"type": "string"
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "ClearCookieOptions",
|
|
511
|
+
"slug": "clearcookieoptions",
|
|
512
|
+
"docs": "",
|
|
513
|
+
"tags": [],
|
|
514
|
+
"methods": [],
|
|
515
|
+
"properties": [
|
|
516
|
+
{
|
|
517
|
+
"name": "url",
|
|
518
|
+
"tags": [],
|
|
519
|
+
"docs": "",
|
|
520
|
+
"complexTypes": [],
|
|
521
|
+
"type": "string"
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "HttpCookie",
|
|
527
|
+
"slug": "httpcookie",
|
|
528
|
+
"docs": "",
|
|
529
|
+
"tags": [],
|
|
530
|
+
"methods": [],
|
|
531
|
+
"properties": [
|
|
532
|
+
{
|
|
533
|
+
"name": "url",
|
|
534
|
+
"tags": [],
|
|
535
|
+
"docs": "The URL of the cookie.",
|
|
536
|
+
"complexTypes": [],
|
|
537
|
+
"type": "string | undefined"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "key",
|
|
541
|
+
"tags": [],
|
|
542
|
+
"docs": "The key of the cookie.",
|
|
543
|
+
"complexTypes": [],
|
|
544
|
+
"type": "string"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "value",
|
|
548
|
+
"tags": [],
|
|
549
|
+
"docs": "The value of the cookie.",
|
|
550
|
+
"complexTypes": [],
|
|
551
|
+
"type": "string"
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "GetCookieOptions",
|
|
557
|
+
"slug": "getcookieoptions",
|
|
558
|
+
"docs": "",
|
|
559
|
+
"tags": [],
|
|
560
|
+
"methods": [],
|
|
561
|
+
"properties": [
|
|
562
|
+
{
|
|
563
|
+
"name": "url",
|
|
564
|
+
"tags": [],
|
|
565
|
+
"docs": "",
|
|
566
|
+
"complexTypes": [],
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "includeHttpOnly",
|
|
571
|
+
"tags": [],
|
|
572
|
+
"docs": "",
|
|
573
|
+
"complexTypes": [],
|
|
574
|
+
"type": "boolean | undefined"
|
|
575
|
+
}
|
|
576
|
+
]
|
|
577
|
+
},
|
|
263
578
|
{
|
|
264
579
|
"name": "OpenWebViewOptions",
|
|
265
580
|
"slug": "openwebviewoptions",
|
|
@@ -293,6 +608,20 @@
|
|
|
293
608
|
],
|
|
294
609
|
"type": "Headers"
|
|
295
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"name": "credentials",
|
|
613
|
+
"tags": [
|
|
614
|
+
{
|
|
615
|
+
"text": "6.1.0",
|
|
616
|
+
"name": "since"
|
|
617
|
+
}
|
|
618
|
+
],
|
|
619
|
+
"docs": "Credentials to send with the request and all subsequent requests for the same host.",
|
|
620
|
+
"complexTypes": [
|
|
621
|
+
"Credentials"
|
|
622
|
+
],
|
|
623
|
+
"type": "Credentials"
|
|
624
|
+
},
|
|
296
625
|
{
|
|
297
626
|
"name": "shareDisclaimer",
|
|
298
627
|
"tags": [
|
|
@@ -351,7 +680,7 @@
|
|
|
351
680
|
],
|
|
352
681
|
"docs": "Title of the browser",
|
|
353
682
|
"complexTypes": [],
|
|
354
|
-
"type": "string"
|
|
683
|
+
"type": "string | undefined"
|
|
355
684
|
},
|
|
356
685
|
{
|
|
357
686
|
"name": "backgroundColor",
|
|
@@ -372,76 +701,926 @@
|
|
|
372
701
|
"type": "BackgroundColor"
|
|
373
702
|
},
|
|
374
703
|
{
|
|
375
|
-
"name": "
|
|
704
|
+
"name": "activeNativeNavigationForWebview",
|
|
376
705
|
"tags": [
|
|
377
|
-
{
|
|
378
|
-
"text": "0.1.0",
|
|
379
|
-
"name": "since"
|
|
380
|
-
},
|
|
381
706
|
{
|
|
382
707
|
"text": "false",
|
|
383
708
|
"name": "default"
|
|
384
709
|
}
|
|
385
710
|
],
|
|
386
|
-
"docs": "
|
|
711
|
+
"docs": "If true, active the native navigation within the webview, Android only",
|
|
387
712
|
"complexTypes": [],
|
|
388
713
|
"type": "boolean | undefined"
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "disableGoBackOnNativeApplication",
|
|
717
|
+
"tags": [
|
|
718
|
+
{
|
|
719
|
+
"text": "false",
|
|
720
|
+
"name": "default"
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"docs": "Disable the possibility to go back on native application,\nusefull to force user to stay on the webview, Android only",
|
|
724
|
+
"complexTypes": [],
|
|
725
|
+
"type": "boolean | undefined"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "isPresentAfterPageLoad",
|
|
729
|
+
"tags": [
|
|
730
|
+
{
|
|
731
|
+
"text": "0.1.0",
|
|
732
|
+
"name": "since"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"text": "false",
|
|
736
|
+
"name": "default"
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"docs": "Open url in a new window fullscreen\n\nisPresentAfterPageLoad: if true, the browser will be presented after the page is loaded, if false, the browser will be presented immediately.",
|
|
740
|
+
"complexTypes": [],
|
|
741
|
+
"type": "boolean | undefined"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"name": "isInspectable",
|
|
745
|
+
"tags": [
|
|
746
|
+
{
|
|
747
|
+
"text": "false",
|
|
748
|
+
"name": "default"
|
|
749
|
+
}
|
|
750
|
+
],
|
|
751
|
+
"docs": "Whether the website in the webview is inspectable or not, ios only",
|
|
752
|
+
"complexTypes": [],
|
|
753
|
+
"type": "boolean | undefined"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "isAnimated",
|
|
757
|
+
"tags": [
|
|
758
|
+
{
|
|
759
|
+
"text": "true",
|
|
760
|
+
"name": "default"
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
"docs": "Whether the webview opening is animated or not, ios only",
|
|
764
|
+
"complexTypes": [],
|
|
765
|
+
"type": "boolean | undefined"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "showReloadButton",
|
|
769
|
+
"tags": [
|
|
770
|
+
{
|
|
771
|
+
"text": "1.0.15",
|
|
772
|
+
"name": "since"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"text": "false",
|
|
776
|
+
"name": "default"
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"docs": "Shows a reload button that reloads the web page",
|
|
780
|
+
"complexTypes": [],
|
|
781
|
+
"type": "boolean | undefined"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "closeModal",
|
|
785
|
+
"tags": [
|
|
786
|
+
{
|
|
787
|
+
"text": "1.1.0",
|
|
788
|
+
"name": "since"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"text": "false",
|
|
792
|
+
"name": "default"
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"docs": "CloseModal: if true a confirm will be displayed when user clicks on close button, if false the browser will be closed immediately.",
|
|
796
|
+
"complexTypes": [],
|
|
797
|
+
"type": "boolean | undefined"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "closeModalTitle",
|
|
801
|
+
"tags": [
|
|
802
|
+
{
|
|
803
|
+
"text": "1.1.0",
|
|
804
|
+
"name": "since"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"text": "'Close'",
|
|
808
|
+
"name": "default"
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"docs": "CloseModalTitle: title of the confirm when user clicks on close button, only on IOS",
|
|
812
|
+
"complexTypes": [],
|
|
813
|
+
"type": "string | undefined"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "closeModalDescription",
|
|
817
|
+
"tags": [
|
|
818
|
+
{
|
|
819
|
+
"text": "1.1.0",
|
|
820
|
+
"name": "since"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"text": "'Are you sure you want to close this window?'",
|
|
824
|
+
"name": "default"
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"docs": "CloseModalDescription: description of the confirm when user clicks on close button, only on IOS",
|
|
828
|
+
"complexTypes": [],
|
|
829
|
+
"type": "string | undefined"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "closeModalOk",
|
|
833
|
+
"tags": [
|
|
834
|
+
{
|
|
835
|
+
"text": "1.1.0",
|
|
836
|
+
"name": "since"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"text": "'Close'",
|
|
840
|
+
"name": "default"
|
|
841
|
+
}
|
|
842
|
+
],
|
|
843
|
+
"docs": "CloseModalOk: text of the confirm button when user clicks on close button, only on IOS",
|
|
844
|
+
"complexTypes": [],
|
|
845
|
+
"type": "string | undefined"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "closeModalCancel",
|
|
849
|
+
"tags": [
|
|
850
|
+
{
|
|
851
|
+
"text": "1.1.0",
|
|
852
|
+
"name": "since"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"text": "'Cancel'",
|
|
856
|
+
"name": "default"
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
"docs": "CloseModalCancel: text of the cancel button when user clicks on close button, only on IOS",
|
|
860
|
+
"complexTypes": [],
|
|
861
|
+
"type": "string | undefined"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "visibleTitle",
|
|
865
|
+
"tags": [
|
|
866
|
+
{
|
|
867
|
+
"text": "1.2.5",
|
|
868
|
+
"name": "since"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"text": "true",
|
|
872
|
+
"name": "default"
|
|
873
|
+
}
|
|
874
|
+
],
|
|
875
|
+
"docs": "visibleTitle: if true the website title would be shown else shown empty",
|
|
876
|
+
"complexTypes": [],
|
|
877
|
+
"type": "boolean | undefined"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "toolbarColor",
|
|
881
|
+
"tags": [
|
|
882
|
+
{
|
|
883
|
+
"text": "1.2.5",
|
|
884
|
+
"name": "since"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"text": "'#ffffff''",
|
|
888
|
+
"name": "default"
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"docs": "toolbarColor: color of the toolbar in hex format",
|
|
892
|
+
"complexTypes": [],
|
|
893
|
+
"type": "string | undefined"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "showArrow",
|
|
897
|
+
"tags": [
|
|
898
|
+
{
|
|
899
|
+
"text": "1.2.5",
|
|
900
|
+
"name": "since"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"text": "false",
|
|
904
|
+
"name": "default"
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
"docs": "showArrow: if true an arrow would be shown instead of cross for closing the window",
|
|
908
|
+
"complexTypes": [],
|
|
909
|
+
"type": "boolean | undefined"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "ignoreUntrustedSSLError",
|
|
913
|
+
"tags": [
|
|
914
|
+
{
|
|
915
|
+
"text": "6.1.0",
|
|
916
|
+
"name": "since"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"text": "false",
|
|
920
|
+
"name": "default"
|
|
921
|
+
}
|
|
922
|
+
],
|
|
923
|
+
"docs": "ignoreUntrustedSSLError: if true, the webview will ignore untrusted SSL errors allowing the user to view the website.",
|
|
924
|
+
"complexTypes": [],
|
|
925
|
+
"type": "boolean | undefined"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "preShowScript",
|
|
929
|
+
"tags": [
|
|
930
|
+
{
|
|
931
|
+
"text": "6.6.0",
|
|
932
|
+
"name": "since"
|
|
933
|
+
}
|
|
934
|
+
],
|
|
935
|
+
"docs": "preShowScript: if isPresentAfterPageLoad is true and this variable is set the plugin will inject a script before showing the browser.\nThis script will be run in an async context. The plugin will wait for the script to finish (max 10 seconds)",
|
|
936
|
+
"complexTypes": [
|
|
937
|
+
"String"
|
|
938
|
+
],
|
|
939
|
+
"type": "String"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "proxyRequests",
|
|
943
|
+
"tags": [
|
|
944
|
+
{
|
|
945
|
+
"text": "6.9.0",
|
|
946
|
+
"name": "since"
|
|
947
|
+
}
|
|
948
|
+
],
|
|
949
|
+
"docs": "proxyRequests is a regex expression. Please see [this pr](https://github.com/Cap-go/capacitor-inappbrowser/pull/222) for more info. (Android only)",
|
|
950
|
+
"complexTypes": [
|
|
951
|
+
"String"
|
|
952
|
+
],
|
|
953
|
+
"type": "String"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "buttonNearDone",
|
|
957
|
+
"tags": [
|
|
958
|
+
{
|
|
959
|
+
"text": "6.7.0",
|
|
960
|
+
"name": "since"
|
|
961
|
+
}
|
|
962
|
+
],
|
|
963
|
+
"docs": "buttonNearDone allows for a creation of a custom button. Please see [buttonNearDone.md](/buttonNearDone.md) for more info.",
|
|
964
|
+
"complexTypes": [
|
|
965
|
+
"String"
|
|
966
|
+
],
|
|
967
|
+
"type": "{ ios: { iconType: 'sf-symbol' | 'asset'; icon: String; }; android: { iconType: 'asset'; icon: String; width?: number | undefined; height?: number | undefined; }; } | undefined"
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "DisclaimerOptions",
|
|
973
|
+
"slug": "disclaimeroptions",
|
|
974
|
+
"docs": "",
|
|
975
|
+
"tags": [],
|
|
976
|
+
"methods": [],
|
|
977
|
+
"properties": [
|
|
399
978
|
{
|
|
400
979
|
"name": "title",
|
|
401
980
|
"tags": [],
|
|
402
981
|
"docs": "",
|
|
403
982
|
"complexTypes": [],
|
|
404
|
-
"type": "string"
|
|
983
|
+
"type": "string"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "message",
|
|
987
|
+
"tags": [],
|
|
988
|
+
"docs": "",
|
|
989
|
+
"complexTypes": [],
|
|
990
|
+
"type": "string"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "confirmBtn",
|
|
994
|
+
"tags": [],
|
|
995
|
+
"docs": "",
|
|
996
|
+
"complexTypes": [],
|
|
997
|
+
"type": "string"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "cancelBtn",
|
|
1001
|
+
"tags": [],
|
|
1002
|
+
"docs": "",
|
|
1003
|
+
"complexTypes": [],
|
|
1004
|
+
"type": "string"
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "String",
|
|
1010
|
+
"slug": "string",
|
|
1011
|
+
"docs": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
|
|
1012
|
+
"tags": [],
|
|
1013
|
+
"methods": [
|
|
1014
|
+
{
|
|
1015
|
+
"name": "toString",
|
|
1016
|
+
"signature": "() => string",
|
|
1017
|
+
"parameters": [],
|
|
1018
|
+
"returns": "string",
|
|
1019
|
+
"tags": [],
|
|
1020
|
+
"docs": "Returns a string representation of a string.",
|
|
1021
|
+
"complexTypes": [],
|
|
1022
|
+
"slug": "tostring"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"name": "charAt",
|
|
1026
|
+
"signature": "(pos: number) => string",
|
|
1027
|
+
"parameters": [
|
|
1028
|
+
{
|
|
1029
|
+
"name": "pos",
|
|
1030
|
+
"docs": "The zero-based index of the desired character.",
|
|
1031
|
+
"type": "number"
|
|
1032
|
+
}
|
|
1033
|
+
],
|
|
1034
|
+
"returns": "string",
|
|
1035
|
+
"tags": [
|
|
1036
|
+
{
|
|
1037
|
+
"name": "param",
|
|
1038
|
+
"text": "pos The zero-based index of the desired character."
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"docs": "Returns the character at the specified index.",
|
|
1042
|
+
"complexTypes": [],
|
|
1043
|
+
"slug": "charat"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "charCodeAt",
|
|
1047
|
+
"signature": "(index: number) => number",
|
|
1048
|
+
"parameters": [
|
|
1049
|
+
{
|
|
1050
|
+
"name": "index",
|
|
1051
|
+
"docs": "The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",
|
|
1052
|
+
"type": "number"
|
|
1053
|
+
}
|
|
1054
|
+
],
|
|
1055
|
+
"returns": "number",
|
|
1056
|
+
"tags": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "param",
|
|
1059
|
+
"text": "index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned."
|
|
1060
|
+
}
|
|
1061
|
+
],
|
|
1062
|
+
"docs": "Returns the Unicode value of the character at the specified location.",
|
|
1063
|
+
"complexTypes": [],
|
|
1064
|
+
"slug": "charcodeat"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "concat",
|
|
1068
|
+
"signature": "(...strings: string[]) => string",
|
|
1069
|
+
"parameters": [
|
|
1070
|
+
{
|
|
1071
|
+
"name": "strings",
|
|
1072
|
+
"docs": "The strings to append to the end of the string.",
|
|
1073
|
+
"type": "string[]"
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
"returns": "string",
|
|
1077
|
+
"tags": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "param",
|
|
1080
|
+
"text": "strings The strings to append to the end of the string."
|
|
1081
|
+
}
|
|
1082
|
+
],
|
|
1083
|
+
"docs": "Returns a string that contains the concatenation of two or more strings.",
|
|
1084
|
+
"complexTypes": [],
|
|
1085
|
+
"slug": "concat"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "indexOf",
|
|
1089
|
+
"signature": "(searchString: string, position?: number | undefined) => number",
|
|
1090
|
+
"parameters": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "searchString",
|
|
1093
|
+
"docs": "The substring to search for in the string",
|
|
1094
|
+
"type": "string"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "position",
|
|
1098
|
+
"docs": "The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",
|
|
1099
|
+
"type": "number | undefined"
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"returns": "number",
|
|
1103
|
+
"tags": [
|
|
1104
|
+
{
|
|
1105
|
+
"name": "param",
|
|
1106
|
+
"text": "searchString The substring to search for in the string"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "param",
|
|
1110
|
+
"text": "position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string."
|
|
1111
|
+
}
|
|
1112
|
+
],
|
|
1113
|
+
"docs": "Returns the position of the first occurrence of a substring.",
|
|
1114
|
+
"complexTypes": [],
|
|
1115
|
+
"slug": "indexof"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "lastIndexOf",
|
|
1119
|
+
"signature": "(searchString: string, position?: number | undefined) => number",
|
|
1120
|
+
"parameters": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "searchString",
|
|
1123
|
+
"docs": "The substring to search for.",
|
|
1124
|
+
"type": "string"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"name": "position",
|
|
1128
|
+
"docs": "The index at which to begin searching. If omitted, the search begins at the end of the string.",
|
|
1129
|
+
"type": "number | undefined"
|
|
1130
|
+
}
|
|
1131
|
+
],
|
|
1132
|
+
"returns": "number",
|
|
1133
|
+
"tags": [
|
|
1134
|
+
{
|
|
1135
|
+
"name": "param",
|
|
1136
|
+
"text": "searchString The substring to search for."
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"name": "param",
|
|
1140
|
+
"text": "position The index at which to begin searching. If omitted, the search begins at the end of the string."
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"docs": "Returns the last occurrence of a substring in the string.",
|
|
1144
|
+
"complexTypes": [],
|
|
1145
|
+
"slug": "lastindexof"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "localeCompare",
|
|
1149
|
+
"signature": "(that: string) => number",
|
|
1150
|
+
"parameters": [
|
|
1151
|
+
{
|
|
1152
|
+
"name": "that",
|
|
1153
|
+
"docs": "String to compare to target string",
|
|
1154
|
+
"type": "string"
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"returns": "number",
|
|
1158
|
+
"tags": [
|
|
1159
|
+
{
|
|
1160
|
+
"name": "param",
|
|
1161
|
+
"text": "that String to compare to target string"
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
"docs": "Determines whether two strings are equivalent in the current locale.",
|
|
1165
|
+
"complexTypes": [],
|
|
1166
|
+
"slug": "localecompare"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "match",
|
|
1170
|
+
"signature": "(regexp: string | RegExp) => RegExpMatchArray | null",
|
|
1171
|
+
"parameters": [
|
|
1172
|
+
{
|
|
1173
|
+
"name": "regexp",
|
|
1174
|
+
"docs": "A variable name or string literal containing the regular expression pattern and flags.",
|
|
1175
|
+
"type": "string | RegExp"
|
|
1176
|
+
}
|
|
1177
|
+
],
|
|
1178
|
+
"returns": "RegExpMatchArray | null",
|
|
1179
|
+
"tags": [
|
|
1180
|
+
{
|
|
1181
|
+
"name": "param",
|
|
1182
|
+
"text": "regexp A variable name or string literal containing the regular expression pattern and flags."
|
|
1183
|
+
}
|
|
1184
|
+
],
|
|
1185
|
+
"docs": "Matches a string with a regular expression, and returns an array containing the results of that search.",
|
|
1186
|
+
"complexTypes": [
|
|
1187
|
+
"RegExpMatchArray",
|
|
1188
|
+
"RegExp"
|
|
1189
|
+
],
|
|
1190
|
+
"slug": "match"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"name": "replace",
|
|
1194
|
+
"signature": "(searchValue: string | RegExp, replaceValue: string) => string",
|
|
1195
|
+
"parameters": [
|
|
1196
|
+
{
|
|
1197
|
+
"name": "searchValue",
|
|
1198
|
+
"docs": "A string to search for.",
|
|
1199
|
+
"type": "string | RegExp"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"name": "replaceValue",
|
|
1203
|
+
"docs": "A string containing the text to replace for every successful match of searchValue in this string.",
|
|
1204
|
+
"type": "string"
|
|
1205
|
+
}
|
|
1206
|
+
],
|
|
1207
|
+
"returns": "string",
|
|
1208
|
+
"tags": [
|
|
1209
|
+
{
|
|
1210
|
+
"name": "param",
|
|
1211
|
+
"text": "searchValue A string to search for."
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "param",
|
|
1215
|
+
"text": "replaceValue A string containing the text to replace for every successful match of searchValue in this string."
|
|
1216
|
+
}
|
|
1217
|
+
],
|
|
1218
|
+
"docs": "Replaces text in a string, using a regular expression or search string.",
|
|
1219
|
+
"complexTypes": [
|
|
1220
|
+
"RegExp"
|
|
1221
|
+
],
|
|
1222
|
+
"slug": "replace"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"name": "replace",
|
|
1226
|
+
"signature": "(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string) => string",
|
|
1227
|
+
"parameters": [
|
|
1228
|
+
{
|
|
1229
|
+
"name": "searchValue",
|
|
1230
|
+
"docs": "A string to search for.",
|
|
1231
|
+
"type": "string | RegExp"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "replacer",
|
|
1235
|
+
"docs": "A function that returns the replacement text.",
|
|
1236
|
+
"type": "(substring: string, ...args: any[]) => string"
|
|
1237
|
+
}
|
|
1238
|
+
],
|
|
1239
|
+
"returns": "string",
|
|
1240
|
+
"tags": [
|
|
1241
|
+
{
|
|
1242
|
+
"name": "param",
|
|
1243
|
+
"text": "searchValue A string to search for."
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "param",
|
|
1247
|
+
"text": "replacer A function that returns the replacement text."
|
|
1248
|
+
}
|
|
1249
|
+
],
|
|
1250
|
+
"docs": "Replaces text in a string, using a regular expression or search string.",
|
|
1251
|
+
"complexTypes": [
|
|
1252
|
+
"RegExp"
|
|
1253
|
+
],
|
|
1254
|
+
"slug": "replace"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"name": "search",
|
|
1258
|
+
"signature": "(regexp: string | RegExp) => number",
|
|
1259
|
+
"parameters": [
|
|
1260
|
+
{
|
|
1261
|
+
"name": "regexp",
|
|
1262
|
+
"docs": "The regular expression pattern and applicable flags.",
|
|
1263
|
+
"type": "string | RegExp"
|
|
1264
|
+
}
|
|
1265
|
+
],
|
|
1266
|
+
"returns": "number",
|
|
1267
|
+
"tags": [
|
|
1268
|
+
{
|
|
1269
|
+
"name": "param",
|
|
1270
|
+
"text": "regexp The regular expression pattern and applicable flags."
|
|
1271
|
+
}
|
|
1272
|
+
],
|
|
1273
|
+
"docs": "Finds the first substring match in a regular expression search.",
|
|
1274
|
+
"complexTypes": [
|
|
1275
|
+
"RegExp"
|
|
1276
|
+
],
|
|
1277
|
+
"slug": "search"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "slice",
|
|
1281
|
+
"signature": "(start?: number | undefined, end?: number | undefined) => string",
|
|
1282
|
+
"parameters": [
|
|
1283
|
+
{
|
|
1284
|
+
"name": "start",
|
|
1285
|
+
"docs": "The index to the beginning of the specified portion of stringObj.",
|
|
1286
|
+
"type": "number | undefined"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "end",
|
|
1290
|
+
"docs": "The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\r\nIf this value is not specified, the substring continues to the end of stringObj.",
|
|
1291
|
+
"type": "number | undefined"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"returns": "string",
|
|
1295
|
+
"tags": [
|
|
1296
|
+
{
|
|
1297
|
+
"name": "param",
|
|
1298
|
+
"text": "start The index to the beginning of the specified portion of stringObj."
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "param",
|
|
1302
|
+
"text": "end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\r\nIf this value is not specified, the substring continues to the end of stringObj."
|
|
1303
|
+
}
|
|
1304
|
+
],
|
|
1305
|
+
"docs": "Returns a section of a string.",
|
|
1306
|
+
"complexTypes": [],
|
|
1307
|
+
"slug": "slice"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "split",
|
|
1311
|
+
"signature": "(separator: string | RegExp, limit?: number | undefined) => string[]",
|
|
1312
|
+
"parameters": [
|
|
1313
|
+
{
|
|
1314
|
+
"name": "separator",
|
|
1315
|
+
"docs": "A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.",
|
|
1316
|
+
"type": "string | RegExp"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"name": "limit",
|
|
1320
|
+
"docs": "A value used to limit the number of elements returned in the array.",
|
|
1321
|
+
"type": "number | undefined"
|
|
1322
|
+
}
|
|
1323
|
+
],
|
|
1324
|
+
"returns": "string[]",
|
|
1325
|
+
"tags": [
|
|
1326
|
+
{
|
|
1327
|
+
"name": "param",
|
|
1328
|
+
"text": "separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned."
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"name": "param",
|
|
1332
|
+
"text": "limit A value used to limit the number of elements returned in the array."
|
|
1333
|
+
}
|
|
1334
|
+
],
|
|
1335
|
+
"docs": "Split a string into substrings using the specified separator and return them as an array.",
|
|
1336
|
+
"complexTypes": [
|
|
1337
|
+
"RegExp"
|
|
1338
|
+
],
|
|
1339
|
+
"slug": "split"
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"name": "substring",
|
|
1343
|
+
"signature": "(start: number, end?: number | undefined) => string",
|
|
1344
|
+
"parameters": [
|
|
1345
|
+
{
|
|
1346
|
+
"name": "start",
|
|
1347
|
+
"docs": "The zero-based index number indicating the beginning of the substring.",
|
|
1348
|
+
"type": "number"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"name": "end",
|
|
1352
|
+
"docs": "Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\r\nIf end is omitted, the characters from start through the end of the original string are returned.",
|
|
1353
|
+
"type": "number | undefined"
|
|
1354
|
+
}
|
|
1355
|
+
],
|
|
1356
|
+
"returns": "string",
|
|
1357
|
+
"tags": [
|
|
1358
|
+
{
|
|
1359
|
+
"name": "param",
|
|
1360
|
+
"text": "start The zero-based index number indicating the beginning of the substring."
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "param",
|
|
1364
|
+
"text": "end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\r\nIf end is omitted, the characters from start through the end of the original string are returned."
|
|
1365
|
+
}
|
|
1366
|
+
],
|
|
1367
|
+
"docs": "Returns the substring at the specified location within a String object.",
|
|
1368
|
+
"complexTypes": [],
|
|
1369
|
+
"slug": "substring"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "toLowerCase",
|
|
1373
|
+
"signature": "() => string",
|
|
1374
|
+
"parameters": [],
|
|
1375
|
+
"returns": "string",
|
|
1376
|
+
"tags": [],
|
|
1377
|
+
"docs": "Converts all the alphabetic characters in a string to lowercase.",
|
|
1378
|
+
"complexTypes": [],
|
|
1379
|
+
"slug": "tolowercase"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"name": "toLocaleLowerCase",
|
|
1383
|
+
"signature": "(locales?: string | string[] | undefined) => string",
|
|
1384
|
+
"parameters": [
|
|
1385
|
+
{
|
|
1386
|
+
"name": "locales",
|
|
1387
|
+
"docs": "",
|
|
1388
|
+
"type": "string | string[] | undefined"
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
"returns": "string",
|
|
1392
|
+
"tags": [],
|
|
1393
|
+
"docs": "Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",
|
|
1394
|
+
"complexTypes": [],
|
|
1395
|
+
"slug": "tolocalelowercase"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"name": "toUpperCase",
|
|
1399
|
+
"signature": "() => string",
|
|
1400
|
+
"parameters": [],
|
|
1401
|
+
"returns": "string",
|
|
1402
|
+
"tags": [],
|
|
1403
|
+
"docs": "Converts all the alphabetic characters in a string to uppercase.",
|
|
1404
|
+
"complexTypes": [],
|
|
1405
|
+
"slug": "touppercase"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "toLocaleUpperCase",
|
|
1409
|
+
"signature": "(locales?: string | string[] | undefined) => string",
|
|
1410
|
+
"parameters": [
|
|
1411
|
+
{
|
|
1412
|
+
"name": "locales",
|
|
1413
|
+
"docs": "",
|
|
1414
|
+
"type": "string | string[] | undefined"
|
|
1415
|
+
}
|
|
1416
|
+
],
|
|
1417
|
+
"returns": "string",
|
|
1418
|
+
"tags": [],
|
|
1419
|
+
"docs": "Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",
|
|
1420
|
+
"complexTypes": [],
|
|
1421
|
+
"slug": "tolocaleuppercase"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "trim",
|
|
1425
|
+
"signature": "() => string",
|
|
1426
|
+
"parameters": [],
|
|
1427
|
+
"returns": "string",
|
|
1428
|
+
"tags": [],
|
|
1429
|
+
"docs": "Removes the leading and trailing white space and line terminator characters from a string.",
|
|
1430
|
+
"complexTypes": [],
|
|
1431
|
+
"slug": "trim"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "substr",
|
|
1435
|
+
"signature": "(from: number, length?: number | undefined) => string",
|
|
1436
|
+
"parameters": [
|
|
1437
|
+
{
|
|
1438
|
+
"name": "from",
|
|
1439
|
+
"docs": "The starting position of the desired substring. The index of the first character in the string is zero.",
|
|
1440
|
+
"type": "number"
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "length",
|
|
1444
|
+
"docs": "The number of characters to include in the returned substring.",
|
|
1445
|
+
"type": "number | undefined"
|
|
1446
|
+
}
|
|
1447
|
+
],
|
|
1448
|
+
"returns": "string",
|
|
1449
|
+
"tags": [
|
|
1450
|
+
{
|
|
1451
|
+
"name": "param",
|
|
1452
|
+
"text": "from The starting position of the desired substring. The index of the first character in the string is zero."
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"name": "param",
|
|
1456
|
+
"text": "length The number of characters to include in the returned substring."
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1459
|
+
"docs": "Gets a substring beginning at the specified location and having the specified length.",
|
|
1460
|
+
"complexTypes": [],
|
|
1461
|
+
"slug": "substr"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "valueOf",
|
|
1465
|
+
"signature": "() => string",
|
|
1466
|
+
"parameters": [],
|
|
1467
|
+
"returns": "string",
|
|
1468
|
+
"tags": [],
|
|
1469
|
+
"docs": "Returns the primitive value of the specified object.",
|
|
1470
|
+
"complexTypes": [],
|
|
1471
|
+
"slug": "valueof"
|
|
1472
|
+
}
|
|
1473
|
+
],
|
|
1474
|
+
"properties": [
|
|
1475
|
+
{
|
|
1476
|
+
"name": "length",
|
|
1477
|
+
"tags": [],
|
|
1478
|
+
"docs": "Returns the length of a String object.",
|
|
1479
|
+
"complexTypes": [],
|
|
1480
|
+
"type": "number"
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"name": "RegExpMatchArray",
|
|
1486
|
+
"slug": "regexpmatcharray",
|
|
1487
|
+
"docs": "",
|
|
1488
|
+
"tags": [],
|
|
1489
|
+
"methods": [],
|
|
1490
|
+
"properties": [
|
|
1491
|
+
{
|
|
1492
|
+
"name": "index",
|
|
1493
|
+
"tags": [],
|
|
1494
|
+
"docs": "",
|
|
1495
|
+
"complexTypes": [],
|
|
1496
|
+
"type": "number | undefined"
|
|
405
1497
|
},
|
|
406
1498
|
{
|
|
407
|
-
"name": "
|
|
1499
|
+
"name": "input",
|
|
408
1500
|
"tags": [],
|
|
409
1501
|
"docs": "",
|
|
410
1502
|
"complexTypes": [],
|
|
411
|
-
"type": "string"
|
|
1503
|
+
"type": "string | undefined"
|
|
1504
|
+
}
|
|
1505
|
+
]
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "RegExp",
|
|
1509
|
+
"slug": "regexp",
|
|
1510
|
+
"docs": "",
|
|
1511
|
+
"tags": [],
|
|
1512
|
+
"methods": [
|
|
1513
|
+
{
|
|
1514
|
+
"name": "exec",
|
|
1515
|
+
"signature": "(string: string) => RegExpExecArray | null",
|
|
1516
|
+
"parameters": [
|
|
1517
|
+
{
|
|
1518
|
+
"name": "string",
|
|
1519
|
+
"docs": "The String object or string literal on which to perform the search.",
|
|
1520
|
+
"type": "string"
|
|
1521
|
+
}
|
|
1522
|
+
],
|
|
1523
|
+
"returns": "RegExpExecArray | null",
|
|
1524
|
+
"tags": [
|
|
1525
|
+
{
|
|
1526
|
+
"name": "param",
|
|
1527
|
+
"text": "string The String object or string literal on which to perform the search."
|
|
1528
|
+
}
|
|
1529
|
+
],
|
|
1530
|
+
"docs": "Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.",
|
|
1531
|
+
"complexTypes": [
|
|
1532
|
+
"RegExpExecArray"
|
|
1533
|
+
],
|
|
1534
|
+
"slug": "exec"
|
|
412
1535
|
},
|
|
413
1536
|
{
|
|
414
|
-
"name": "
|
|
1537
|
+
"name": "test",
|
|
1538
|
+
"signature": "(string: string) => boolean",
|
|
1539
|
+
"parameters": [
|
|
1540
|
+
{
|
|
1541
|
+
"name": "string",
|
|
1542
|
+
"docs": "String on which to perform the search.",
|
|
1543
|
+
"type": "string"
|
|
1544
|
+
}
|
|
1545
|
+
],
|
|
1546
|
+
"returns": "boolean",
|
|
1547
|
+
"tags": [
|
|
1548
|
+
{
|
|
1549
|
+
"name": "param",
|
|
1550
|
+
"text": "string String on which to perform the search."
|
|
1551
|
+
}
|
|
1552
|
+
],
|
|
1553
|
+
"docs": "Returns a Boolean value that indicates whether or not a pattern exists in a searched string.",
|
|
1554
|
+
"complexTypes": [],
|
|
1555
|
+
"slug": "test"
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"name": "compile",
|
|
1559
|
+
"signature": "() => this",
|
|
1560
|
+
"parameters": [],
|
|
1561
|
+
"returns": "this",
|
|
415
1562
|
"tags": [],
|
|
416
1563
|
"docs": "",
|
|
417
1564
|
"complexTypes": [],
|
|
1565
|
+
"slug": "compile"
|
|
1566
|
+
}
|
|
1567
|
+
],
|
|
1568
|
+
"properties": [
|
|
1569
|
+
{
|
|
1570
|
+
"name": "source",
|
|
1571
|
+
"tags": [],
|
|
1572
|
+
"docs": "Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal.",
|
|
1573
|
+
"complexTypes": [],
|
|
418
1574
|
"type": "string"
|
|
419
1575
|
},
|
|
420
1576
|
{
|
|
421
|
-
"name": "
|
|
1577
|
+
"name": "global",
|
|
1578
|
+
"tags": [],
|
|
1579
|
+
"docs": "Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only.",
|
|
1580
|
+
"complexTypes": [],
|
|
1581
|
+
"type": "boolean"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "ignoreCase",
|
|
1585
|
+
"tags": [],
|
|
1586
|
+
"docs": "Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only.",
|
|
1587
|
+
"complexTypes": [],
|
|
1588
|
+
"type": "boolean"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "multiline",
|
|
1592
|
+
"tags": [],
|
|
1593
|
+
"docs": "Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only.",
|
|
1594
|
+
"complexTypes": [],
|
|
1595
|
+
"type": "boolean"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"name": "lastIndex",
|
|
422
1599
|
"tags": [],
|
|
423
1600
|
"docs": "",
|
|
424
1601
|
"complexTypes": [],
|
|
425
|
-
"type": "
|
|
1602
|
+
"type": "number"
|
|
426
1603
|
}
|
|
427
1604
|
]
|
|
428
1605
|
},
|
|
429
1606
|
{
|
|
430
|
-
"name": "
|
|
431
|
-
"slug": "
|
|
1607
|
+
"name": "RegExpExecArray",
|
|
1608
|
+
"slug": "regexpexecarray",
|
|
432
1609
|
"docs": "",
|
|
433
1610
|
"tags": [],
|
|
434
1611
|
"methods": [],
|
|
435
1612
|
"properties": [
|
|
436
1613
|
{
|
|
437
|
-
"name": "
|
|
438
|
-
"tags": [
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
"
|
|
1614
|
+
"name": "index",
|
|
1615
|
+
"tags": [],
|
|
1616
|
+
"docs": "",
|
|
1617
|
+
"complexTypes": [],
|
|
1618
|
+
"type": "number"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"name": "input",
|
|
1622
|
+
"tags": [],
|
|
1623
|
+
"docs": "",
|
|
445
1624
|
"complexTypes": [],
|
|
446
1625
|
"type": "string"
|
|
447
1626
|
}
|
|
@@ -459,7 +1638,28 @@
|
|
|
459
1638
|
"tags": [],
|
|
460
1639
|
"docs": "",
|
|
461
1640
|
"complexTypes": [],
|
|
462
|
-
"type": "() =>
|
|
1641
|
+
"type": "() => Promise<void>"
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "UrlEvent",
|
|
1647
|
+
"slug": "urlevent",
|
|
1648
|
+
"docs": "",
|
|
1649
|
+
"tags": [],
|
|
1650
|
+
"methods": [],
|
|
1651
|
+
"properties": [
|
|
1652
|
+
{
|
|
1653
|
+
"name": "url",
|
|
1654
|
+
"tags": [
|
|
1655
|
+
{
|
|
1656
|
+
"text": "0.0.1",
|
|
1657
|
+
"name": "since"
|
|
1658
|
+
}
|
|
1659
|
+
],
|
|
1660
|
+
"docs": "Emit when the url changes",
|
|
1661
|
+
"complexTypes": [],
|
|
1662
|
+
"type": "string"
|
|
463
1663
|
}
|
|
464
1664
|
]
|
|
465
1665
|
},
|
|
@@ -536,6 +1736,93 @@
|
|
|
536
1736
|
}
|
|
537
1737
|
],
|
|
538
1738
|
"typeAliases": [
|
|
1739
|
+
{
|
|
1740
|
+
"name": "ClearCookieOptions",
|
|
1741
|
+
"slug": "clearcookieoptions",
|
|
1742
|
+
"docs": "",
|
|
1743
|
+
"types": [
|
|
1744
|
+
{
|
|
1745
|
+
"text": "Omit<HttpCookie, 'key' | 'value'>",
|
|
1746
|
+
"complexTypes": [
|
|
1747
|
+
"Omit",
|
|
1748
|
+
"HttpCookie"
|
|
1749
|
+
]
|
|
1750
|
+
}
|
|
1751
|
+
]
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "Omit",
|
|
1755
|
+
"slug": "omit",
|
|
1756
|
+
"docs": "Construct a type with the properties of T except for those in type K.",
|
|
1757
|
+
"types": [
|
|
1758
|
+
{
|
|
1759
|
+
"text": "Pick<T, Exclude<keyof T, K>>",
|
|
1760
|
+
"complexTypes": [
|
|
1761
|
+
"Pick",
|
|
1762
|
+
"T",
|
|
1763
|
+
"Exclude",
|
|
1764
|
+
"K"
|
|
1765
|
+
]
|
|
1766
|
+
}
|
|
1767
|
+
]
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "Pick",
|
|
1771
|
+
"slug": "pick",
|
|
1772
|
+
"docs": "From T, pick a set of properties whose keys are in the union K",
|
|
1773
|
+
"types": [
|
|
1774
|
+
{
|
|
1775
|
+
"text": "{\r\n [P in K]: T[P];\r\n}",
|
|
1776
|
+
"complexTypes": [
|
|
1777
|
+
"K",
|
|
1778
|
+
"T",
|
|
1779
|
+
"P"
|
|
1780
|
+
]
|
|
1781
|
+
}
|
|
1782
|
+
]
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "Exclude",
|
|
1786
|
+
"slug": "exclude",
|
|
1787
|
+
"docs": "Exclude from T those types that are assignable to U",
|
|
1788
|
+
"types": [
|
|
1789
|
+
{
|
|
1790
|
+
"text": "T extends U ? never : T",
|
|
1791
|
+
"complexTypes": [
|
|
1792
|
+
"T",
|
|
1793
|
+
"U"
|
|
1794
|
+
]
|
|
1795
|
+
}
|
|
1796
|
+
]
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"name": "Record",
|
|
1800
|
+
"slug": "record",
|
|
1801
|
+
"docs": "Construct a type with a set of properties K of type T",
|
|
1802
|
+
"types": [
|
|
1803
|
+
{
|
|
1804
|
+
"text": "{\r\n [P in K]: T;\r\n}",
|
|
1805
|
+
"complexTypes": [
|
|
1806
|
+
"K",
|
|
1807
|
+
"T"
|
|
1808
|
+
]
|
|
1809
|
+
}
|
|
1810
|
+
]
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"name": "GetCookieOptions",
|
|
1814
|
+
"slug": "getcookieoptions",
|
|
1815
|
+
"docs": "",
|
|
1816
|
+
"types": [
|
|
1817
|
+
{
|
|
1818
|
+
"text": "Omit<HttpCookie, 'key' | 'value'>",
|
|
1819
|
+
"complexTypes": [
|
|
1820
|
+
"Omit",
|
|
1821
|
+
"HttpCookie"
|
|
1822
|
+
]
|
|
1823
|
+
}
|
|
1824
|
+
]
|
|
1825
|
+
},
|
|
539
1826
|
{
|
|
540
1827
|
"name": "UrlChangeListener",
|
|
541
1828
|
"slug": "urlchangelistener",
|
|
@@ -549,6 +1836,17 @@
|
|
|
549
1836
|
}
|
|
550
1837
|
]
|
|
551
1838
|
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "ButtonNearListener",
|
|
1841
|
+
"slug": "buttonnearlistener",
|
|
1842
|
+
"docs": "",
|
|
1843
|
+
"types": [
|
|
1844
|
+
{
|
|
1845
|
+
"text": "(state: {}): void",
|
|
1846
|
+
"complexTypes": []
|
|
1847
|
+
}
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
552
1850
|
{
|
|
553
1851
|
"name": "ConfirmBtnListener",
|
|
554
1852
|
"slug": "confirmbtnlistener",
|