2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
#import <HTML/HTMLFormElement.idl>
|
2022-10-03 23:39:53 -06:00
|
|
|
#import <FileAPI/FileList.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://html.spec.whatwg.org/multipage/input.html#htmlinputelement
|
|
|
|
[Exposed=Window]
|
2020-07-27 05:04:26 +01:00
|
|
|
interface HTMLInputElement : HTMLElement {
|
|
|
|
|
2021-04-20 11:50:29 +02:00
|
|
|
readonly attribute HTMLFormElement? form;
|
2022-10-03 23:39:53 -06:00
|
|
|
attribute FileList? files;
|
2021-04-20 11:50:29 +02:00
|
|
|
|
2020-07-27 05:04:26 +01:00
|
|
|
[Reflect] attribute DOMString accept;
|
|
|
|
[Reflect] attribute DOMString alt;
|
|
|
|
[Reflect] attribute DOMString max;
|
|
|
|
[Reflect] attribute DOMString min;
|
|
|
|
[Reflect] attribute DOMString pattern;
|
|
|
|
[Reflect] attribute DOMString placeholder;
|
|
|
|
[Reflect] attribute DOMString src;
|
|
|
|
[Reflect] attribute DOMString step;
|
2021-05-04 21:52:32 +01:00
|
|
|
[Reflect] attribute DOMString name;
|
2020-07-27 05:04:26 +01:00
|
|
|
[Reflect=dirname] attribute DOMString dirName;
|
|
|
|
[Reflect=value] attribute DOMString defaultValue;
|
|
|
|
|
2022-02-17 13:12:01 +01:00
|
|
|
attribute DOMString type;
|
|
|
|
|
2021-02-10 18:26:07 +01:00
|
|
|
[LegacyNullToEmptyString] attribute DOMString value;
|
|
|
|
|
2022-03-15 01:13:05 +00:00
|
|
|
[ImplementedAs=checked_binding] attribute boolean checked;
|
2020-11-09 08:15:10 +00:00
|
|
|
|
|
|
|
[Reflect] attribute boolean disabled;
|
|
|
|
[Reflect=checked] attribute boolean defaultChecked;
|
|
|
|
[Reflect=formnovalidate] attribute boolean formNoValidate;
|
|
|
|
[Reflect=formtarget] attribute DOMString formTarget;
|
|
|
|
[Reflect] attribute boolean multiple;
|
|
|
|
[Reflect=readonly] attribute boolean readOnly;
|
|
|
|
[Reflect] attribute boolean required;
|
|
|
|
|
2020-11-12 04:16:41 +00:00
|
|
|
[Reflect] attribute DOMString align;
|
|
|
|
[Reflect=usemap] attribute DOMString useMap;
|
|
|
|
|
2022-10-03 23:39:53 -06:00
|
|
|
undefined showPicker();
|
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|