OLD | NEW |
1 | 1 |
2 class _HTMLTextAreaElementJs extends _HTMLElementJs implements HTMLTextAreaEleme
nt native "*HTMLTextAreaElement" { | 2 class _HTMLTextAreaElementJs extends _HTMLElementJs implements HTMLTextAreaEleme
nt native "*HTMLTextAreaElement" { |
3 | 3 |
4 bool get autofocus() native "return this.autofocus;"; | 4 bool autofocus; |
5 | 5 |
6 void set autofocus(bool value) native "this.autofocus = value;"; | 6 int cols; |
7 | 7 |
8 int get cols() native "return this.cols;"; | 8 String defaultValue; |
9 | 9 |
10 void set cols(int value) native "this.cols = value;"; | 10 String dirName; |
11 | 11 |
12 String get defaultValue() native "return this.defaultValue;"; | 12 bool disabled; |
13 | 13 |
14 void set defaultValue(String value) native "this.defaultValue = value;"; | 14 final _HTMLFormElementJs form; |
15 | 15 |
16 String get dirName() native "return this.dirName;"; | 16 final _NodeListJs labels; |
17 | 17 |
18 void set dirName(String value) native "this.dirName = value;"; | 18 int maxLength; |
19 | 19 |
20 bool get disabled() native "return this.disabled;"; | 20 String name; |
21 | 21 |
22 void set disabled(bool value) native "this.disabled = value;"; | 22 String placeholder; |
23 | 23 |
24 _HTMLFormElementJs get form() native "return this.form;"; | 24 bool readOnly; |
25 | 25 |
26 _NodeListJs get labels() native "return this.labels;"; | 26 bool required; |
27 | 27 |
28 int get maxLength() native "return this.maxLength;"; | 28 int rows; |
29 | 29 |
30 void set maxLength(int value) native "this.maxLength = value;"; | 30 String selectionDirection; |
31 | 31 |
32 String get name() native "return this.name;"; | 32 int selectionEnd; |
33 | 33 |
34 void set name(String value) native "this.name = value;"; | 34 int selectionStart; |
35 | 35 |
36 String get placeholder() native "return this.placeholder;"; | 36 final int textLength; |
37 | 37 |
38 void set placeholder(String value) native "this.placeholder = value;"; | 38 final String type; |
39 | 39 |
40 bool get readOnly() native "return this.readOnly;"; | 40 final String validationMessage; |
41 | 41 |
42 void set readOnly(bool value) native "this.readOnly = value;"; | 42 final _ValidityStateJs validity; |
43 | 43 |
44 bool get required() native "return this.required;"; | 44 String value; |
45 | 45 |
46 void set required(bool value) native "this.required = value;"; | 46 final bool willValidate; |
47 | 47 |
48 int get rows() native "return this.rows;"; | 48 String wrap; |
49 | |
50 void set rows(int value) native "this.rows = value;"; | |
51 | |
52 String get selectionDirection() native "return this.selectionDirection;"; | |
53 | |
54 void set selectionDirection(String value) native "this.selectionDirection = va
lue;"; | |
55 | |
56 int get selectionEnd() native "return this.selectionEnd;"; | |
57 | |
58 void set selectionEnd(int value) native "this.selectionEnd = value;"; | |
59 | |
60 int get selectionStart() native "return this.selectionStart;"; | |
61 | |
62 void set selectionStart(int value) native "this.selectionStart = value;"; | |
63 | |
64 int get textLength() native "return this.textLength;"; | |
65 | |
66 String get type() native "return this.type;"; | |
67 | |
68 String get validationMessage() native "return this.validationMessage;"; | |
69 | |
70 _ValidityStateJs get validity() native "return this.validity;"; | |
71 | |
72 String get value() native "return this.value;"; | |
73 | |
74 void set value(String value) native "this.value = value;"; | |
75 | |
76 bool get willValidate() native "return this.willValidate;"; | |
77 | |
78 String get wrap() native "return this.wrap;"; | |
79 | |
80 void set wrap(String value) native "this.wrap = value;"; | |
81 | 49 |
82 bool checkValidity() native; | 50 bool checkValidity() native; |
83 | 51 |
84 void select() native; | 52 void select() native; |
85 | 53 |
86 void setCustomValidity(String error) native; | 54 void setCustomValidity(String error) native; |
87 | 55 |
88 void setSelectionRange(int start, int end, [String direction = null]) native; | 56 void setSelectionRange(int start, int end, [String direction = null]) native; |
89 } | 57 } |
OLD | NEW |