marko 5.25.5 → 5.25.6
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/tags-html.d.ts +140 -939
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "marko",
|
3
|
-
"version": "5.25.
|
3
|
+
"version": "5.25.6",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
|
6
6
|
"dependencies": {
|
7
|
-
"@marko/compiler": "^5.27.
|
8
|
-
"@marko/translator-default": "^5.25.
|
7
|
+
"@marko/compiler": "^5.27.7",
|
8
|
+
"@marko/translator-default": "^5.25.7",
|
9
9
|
"app-module-path": "^2.2.0",
|
10
10
|
"argly": "^1.2.0",
|
11
11
|
"browser-refresh-client": "1.1.4",
|
package/tags-html.d.ts
CHANGED
@@ -1031,917 +1031,159 @@ declare global {
|
|
1031
1031
|
}
|
1032
1032
|
interface Input extends HTMLAttributes<HTMLInputElement> {
|
1033
1033
|
/**
|
1034
|
-
*
|
1035
|
-
*
|
1036
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
|
1037
|
-
*/
|
1038
|
-
disabled?: AttrBoolean;
|
1039
|
-
|
1040
|
-
/**
|
1041
|
-
* The ID of the form element that this input is associated with.
|
1042
|
-
* This allows the input to be associated with a form even if it is
|
1043
|
-
* not a direct descendant of the form element.
|
1044
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
|
1045
|
-
*/
|
1046
|
-
form?: AttrString;
|
1047
|
-
|
1048
|
-
/**
|
1049
|
-
* The name attribute of the input element, which is used as a key
|
1050
|
-
* when submitting the form data. Also the named used in the form.elements.
|
1051
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
|
1052
|
-
* @see HTMLFormElement.elements
|
1053
|
-
*/
|
1054
|
-
name?: AttrString;
|
1055
|
-
}
|
1056
|
-
|
1057
|
-
interface InputButton extends Input {
|
1058
|
-
/**
|
1059
|
-
* The input type, set to "button" for this interface.
|
1060
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1061
|
-
*/
|
1062
|
-
type: "button";
|
1063
|
-
|
1064
|
-
/**
|
1065
|
-
* Specifies the target element for the popover.
|
1066
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1067
|
-
*/
|
1068
|
-
popovertarget?: AttrString;
|
1069
|
-
|
1070
|
-
/**
|
1071
|
-
* Specifies the action to perform on the popover target.
|
1072
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1073
|
-
*/
|
1074
|
-
popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
|
1075
|
-
|
1076
|
-
/**
|
1077
|
-
* The value attribute for the button input, which can be used as a label or identifier.
|
1078
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1079
|
-
*/
|
1080
|
-
value?: AttrStringOrNumber;
|
1081
|
-
}
|
1082
|
-
|
1083
|
-
interface InputCheckbox extends Input {
|
1084
|
-
/**
|
1085
|
-
* The input type, set to "checkbox" for this interface.
|
1086
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1087
|
-
*/
|
1088
|
-
type: "checkbox";
|
1089
|
-
|
1090
|
-
/**
|
1091
|
-
* Indicates whether the checkbox should be checked or not.
|
1092
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-checked
|
1093
|
-
*/
|
1094
|
-
checked?: AttrBoolean;
|
1095
|
-
|
1096
|
-
/**
|
1097
|
-
* Indicates whether the checkbox is required to be checked for the form to be submitted.
|
1098
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1099
|
-
*/
|
1100
|
-
required?: AttrBoolean;
|
1101
|
-
|
1102
|
-
/**
|
1103
|
-
* The value attribute for the checkbox input, which can be used as a label or identifier.
|
1104
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1105
|
-
*/
|
1106
|
-
value?: AttrStringOrNumber;
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
interface InputColor extends Input {
|
1110
|
-
/**
|
1111
|
-
* The input type, set to "color" for this interface.
|
1112
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1113
|
-
*/
|
1114
|
-
type: "color";
|
1115
|
-
|
1116
|
-
/**
|
1117
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1118
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1119
|
-
*/
|
1120
|
-
autocomplete?: AttrOnOff;
|
1121
|
-
|
1122
|
-
/**
|
1123
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1124
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1125
|
-
*/
|
1126
|
-
list?: AttrString;
|
1127
|
-
|
1128
|
-
/**
|
1129
|
-
* The value attribute for the color input, representing a color value.
|
1130
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1131
|
-
*/
|
1132
|
-
value?: AttrString;
|
1133
|
-
}
|
1134
|
-
|
1135
|
-
interface InputDate extends Input {
|
1136
|
-
/**
|
1137
|
-
* The input type, set to "date" for this interface.
|
1138
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1139
|
-
*/
|
1140
|
-
type: "date";
|
1141
|
-
|
1142
|
-
/**
|
1143
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1144
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1145
|
-
*/
|
1146
|
-
autocomplete?: AttrOnOff;
|
1147
|
-
|
1148
|
-
/**
|
1149
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1150
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1151
|
-
*/
|
1152
|
-
list?: AttrString;
|
1153
|
-
|
1154
|
-
/**
|
1155
|
-
* The maximum allowed value for the input.
|
1156
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1157
|
-
*/
|
1158
|
-
max?: AttrString;
|
1159
|
-
|
1160
|
-
/**
|
1161
|
-
* The minimum allowed value for the input.
|
1162
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1163
|
-
*/
|
1164
|
-
min?: AttrString;
|
1165
|
-
|
1166
|
-
/**
|
1167
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
1168
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
1169
|
-
*/
|
1170
|
-
readonly?: AttrBoolean;
|
1171
|
-
|
1172
|
-
/**
|
1173
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1174
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1175
|
-
*/
|
1176
|
-
required?: AttrBoolean;
|
1177
|
-
|
1178
|
-
/**
|
1179
|
-
* Specifies the allowed number intervals for the input value.
|
1180
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
|
1181
|
-
*/
|
1182
|
-
step?: AttrString;
|
1183
|
-
|
1184
|
-
/**
|
1185
|
-
* The value attribute for the date input, representing a date value.
|
1186
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1187
|
-
*/
|
1188
|
-
value?: AttrString;
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
interface InputDateTimeLocal extends Input {
|
1192
|
-
/**
|
1193
|
-
* The input type, set to "datetime-local" for this interface.
|
1194
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1195
|
-
*/
|
1196
|
-
type: "datetime-local";
|
1197
|
-
|
1198
|
-
/**
|
1199
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1200
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1201
|
-
*/
|
1202
|
-
autocomplete?: AttrOnOff;
|
1203
|
-
|
1204
|
-
/**
|
1205
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1206
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1207
|
-
*/
|
1208
|
-
list?: AttrString;
|
1209
|
-
|
1210
|
-
/**
|
1211
|
-
* The maximum allowed value for the input.
|
1212
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1213
|
-
*/
|
1214
|
-
max?: AttrString;
|
1215
|
-
|
1216
|
-
/**
|
1217
|
-
* The minimum allowed value for the input.
|
1218
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1219
|
-
*/
|
1220
|
-
min?: AttrString;
|
1221
|
-
|
1222
|
-
/**
|
1223
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
1224
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
1225
|
-
*/
|
1226
|
-
readonly?: AttrBoolean;
|
1227
|
-
|
1228
|
-
/**
|
1229
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1230
|
-
* @see https://html.spec.whatwg
|
1231
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1232
|
-
*/
|
1233
|
-
required?: AttrBoolean;
|
1234
|
-
|
1235
|
-
/**
|
1236
|
-
* Specifies the allowed number intervals for the input value.
|
1237
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
|
1238
|
-
*/
|
1239
|
-
step?: AttrString;
|
1240
|
-
|
1241
|
-
/**
|
1242
|
-
* The value attribute for the datetime-local input, representing a date and time value.
|
1243
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1244
|
-
*/
|
1245
|
-
value?: AttrString;
|
1246
|
-
}
|
1247
|
-
interface InputEmail extends Input {
|
1248
|
-
/**
|
1249
|
-
* The input type, set to "email" for this interface.
|
1250
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1251
|
-
*/
|
1252
|
-
type: "email";
|
1253
|
-
|
1254
|
-
/**
|
1255
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1256
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1257
|
-
*/
|
1258
|
-
autocomplete?: AttrOnOff;
|
1259
|
-
|
1260
|
-
/**
|
1261
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1262
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1263
|
-
*/
|
1264
|
-
list?: AttrString;
|
1265
|
-
|
1266
|
-
/**
|
1267
|
-
* The maximum allowed length for the input value.
|
1268
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
|
1269
|
-
*/
|
1270
|
-
maxlength?: AttrStringOrNumber;
|
1271
|
-
|
1272
|
-
/**
|
1273
|
-
* The minimum allowed length for the input value.
|
1274
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
|
1275
|
-
*/
|
1276
|
-
minlength?: AttrStringOrNumber;
|
1277
|
-
|
1278
|
-
/**
|
1279
|
-
* Indicates whether the input should allow multiple email addresses or not.
|
1280
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple
|
1281
|
-
*/
|
1282
|
-
multiple?: AttrBoolean;
|
1283
|
-
|
1284
|
-
/**
|
1285
|
-
* A regular expression that the input value must match for the form to be submitted.
|
1286
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
|
1287
|
-
*/
|
1288
|
-
pattern?: AttrString;
|
1289
|
-
|
1290
|
-
/**
|
1291
|
-
* A short hint to display in the input field before the user enters a value.
|
1292
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
|
1293
|
-
*/
|
1294
|
-
placeholder?: AttrString;
|
1295
|
-
|
1296
|
-
/**
|
1297
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
1298
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
1299
|
-
*/
|
1300
|
-
readonly?: AttrBoolean;
|
1301
|
-
|
1302
|
-
/**
|
1303
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1304
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1305
|
-
*/
|
1306
|
-
required?: AttrBoolean;
|
1307
|
-
|
1308
|
-
/**
|
1309
|
-
* The visible width of the input field in average character widths.
|
1310
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
|
1311
|
-
*/
|
1312
|
-
size?: AttrStringOrNumber;
|
1313
|
-
|
1314
|
-
/**
|
1315
|
-
* The value attribute for the email input, representing an email address value.
|
1316
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1317
|
-
*/
|
1318
|
-
value?: AttrString;
|
1319
|
-
}
|
1320
|
-
interface InputFile extends Input {
|
1321
|
-
/**
|
1322
|
-
* The input type, set to "file" for this interface.
|
1323
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1324
|
-
*/
|
1325
|
-
type: "file";
|
1326
|
-
|
1327
|
-
/**
|
1328
|
-
* A comma-separated list of file types that the input should accept.
|
1329
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
|
1330
|
-
*/
|
1331
|
-
accept?: AttrString;
|
1332
|
-
|
1333
|
-
/**
|
1334
|
-
* Indicates whether the input should use a specific capture method.
|
1335
|
-
* "user" indicates the front camera, "environment" indicates the rear camera.
|
1336
|
-
* @see https://w3c.github.io/html-media-capture/#dfn-capture
|
1337
|
-
*/
|
1338
|
-
capture?: AttrBoolean | "user" | "environment";
|
1339
|
-
|
1340
|
-
/**
|
1341
|
-
* Indicates whether the input should allow the selection of multiple files or not.
|
1342
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple
|
1343
|
-
*/
|
1344
|
-
multiple?: AttrBoolean;
|
1345
|
-
|
1346
|
-
/**
|
1347
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1348
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1349
|
-
*/
|
1350
|
-
required?: AttrBoolean;
|
1351
|
-
}
|
1352
|
-
interface InputHidden extends Input {
|
1353
|
-
/**
|
1354
|
-
* The input type, set to "hidden" for this interface.
|
1355
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1356
|
-
*/
|
1357
|
-
type: "hidden";
|
1358
|
-
|
1359
|
-
/**
|
1360
|
-
* The value attribute for the hidden input, representing a hidden value.
|
1361
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1362
|
-
*/
|
1363
|
-
value?: AttrStringOrNumber;
|
1364
|
-
}
|
1365
|
-
interface InputImage extends Input {
|
1366
|
-
/**
|
1367
|
-
* The input type, set to "image" for this interface.
|
1368
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1369
|
-
*/
|
1370
|
-
type: "image";
|
1371
|
-
|
1372
|
-
/**
|
1373
|
-
* The alternate text for the image, displayed if the image cannot be loaded.
|
1374
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-alt
|
1375
|
-
*/
|
1376
|
-
alt?: AttrString;
|
1377
|
-
|
1378
|
-
/**
|
1379
|
-
* The URL of the image file.
|
1380
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-src
|
1381
|
-
*/
|
1382
|
-
src?: AttrString;
|
1383
|
-
|
1384
|
-
/**
|
1385
|
-
* The height of the image in pixels.
|
1386
|
-
* @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
|
1387
|
-
*/
|
1388
|
-
height?: AttrStringOrNumber;
|
1389
|
-
|
1390
|
-
/**
|
1391
|
-
* The width of the image in pixels.
|
1392
|
-
* @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
|
1393
|
-
*/
|
1394
|
-
width?: AttrStringOrNumber;
|
1395
|
-
|
1396
|
-
/**
|
1397
|
-
* The URL of the form processing endpoint when the input image is used for form submission.
|
1398
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formaction
|
1399
|
-
*/
|
1400
|
-
formaction?: Form["action"];
|
1401
|
-
|
1402
|
-
/**
|
1403
|
-
* The encoding type for the form data when the input image is used for form submission.
|
1404
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype
|
1405
|
-
*/
|
1406
|
-
formenctype?: Form["enctype"];
|
1407
|
-
|
1408
|
-
/**
|
1409
|
-
* The HTTP method to use when the input image is used for form submission.
|
1410
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod
|
1411
|
-
*/
|
1412
|
-
formmethod?: Form["method"];
|
1413
|
-
|
1414
|
-
/**
|
1415
|
-
* Indicates whether form validation should be skipped when the input image is used for form submission.
|
1416
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formnovalidate
|
1417
|
-
*/
|
1418
|
-
formnovalidate?: Form["novalidate"];
|
1419
|
-
|
1420
|
-
/**
|
1421
|
-
* The browsing context for displaying the response after form submission when the input image is used.
|
1422
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formtarget
|
1423
|
-
*/
|
1424
|
-
formtarget?: Form["target"];
|
1425
|
-
|
1426
|
-
/**
|
1427
|
-
* Specifies the target element for the popover.
|
1428
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1429
|
-
*/
|
1430
|
-
popovertarget?: AttrString;
|
1431
|
-
|
1432
|
-
/**
|
1433
|
-
* Specifies the action to perform on the popover target.
|
1434
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1435
|
-
*/
|
1436
|
-
popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
|
1437
|
-
|
1438
|
-
/**
|
1439
|
-
* The value attribute for the image input, representing a value to submit with the form.
|
1440
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1441
|
-
*/
|
1442
|
-
value?: AttrStringOrNumber;
|
1443
|
-
}
|
1444
|
-
|
1445
|
-
interface InputMonth extends Input {
|
1446
|
-
/**
|
1447
|
-
* The input type, set to "month" for this interface.
|
1448
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1449
|
-
*/
|
1450
|
-
type: "month";
|
1451
|
-
|
1452
|
-
/**
|
1453
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1454
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1455
|
-
*/
|
1456
|
-
autocomplete?: AttrOnOff;
|
1457
|
-
|
1458
|
-
/**
|
1459
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1460
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1461
|
-
*/
|
1462
|
-
list?: AttrString;
|
1463
|
-
|
1464
|
-
/**
|
1465
|
-
* The maximum allowed value for the input.
|
1466
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1467
|
-
*/
|
1468
|
-
max?: AttrString;
|
1469
|
-
|
1470
|
-
/**
|
1471
|
-
* The minimum allowed value for the input.
|
1472
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1473
|
-
*/
|
1474
|
-
min?: AttrString;
|
1475
|
-
|
1476
|
-
/**
|
1477
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
1478
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
1479
|
-
*/
|
1480
|
-
readonly?: AttrBoolean;
|
1481
|
-
|
1482
|
-
/**
|
1483
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1484
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1485
|
-
*/
|
1486
|
-
required?: AttrBoolean;
|
1487
|
-
|
1488
|
-
/**
|
1489
|
-
* Specifies the allowed number intervals for the input value.
|
1490
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
|
1491
|
-
*/
|
1492
|
-
step?: AttrString;
|
1493
|
-
|
1494
|
-
/**
|
1495
|
-
* The value attribute for the month input, representing a month value.
|
1496
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1497
|
-
*/
|
1498
|
-
value?: AttrString;
|
1499
|
-
}
|
1500
|
-
interface InputNumber extends Input {
|
1501
|
-
/**
|
1502
|
-
* The input type, set to "number" for this interface.
|
1503
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1504
|
-
*/
|
1505
|
-
type: "number";
|
1506
|
-
|
1507
|
-
/**
|
1508
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1509
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1510
|
-
*/
|
1511
|
-
autocomplete?: AttrOnOff;
|
1512
|
-
|
1513
|
-
/**
|
1514
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1515
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1516
|
-
*/
|
1517
|
-
list?: AttrString;
|
1518
|
-
|
1519
|
-
/**
|
1520
|
-
* The maximum allowed value for the input.
|
1521
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1522
|
-
*/
|
1523
|
-
max?: AttrStringOrNumber;
|
1524
|
-
|
1525
|
-
/**
|
1526
|
-
* The minimum allowed value for the input.
|
1527
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1528
|
-
*/
|
1529
|
-
min?: AttrStringOrNumber;
|
1530
|
-
|
1531
|
-
/**
|
1532
|
-
* A short hint to display in the input field before the user enters a value.
|
1533
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
|
1534
|
-
*/
|
1535
|
-
placeholder?: AttrString;
|
1536
|
-
|
1537
|
-
/**
|
1538
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
1539
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
1540
|
-
*/
|
1541
|
-
readonly?: AttrBoolean;
|
1542
|
-
/**
|
1543
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1544
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1545
|
-
*/
|
1546
|
-
required?: AttrBoolean;
|
1547
|
-
|
1548
|
-
/**
|
1549
|
-
* Specifies the allowed number intervals for the input value.
|
1550
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
|
1551
|
-
*/
|
1552
|
-
step?: AttrStringOrNumber;
|
1553
|
-
|
1554
|
-
/**
|
1555
|
-
* The value attribute for the month input, representing a month value.
|
1556
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1557
|
-
*/
|
1558
|
-
value?: AttrStringOrNumber;
|
1559
|
-
}
|
1560
|
-
interface InputRadio extends Input {
|
1561
|
-
/**
|
1562
|
-
* The input type, set to "radio" for this interface.
|
1563
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1564
|
-
*/
|
1565
|
-
type: "radio";
|
1566
|
-
|
1567
|
-
/**
|
1568
|
-
* Indicates whether the radio should be checked or not.
|
1569
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-checked
|
1570
|
-
*/
|
1571
|
-
checked?: AttrBoolean;
|
1572
|
-
|
1573
|
-
/**
|
1574
|
-
* Indicates whether the radio is required to be checked for the form to be submitted.
|
1575
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1576
|
-
*/
|
1577
|
-
required?: AttrBoolean;
|
1578
|
-
|
1579
|
-
/**
|
1580
|
-
* The value attribute for the radio input, which can be used as a label or identifier.
|
1581
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1582
|
-
*/
|
1583
|
-
value?: AttrStringOrNumber;
|
1584
|
-
}
|
1585
|
-
interface InputRange extends Input {
|
1586
|
-
/**
|
1587
|
-
* The input type, set to "range" for this interface.
|
1588
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1589
|
-
*/
|
1590
|
-
type: "range";
|
1591
|
-
|
1592
|
-
/**
|
1593
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1594
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1595
|
-
*/
|
1596
|
-
autocomplete?: AttrOnOff;
|
1597
|
-
/**
|
1598
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1599
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1600
|
-
*/
|
1601
|
-
list?: AttrString;
|
1602
|
-
|
1603
|
-
/**
|
1604
|
-
* The maximum allowed value for the input.
|
1605
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1606
|
-
*/
|
1607
|
-
max?: AttrStringOrNumber;
|
1608
|
-
|
1609
|
-
/**
|
1610
|
-
* The minimum allowed value for the input.
|
1611
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1612
|
-
*/
|
1613
|
-
min?: AttrStringOrNumber;
|
1614
|
-
|
1615
|
-
/**
|
1616
|
-
* Specifies the allowed number intervals for the input value.
|
1617
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-step
|
1618
|
-
*/
|
1619
|
-
step?: AttrStringOrNumber;
|
1620
|
-
|
1621
|
-
/**
|
1622
|
-
* The value attribute for the month input, representing a month value.
|
1623
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1624
|
-
*/
|
1625
|
-
value?: AttrStringOrNumber;
|
1626
|
-
}
|
1627
|
-
interface InputReset extends Input {
|
1628
|
-
/**
|
1629
|
-
* The input type, set to "reset" for this interface.
|
1630
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1631
|
-
*/
|
1632
|
-
type: "reset";
|
1633
|
-
|
1634
|
-
/**
|
1635
|
-
* Specifies the target element for the popover.
|
1636
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1637
|
-
*/
|
1638
|
-
popovertarget?: AttrString;
|
1639
|
-
|
1640
|
-
/**
|
1641
|
-
* Specifies the action to perform on the popover target.
|
1642
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1643
|
-
*/
|
1644
|
-
popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
|
1645
|
-
}
|
1646
|
-
interface InputSubmit extends Input {
|
1647
|
-
/**
|
1648
|
-
* The input type, set to "submit" for this interface.
|
1649
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1650
|
-
*/
|
1651
|
-
type: "submit";
|
1652
|
-
|
1653
|
-
/**
|
1654
|
-
* The URL of the form processing endpoint when the input image is used for form submission.
|
1655
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formaction
|
1656
|
-
*/
|
1657
|
-
formaction?: Form["action"];
|
1658
|
-
|
1659
|
-
/**
|
1660
|
-
* The encoding type for the form data when the input image is used for form submission.
|
1661
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype
|
1662
|
-
*/
|
1663
|
-
formenctype?: Form["enctype"];
|
1664
|
-
|
1665
|
-
/**
|
1666
|
-
* The HTTP method to use when the input image is used for form submission.
|
1667
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod
|
1668
|
-
*/
|
1669
|
-
formmethod?: Form["method"];
|
1670
|
-
|
1671
|
-
/**
|
1672
|
-
* Indicates whether form validation should be skipped when the input image is used for form submission.
|
1673
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formnovalidate
|
1674
|
-
*/
|
1675
|
-
formnovalidate?: Form["novalidate"];
|
1676
|
-
|
1677
|
-
/**
|
1678
|
-
* The browsing context for displaying the response after form submission when the input image is used.
|
1679
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formtarget
|
1680
|
-
*/
|
1681
|
-
formtarget?: Form["target"];
|
1682
|
-
|
1683
|
-
/**
|
1684
|
-
* Specifies the target element for the popover.
|
1685
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1686
|
-
*/
|
1687
|
-
popovertarget?: AttrString;
|
1688
|
-
|
1689
|
-
/**
|
1690
|
-
* Specifies the action to perform on the popover target.
|
1691
|
-
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1692
|
-
*/
|
1693
|
-
popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
|
1694
|
-
|
1695
|
-
/**
|
1696
|
-
* The value attribute for the month input, representing a month value.
|
1697
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1698
|
-
*/
|
1699
|
-
value?: AttrString;
|
1700
|
-
}
|
1701
|
-
interface InputTel extends Input {
|
1702
|
-
/**
|
1703
|
-
* The input type, set to "tel" for this interface.
|
1704
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1705
|
-
*/
|
1706
|
-
type: "tel";
|
1707
|
-
|
1708
|
-
/**
|
1709
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1710
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1711
|
-
*/
|
1712
|
-
autocomplete?: AttrOnOff;
|
1713
|
-
|
1714
|
-
/**
|
1715
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1716
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1717
|
-
*/
|
1718
|
-
list?: AttrString;
|
1719
|
-
|
1720
|
-
/**
|
1721
|
-
* The maximum number of characters allowed in the input.
|
1722
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
|
1723
|
-
*/
|
1724
|
-
maxlength?: AttrStringOrNumber;
|
1725
|
-
|
1726
|
-
/**
|
1727
|
-
* The minimum number of characters required in the input.
|
1728
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
|
1729
|
-
*/
|
1730
|
-
minlength?: AttrStringOrNumber;
|
1731
|
-
|
1732
|
-
/**
|
1733
|
-
* A regular expression pattern to be matched by the input value.
|
1734
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
|
1735
|
-
*/
|
1736
|
-
pattern?: AttrString;
|
1737
|
-
|
1738
|
-
/**
|
1739
|
-
* A short hint to display in the input field before the user enters a value.
|
1740
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
|
1741
|
-
*/
|
1742
|
-
placeholder?: AttrString;
|
1743
|
-
|
1744
|
-
/**
|
1745
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
1746
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
1747
|
-
*/
|
1748
|
-
readonly?: AttrBoolean;
|
1749
|
-
|
1750
|
-
/**
|
1751
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
1752
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1753
|
-
*/
|
1754
|
-
required?: AttrBoolean;
|
1755
|
-
|
1756
|
-
/**
|
1757
|
-
* The number of characters wide the input field should be displayed.
|
1758
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
|
1759
|
-
*/
|
1760
|
-
size?: AttrStringOrNumber;
|
1761
|
-
|
1762
|
-
/**
|
1763
|
-
* The value attribute for the tel input, representing a telephone number value.
|
1764
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
1765
|
-
*/
|
1766
|
-
value?: AttrString;
|
1767
|
-
}
|
1768
|
-
|
1769
|
-
interface InputURL extends Input {
|
1770
|
-
/**
|
1771
|
-
* The input type, set to "url" for this interface.
|
1772
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1773
|
-
*/
|
1774
|
-
type: "url";
|
1775
|
-
|
1776
|
-
/**
|
1777
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1778
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1779
|
-
*/
|
1780
|
-
autocomplete?: AttrOnOff;
|
1781
|
-
|
1782
|
-
/**
|
1783
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1784
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1034
|
+
* A comma-separated list of file types that a file input should accept.
|
1035
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
|
1785
1036
|
*/
|
1786
|
-
|
1037
|
+
accept?: AttrString;
|
1787
1038
|
|
1788
1039
|
/**
|
1789
|
-
* The
|
1790
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1040
|
+
* The alternate text for an image input, displayed if the image cannot be loaded.
|
1041
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-alt
|
1791
1042
|
*/
|
1792
|
-
|
1043
|
+
alt?: AttrString;
|
1793
1044
|
|
1794
1045
|
/**
|
1795
|
-
*
|
1796
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1046
|
+
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1047
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1797
1048
|
*/
|
1798
|
-
|
1049
|
+
autocomplete?: AttrOnOff;
|
1799
1050
|
|
1800
1051
|
/**
|
1801
|
-
*
|
1802
|
-
*
|
1052
|
+
* Indicates whether a file input should use a specific capture method.
|
1053
|
+
* "user" indicates the front camera, "environment" indicates the rear camera.
|
1054
|
+
* @see https://w3c.github.io/html-media-capture/#dfn-capture
|
1803
1055
|
*/
|
1804
|
-
|
1056
|
+
capture?: AttrBoolean | "user" | "environment";
|
1805
1057
|
|
1806
1058
|
/**
|
1807
|
-
*
|
1808
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1059
|
+
* Indicates whether a checkbox should be checked or not.
|
1060
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-checked
|
1809
1061
|
*/
|
1810
|
-
|
1062
|
+
checked?: AttrBoolean;
|
1811
1063
|
|
1812
1064
|
/**
|
1813
|
-
*
|
1814
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1065
|
+
* Enables the submission of the directionality of a text input.
|
1066
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-dirname
|
1815
1067
|
*/
|
1816
|
-
|
1068
|
+
dirname?: AttrString;
|
1817
1069
|
|
1818
1070
|
/**
|
1819
|
-
* Indicates whether the input
|
1820
|
-
*
|
1071
|
+
* Indicates whether the input should be disabled or not. When disabled,
|
1072
|
+
* the input will not be interactable or submitted with the form.
|
1073
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
|
1821
1074
|
*/
|
1822
|
-
|
1075
|
+
disabled?: AttrBoolean;
|
1823
1076
|
|
1824
1077
|
/**
|
1825
|
-
* The
|
1826
|
-
*
|
1078
|
+
* The ID of the form element that this input is associated with.
|
1079
|
+
* This allows the input to be associated with a form even if it is
|
1080
|
+
* not a direct descendant of the form element.
|
1081
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form
|
1827
1082
|
*/
|
1828
|
-
|
1083
|
+
form?: AttrString;
|
1829
1084
|
|
1830
1085
|
/**
|
1831
|
-
* The
|
1832
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1833
|
-
*/
|
1834
|
-
value?: AttrString;
|
1835
|
-
}
|
1836
|
-
interface InputPassword extends Input {
|
1837
|
-
/**
|
1838
|
-
* The input type, set to "password" for this interface.
|
1839
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1086
|
+
* The URL of the form processing endpoint when the input image is used for form submission.
|
1087
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formaction
|
1840
1088
|
*/
|
1841
|
-
|
1089
|
+
formaction?: Form["action"];
|
1842
1090
|
|
1843
1091
|
/**
|
1844
|
-
*
|
1845
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-
|
1092
|
+
* The encoding type for the form data when the input image is used for form submission.
|
1093
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype
|
1846
1094
|
*/
|
1847
|
-
|
1095
|
+
formenctype?: Form["enctype"];
|
1848
1096
|
|
1849
1097
|
/**
|
1850
|
-
* The
|
1851
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1098
|
+
* The HTTP method to use when the input image is used for form submission.
|
1099
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod
|
1852
1100
|
*/
|
1853
|
-
|
1101
|
+
formmethod?: Form["method"];
|
1854
1102
|
|
1855
1103
|
/**
|
1856
|
-
*
|
1857
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1104
|
+
* Indicates whether form validation should be skipped when the input image is used for form submission.
|
1105
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formnovalidate
|
1858
1106
|
*/
|
1859
|
-
|
1107
|
+
formnovalidate?: Form["novalidate"];
|
1860
1108
|
|
1861
1109
|
/**
|
1862
|
-
*
|
1863
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1110
|
+
* The browsing context for displaying the response after form submission when the input image is used.
|
1111
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formtarget
|
1864
1112
|
*/
|
1865
|
-
|
1113
|
+
formtarget?: Form["target"];
|
1866
1114
|
|
1867
1115
|
/**
|
1868
|
-
*
|
1869
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1116
|
+
* The height of of an image input in pixels.
|
1117
|
+
* @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
|
1870
1118
|
*/
|
1871
|
-
|
1119
|
+
height?: AttrStringOrNumber;
|
1872
1120
|
|
1873
1121
|
/**
|
1874
|
-
*
|
1875
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1122
|
+
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1123
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1876
1124
|
*/
|
1877
|
-
|
1125
|
+
list?: AttrString;
|
1878
1126
|
|
1879
1127
|
/**
|
1880
|
-
*
|
1881
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1128
|
+
* The maximum allowed value for the input.
|
1129
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1882
1130
|
*/
|
1883
|
-
|
1131
|
+
max?: AttrString;
|
1884
1132
|
|
1885
1133
|
/**
|
1886
|
-
* The number of characters
|
1887
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1134
|
+
* The maximum number of characters allowed in the input.
|
1135
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-maxlength
|
1888
1136
|
*/
|
1889
|
-
|
1137
|
+
maxlength?: AttrStringOrNumber;
|
1890
1138
|
|
1891
1139
|
/**
|
1892
|
-
* The value
|
1893
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1894
|
-
*/
|
1895
|
-
value?: AttrString;
|
1896
|
-
}
|
1897
|
-
interface InputText extends Input {
|
1898
|
-
/**
|
1899
|
-
* The input type for this interface.
|
1900
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1140
|
+
* The minimum allowed value for the input.
|
1141
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1901
1142
|
*/
|
1902
|
-
|
1143
|
+
min?: AttrString;
|
1903
1144
|
|
1904
1145
|
/**
|
1905
|
-
*
|
1906
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1146
|
+
* The minimum number of characters required in the input.
|
1147
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-minlength
|
1907
1148
|
*/
|
1908
|
-
|
1149
|
+
minlength?: AttrStringOrNumber;
|
1909
1150
|
|
1910
1151
|
/**
|
1911
|
-
*
|
1912
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1152
|
+
* Indicates whether the input should allow more than one value.
|
1153
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple
|
1913
1154
|
*/
|
1914
|
-
|
1155
|
+
multiple?: AttrBoolean;
|
1915
1156
|
|
1916
1157
|
/**
|
1917
|
-
*
|
1918
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1158
|
+
* Used as a key when submitting the forms data. Also the name used in the form.elements api.
|
1159
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
|
1160
|
+
* @see HTMLFormElement.elements
|
1919
1161
|
*/
|
1920
|
-
|
1162
|
+
name?: AttrString;
|
1921
1163
|
|
1922
1164
|
/**
|
1923
|
-
*
|
1924
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1165
|
+
* A regular expression pattern to be validated against the input value.
|
1166
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
|
1925
1167
|
*/
|
1926
|
-
|
1168
|
+
pattern?: AttrString;
|
1927
1169
|
|
1928
1170
|
/**
|
1929
|
-
*
|
1930
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1171
|
+
* A short hint to display in the input field before the user enters a value.
|
1172
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-placeholder
|
1931
1173
|
*/
|
1932
|
-
|
1174
|
+
placeholder?: AttrString;
|
1933
1175
|
|
1934
1176
|
/**
|
1935
|
-
*
|
1936
|
-
* @see https://
|
1177
|
+
* Specifies the target element for the popover.
|
1178
|
+
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1937
1179
|
*/
|
1938
|
-
|
1180
|
+
popovertarget?: AttrString;
|
1939
1181
|
|
1940
1182
|
/**
|
1941
|
-
*
|
1942
|
-
* @see https://
|
1183
|
+
* Specifies the action to perform on the popover target.
|
1184
|
+
* @see https://developer.chrome.com/docs/web-platform/popover-api/popovertargetaction-toggle-attribute
|
1943
1185
|
*/
|
1944
|
-
|
1186
|
+
popovertargetaction?: AttrMissing | "toggle" | "show" | "hide";
|
1945
1187
|
|
1946
1188
|
/**
|
1947
1189
|
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
@@ -1956,59 +1198,16 @@ declare global {
|
|
1956
1198
|
required?: AttrBoolean;
|
1957
1199
|
|
1958
1200
|
/**
|
1959
|
-
* The number of characters wide
|
1201
|
+
* The number of characters wide a text input field should be displayed.
|
1960
1202
|
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-size
|
1961
1203
|
*/
|
1962
1204
|
size?: AttrStringOrNumber;
|
1963
1205
|
|
1964
1206
|
/**
|
1965
|
-
* The
|
1966
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1967
|
-
*/
|
1968
|
-
value?: AttrStringOrNumber;
|
1969
|
-
}
|
1970
|
-
interface InputTime extends Input {
|
1971
|
-
/**
|
1972
|
-
* The input type, set to "time" for this interface.
|
1973
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
1974
|
-
*/
|
1975
|
-
type: "time";
|
1976
|
-
|
1977
|
-
/**
|
1978
|
-
* Specifies whether the input field should have autocomplete enabled or disabled.
|
1979
|
-
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete
|
1980
|
-
*/
|
1981
|
-
autocomplete?: AttrOnOff;
|
1982
|
-
|
1983
|
-
/**
|
1984
|
-
* The ID of a <datalist> element that provides a list of suggested values for the input.
|
1985
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-list
|
1986
|
-
*/
|
1987
|
-
list?: AttrString;
|
1988
|
-
|
1989
|
-
/**
|
1990
|
-
* The maximum allowed value for the input.
|
1991
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-max
|
1992
|
-
*/
|
1993
|
-
max?: AttrString;
|
1994
|
-
|
1995
|
-
/**
|
1996
|
-
* The minimum allowed value for the input.
|
1997
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-min
|
1998
|
-
*/
|
1999
|
-
min?: AttrString;
|
2000
|
-
|
2001
|
-
/**
|
2002
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
2003
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
2004
|
-
*/
|
2005
|
-
readonly?: AttrBoolean;
|
2006
|
-
|
2007
|
-
/**
|
2008
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
2009
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
1207
|
+
* The URL of the image file.
|
1208
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-src
|
2010
1209
|
*/
|
2011
|
-
|
1210
|
+
src?: AttrString;
|
2012
1211
|
|
2013
1212
|
/**
|
2014
1213
|
* Specifies the allowed number intervals for the input value.
|
@@ -2017,67 +1216,47 @@ declare global {
|
|
2017
1216
|
step?: AttrString;
|
2018
1217
|
|
2019
1218
|
/**
|
2020
|
-
*
|
2021
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
2022
|
-
*/
|
2023
|
-
value?: AttrString;
|
2024
|
-
}
|
2025
|
-
|
2026
|
-
interface InputWeek extends Input {
|
2027
|
-
/**
|
2028
|
-
* The input type, set to "week" for this interface.
|
1219
|
+
* Controls the data type (and associated control) of the element.
|
2029
1220
|
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-type
|
2030
1221
|
*/
|
2031
|
-
type:
|
2032
|
-
|
2033
|
-
|
2034
|
-
|
2035
|
-
|
2036
|
-
|
2037
|
-
|
2038
|
-
|
2039
|
-
|
2040
|
-
|
2041
|
-
|
2042
|
-
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
2050
|
-
|
2051
|
-
|
2052
|
-
|
2053
|
-
|
2054
|
-
|
2055
|
-
min?: AttrString;
|
2056
|
-
|
2057
|
-
/**
|
2058
|
-
* Indicates whether the input should be read-only or not. Read-only inputs cannot be edited.
|
2059
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-readonly
|
2060
|
-
*/
|
2061
|
-
readonly?: AttrBoolean;
|
2062
|
-
|
2063
|
-
/**
|
2064
|
-
* Indicates whether the input is required to have a value for the form to be submitted.
|
2065
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-required
|
2066
|
-
*/
|
2067
|
-
required?: AttrBoolean;
|
1222
|
+
type:
|
1223
|
+
| AttrMissing
|
1224
|
+
| "button"
|
1225
|
+
| "checkbox"
|
1226
|
+
| "color"
|
1227
|
+
| "date"
|
1228
|
+
| "datetime-local"
|
1229
|
+
| "email"
|
1230
|
+
| "file"
|
1231
|
+
| "hidden"
|
1232
|
+
| "image"
|
1233
|
+
| "month"
|
1234
|
+
| "number"
|
1235
|
+
| "password"
|
1236
|
+
| "radio"
|
1237
|
+
| "range"
|
1238
|
+
| "reset"
|
1239
|
+
| "search"
|
1240
|
+
| "submit"
|
1241
|
+
| "tel"
|
1242
|
+
| "text"
|
1243
|
+
| "time"
|
1244
|
+
| "url"
|
1245
|
+
| "week";
|
2068
1246
|
|
2069
1247
|
/**
|
2070
|
-
* Specifies the
|
2071
|
-
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-
|
1248
|
+
* Specifies the string value you want to pass back to the server.
|
1249
|
+
* @see https://html.spec.whatwg.org/multipage/input.html#attr-input-value
|
2072
1250
|
*/
|
2073
|
-
|
1251
|
+
value?: AttrStringOrNumber;
|
2074
1252
|
|
2075
1253
|
/**
|
2076
|
-
* The
|
2077
|
-
* @see https://html.spec.whatwg.org/multipage/
|
1254
|
+
* The width of an image input in pixels.
|
1255
|
+
* @see https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-width
|
2078
1256
|
*/
|
2079
|
-
|
1257
|
+
width?: AttrStringOrNumber;
|
2080
1258
|
}
|
1259
|
+
|
2081
1260
|
interface Ins extends HTMLAttributes<HTMLModElement> {
|
2082
1261
|
/**
|
2083
1262
|
* A URI for a resource that explains the reason for the insertion.
|
@@ -3109,7 +2288,29 @@ declare global {
|
|
3109
2288
|
interface WBr extends HTMLAttributes<HTMLElement> {}
|
3110
2289
|
}
|
3111
2290
|
|
3112
|
-
interface
|
2291
|
+
interface Directives {
|
2292
|
+
/**
|
2293
|
+
* Used to uniquely identify a tag within a template in order
|
2294
|
+
* to get an element reference to it later.
|
2295
|
+
*
|
2296
|
+
* @see Marko.Component.getEl
|
2297
|
+
* @see Marko.Component.getComponent
|
2298
|
+
*/
|
2299
|
+
key?: AttrString;
|
2300
|
+
|
2301
|
+
/**
|
2302
|
+
* Tells Marko to avoid updating the element or it's contents (excluding custom tags which may rerender independently).
|
2303
|
+
*/
|
2304
|
+
"no-update"?: AttrBoolean;
|
2305
|
+
|
2306
|
+
/**
|
2307
|
+
* Tells Marko to avoid updating an elements contents (excluding custom tags which may rerender independently).
|
2308
|
+
*/
|
2309
|
+
"no-update-if"?: AttrBoolean;
|
2310
|
+
}
|
2311
|
+
|
2312
|
+
interface HTMLAttributes<T extends Element = Element>
|
2313
|
+
extends AriaAttributes {
|
3113
2314
|
/**
|
3114
2315
|
* Specifies a keyboard shortcut to activate or focus on an element.
|
3115
2316
|
* @see https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
|
@@ -4536,7 +3737,7 @@ type AttrClass =
|
|
4536
3737
|
| string
|
4537
3738
|
| AttrClass[]
|
4538
3739
|
| Record<string, AttrMissing | boolean>;
|
4539
|
-
type AttrStyle = AttrMissing | csstype.PropertiesHyphen | AttrStyle[];
|
3740
|
+
type AttrStyle = AttrMissing | string | csstype.PropertiesHyphen | AttrStyle[];
|
4540
3741
|
type AttrCrossOrigin = AttrBoolean | "anonymous" | "use-credentials";
|
4541
3742
|
type AttrEventHandler<Event, Target> =
|
4542
3743
|
| AttrMissing
|