/
HTMLInputElement.idl
69 lines (63 loc) · 2.5 KB
/
HTMLInputElement.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
interface HTMLInputElement : HTMLElement {
[Reflect] attribute DOMString accept;
[Reflect] attribute DOMString alt;
[Reflect] attribute DOMString autocomplete;
[Reflect] attribute boolean autofocus;
[Reflect=checked] attribute boolean defaultChecked;
attribute boolean checked;
[Reflect] attribute DOMString dirName;
[Reflect] attribute boolean disabled;
readonly attribute HTMLFormElement? form;
readonly attribute FileList? files;
// attribute DOMString formAction;
// attribute DOMString formEnctype;
// attribute DOMString formMethod;
[Reflect] attribute boolean formNoValidate;
[Reflect] attribute DOMString formTarget;
// attribute unsigned long height;
// attribute boolean indeterminate;
[Reflect] attribute DOMString inputMode;
// readonly attribute HTMLElement? list;
[Reflect] attribute DOMString max;
attribute long maxLength;
[Reflect] attribute DOMString min;
attribute long minLength;
[Reflect] attribute boolean multiple;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString pattern;
[Reflect] attribute DOMString placeholder;
[Reflect] attribute boolean readOnly;
[Reflect] attribute boolean required;
attribute unsigned long size;
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString step;
attribute DOMString type;
[Reflect=value] attribute DOMString defaultValue;
[TreatNullAs=EmptyString] attribute DOMString value;
// attribute object? valueAsDate;
// attribute unrestricted double valueAsNumber;
// attribute double valueLow;
// attribute double valueHigh;
// attribute unsigned long width;
// void stepUp(optional long n = 1);
// void stepDown(optional long n = 1);
// readonly attribute boolean willValidate;
// readonly attribute ValidityState validity;
// readonly attribute DOMString validationMessage;
// boolean checkValidity();
// boolean reportValidity();
// void setCustomValidity(DOMString error);
// [SameObject] readonly attribute NodeList labels;
void select();
attribute unsigned long? selectionStart;
attribute unsigned long? selectionEnd;
attribute DOMString? selectionDirection;
void setRangeText(DOMString replacement);
void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
// also has obsolete members
};
partial interface HTMLInputElement {
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString useMap;
};