ladybird/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl
Andreas Kling 2660795bcf LibWeb: Add the HTMLInputElement.type attribute
This makes React react to change events on text <input> elements. :^)
2022-02-17 16:33:55 +01:00

37 lines
1.2 KiB
Text

#import <HTML/HTMLElement.idl>
#import <HTML/HTMLFormElement.idl>
interface HTMLInputElement : HTMLElement {
readonly attribute HTMLFormElement? form;
[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;
[Reflect] attribute DOMString name;
[Reflect=dirname] attribute DOMString dirName;
[Reflect=value] attribute DOMString defaultValue;
attribute DOMString type;
[LegacyNullToEmptyString] attribute DOMString value;
attribute boolean checked;
[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;
[Reflect] attribute DOMString align;
[Reflect=usemap] attribute DOMString useMap;
};