OLD | NEW |
1 | 1 |
2 class HTMLTextAreaElement extends HTMLElement native "*HTMLTextAreaElement" { | 2 class HTMLTextAreaElementJS extends HTMLElementJS implements HTMLTextAreaElement
native "*HTMLTextAreaElement" { |
3 | 3 |
4 bool get autofocus() native "return this.autofocus;"; | 4 bool get autofocus() native "return this.autofocus;"; |
5 | 5 |
6 void set autofocus(bool value) native "this.autofocus = value;"; | 6 void set autofocus(bool value) native "this.autofocus = value;"; |
7 | 7 |
8 int get cols() native "return this.cols;"; | 8 int get cols() native "return this.cols;"; |
9 | 9 |
10 void set cols(int value) native "this.cols = value;"; | 10 void set cols(int value) native "this.cols = value;"; |
11 | 11 |
12 String get defaultValue() native "return this.defaultValue;"; | 12 String get defaultValue() native "return this.defaultValue;"; |
13 | 13 |
14 void set defaultValue(String value) native "this.defaultValue = value;"; | 14 void set defaultValue(String value) native "this.defaultValue = value;"; |
15 | 15 |
16 String get dirName() native "return this.dirName;"; | 16 String get dirName() native "return this.dirName;"; |
17 | 17 |
18 void set dirName(String value) native "this.dirName = value;"; | 18 void set dirName(String value) native "this.dirName = value;"; |
19 | 19 |
20 bool get disabled() native "return this.disabled;"; | 20 bool get disabled() native "return this.disabled;"; |
21 | 21 |
22 void set disabled(bool value) native "this.disabled = value;"; | 22 void set disabled(bool value) native "this.disabled = value;"; |
23 | 23 |
24 HTMLFormElement get form() native "return this.form;"; | 24 HTMLFormElementJS get form() native "return this.form;"; |
25 | 25 |
26 NodeList get labels() native "return this.labels;"; | 26 NodeListJS get labels() native "return this.labels;"; |
27 | 27 |
28 int get maxLength() native "return this.maxLength;"; | 28 int get maxLength() native "return this.maxLength;"; |
29 | 29 |
30 void set maxLength(int value) native "this.maxLength = value;"; | 30 void set maxLength(int value) native "this.maxLength = value;"; |
31 | 31 |
32 String get name() native "return this.name;"; | 32 String get name() native "return this.name;"; |
33 | 33 |
34 void set name(String value) native "this.name = value;"; | 34 void set name(String value) native "this.name = value;"; |
35 | 35 |
36 String get placeholder() native "return this.placeholder;"; | 36 String get placeholder() native "return this.placeholder;"; |
(...skipping 23 matching lines...) Expand all Loading... |
60 int get selectionStart() native "return this.selectionStart;"; | 60 int get selectionStart() native "return this.selectionStart;"; |
61 | 61 |
62 void set selectionStart(int value) native "this.selectionStart = value;"; | 62 void set selectionStart(int value) native "this.selectionStart = value;"; |
63 | 63 |
64 int get textLength() native "return this.textLength;"; | 64 int get textLength() native "return this.textLength;"; |
65 | 65 |
66 String get type() native "return this.type;"; | 66 String get type() native "return this.type;"; |
67 | 67 |
68 String get validationMessage() native "return this.validationMessage;"; | 68 String get validationMessage() native "return this.validationMessage;"; |
69 | 69 |
70 ValidityState get validity() native "return this.validity;"; | 70 ValidityStateJS get validity() native "return this.validity;"; |
71 | 71 |
72 String get value() native "return this.value;"; | 72 String get value() native "return this.value;"; |
73 | 73 |
74 void set value(String value) native "this.value = value;"; | 74 void set value(String value) native "this.value = value;"; |
75 | 75 |
76 bool get willValidate() native "return this.willValidate;"; | 76 bool get willValidate() native "return this.willValidate;"; |
77 | 77 |
78 String get wrap() native "return this.wrap;"; | 78 String get wrap() native "return this.wrap;"; |
79 | 79 |
80 void set wrap(String value) native "this.wrap = value;"; | 80 void set wrap(String value) native "this.wrap = value;"; |
81 | 81 |
82 bool checkValidity() native; | 82 bool checkValidity() native; |
83 | 83 |
84 void select() native; | 84 void select() native; |
85 | 85 |
86 void setCustomValidity(String error) native; | 86 void setCustomValidity(String error) native; |
87 | 87 |
88 void setSelectionRange(int start, int end, [String direction = null]) native; | 88 void setSelectionRange(int start, int end, [String direction = null]) native; |
89 } | 89 } |
OLD | NEW |