HTMLInputElement.idl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #import <HTML/HTMLElement.idl>
  2. #import <HTML/HTMLFormElement.idl>
  3. #import <FileAPI/FileList.idl>
  4. // https://html.spec.whatwg.org/multipage/input.html#htmlinputelement
  5. [Exposed=Window]
  6. interface HTMLInputElement : HTMLElement {
  7. readonly attribute HTMLFormElement? form;
  8. attribute FileList? files;
  9. [Reflect] attribute DOMString accept;
  10. [Reflect] attribute DOMString alt;
  11. [Reflect] attribute DOMString max;
  12. [Reflect] attribute DOMString min;
  13. [Reflect] attribute DOMString pattern;
  14. [Reflect] attribute DOMString placeholder;
  15. [Reflect] attribute DOMString src;
  16. [Reflect] attribute DOMString step;
  17. [Reflect] attribute DOMString name;
  18. [Reflect=dirname] attribute DOMString dirName;
  19. [Reflect=value] attribute DOMString defaultValue;
  20. attribute DOMString type;
  21. [LegacyNullToEmptyString] attribute DOMString value;
  22. [ImplementedAs=checked_binding] attribute boolean checked;
  23. [Reflect] attribute boolean disabled;
  24. [Reflect=checked] attribute boolean defaultChecked;
  25. [Reflect=formnovalidate] attribute boolean formNoValidate;
  26. [Reflect=formtarget] attribute DOMString formTarget;
  27. [Reflect] attribute boolean multiple;
  28. [Reflect=readonly] attribute boolean readOnly;
  29. [Reflect] attribute boolean required;
  30. [Reflect] attribute DOMString align;
  31. [Reflect=usemap] attribute DOMString useMap;
  32. undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
  33. undefined showPicker();
  34. };