@capgo/inappbrowser 6.10.0 → 6.11.0
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/README.md +33 -99
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/InAppBrowserPlugin.java +23 -6
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/Options.java +12 -6
- package/android/src/main/java/ee/forgr/capacitor_inappbrowser/WebViewDialog.java +159 -145
- package/dist/docs.json +9 -636
- package/dist/esm/definitions.d.ts +9 -9
- package/dist/esm/definitions.js.map +1 -1
- package/ios/Plugin/InAppBrowserPlugin.swift +44 -36
- package/ios/Plugin/WKWebViewController.swift +19 -6
- package/package.json +1 -1
package/dist/docs.json
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
],
|
|
171
171
|
"returns": "Promise<void>",
|
|
172
172
|
"tags": [],
|
|
173
|
-
"docs": "Sends an event to the webview. you can listen to this event with addListener(\"
|
|
173
|
+
"docs": "Sends an event to the webview(inappbrowser). you can listen to this event in the inappbrowser JS with window.addListener(\"messageFromNative\", 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
174
|
"complexTypes": [
|
|
175
175
|
"Record"
|
|
176
176
|
],
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
],
|
|
321
321
|
"returns": "Promise<PluginListenerHandle>",
|
|
322
322
|
"tags": [],
|
|
323
|
-
"docs": "Will be triggered when event is sent from webview, to send an event to the
|
|
323
|
+
"docs": "Will be triggered when event is sent from webview(inappbrowser), to send an event to the main app use window.mobileApp.postMessage({ \"detail\": { \"message\": \"myMessage\" } })\ndetail is the data you want to send to the main app, it's a requirement of Capacitor we cannot send direct objects\nYour object has to be serializable to JSON, no functions or other non-JSON-serializable types are allowed.\n\nThis method is inject at runtime in the webview",
|
|
324
324
|
"complexTypes": [
|
|
325
325
|
"PluginListenerHandle",
|
|
326
326
|
"Record"
|
|
@@ -933,10 +933,8 @@
|
|
|
933
933
|
}
|
|
934
934
|
],
|
|
935
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
|
-
|
|
938
|
-
],
|
|
939
|
-
"type": "String"
|
|
936
|
+
"complexTypes": [],
|
|
937
|
+
"type": "string | undefined"
|
|
940
938
|
},
|
|
941
939
|
{
|
|
942
940
|
"name": "proxyRequests",
|
|
@@ -947,10 +945,8 @@
|
|
|
947
945
|
}
|
|
948
946
|
],
|
|
949
947
|
"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
|
-
|
|
952
|
-
],
|
|
953
|
-
"type": "String"
|
|
948
|
+
"complexTypes": [],
|
|
949
|
+
"type": "string | undefined"
|
|
954
950
|
},
|
|
955
951
|
{
|
|
956
952
|
"name": "buttonNearDone",
|
|
@@ -961,10 +957,8 @@
|
|
|
961
957
|
}
|
|
962
958
|
],
|
|
963
959
|
"docs": "buttonNearDone allows for a creation of a custom button. Please see [buttonNearDone.md](/buttonNearDone.md) for more info.",
|
|
964
|
-
"complexTypes": [
|
|
965
|
-
|
|
966
|
-
],
|
|
967
|
-
"type": "{ ios: { iconType: 'sf-symbol' | 'asset'; icon: String; }; android: { iconType: 'asset'; icon: String; width?: number | undefined; height?: number | undefined; }; } | undefined"
|
|
960
|
+
"complexTypes": [],
|
|
961
|
+
"type": "{ ios: { iconType: 'sf-symbol' | 'asset'; icon: string; }; android: { iconType: 'asset'; icon: string; width?: number | undefined; height?: number | undefined; }; } | undefined"
|
|
968
962
|
}
|
|
969
963
|
]
|
|
970
964
|
},
|
|
@@ -1005,627 +999,6 @@
|
|
|
1005
999
|
}
|
|
1006
1000
|
]
|
|
1007
1001
|
},
|
|
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"
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"name": "input",
|
|
1500
|
-
"tags": [],
|
|
1501
|
-
"docs": "",
|
|
1502
|
-
"complexTypes": [],
|
|
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"
|
|
1535
|
-
},
|
|
1536
|
-
{
|
|
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",
|
|
1562
|
-
"tags": [],
|
|
1563
|
-
"docs": "",
|
|
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": [],
|
|
1574
|
-
"type": "string"
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
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",
|
|
1599
|
-
"tags": [],
|
|
1600
|
-
"docs": "",
|
|
1601
|
-
"complexTypes": [],
|
|
1602
|
-
"type": "number"
|
|
1603
|
-
}
|
|
1604
|
-
]
|
|
1605
|
-
},
|
|
1606
|
-
{
|
|
1607
|
-
"name": "RegExpExecArray",
|
|
1608
|
-
"slug": "regexpexecarray",
|
|
1609
|
-
"docs": "",
|
|
1610
|
-
"tags": [],
|
|
1611
|
-
"methods": [],
|
|
1612
|
-
"properties": [
|
|
1613
|
-
{
|
|
1614
|
-
"name": "index",
|
|
1615
|
-
"tags": [],
|
|
1616
|
-
"docs": "",
|
|
1617
|
-
"complexTypes": [],
|
|
1618
|
-
"type": "number"
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"name": "input",
|
|
1622
|
-
"tags": [],
|
|
1623
|
-
"docs": "",
|
|
1624
|
-
"complexTypes": [],
|
|
1625
|
-
"type": "string"
|
|
1626
|
-
}
|
|
1627
|
-
]
|
|
1628
|
-
},
|
|
1629
1002
|
{
|
|
1630
1003
|
"name": "PluginListenerHandle",
|
|
1631
1004
|
"slug": "pluginlistenerhandle",
|
|
@@ -1842,7 +1215,7 @@
|
|
|
1842
1215
|
"docs": "",
|
|
1843
1216
|
"types": [
|
|
1844
1217
|
{
|
|
1845
|
-
"text": "(state:
|
|
1218
|
+
"text": "(state: object): void",
|
|
1846
1219
|
"complexTypes": []
|
|
1847
1220
|
}
|
|
1848
1221
|
]
|