OLD | NEW |
1 | 1 |
2 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" { | 2 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" { |
3 | 3 |
4 bool autofocus; | 4 bool get autofocus() native "return this.autofocus;"; |
5 | 5 |
6 bool disabled; | 6 void set autofocus(bool value) native "this.autofocus = value;"; |
7 | 7 |
8 HTMLFormElement form; | 8 bool get disabled() native "return this.disabled;"; |
9 | 9 |
10 String formAction; | 10 void set disabled(bool value) native "this.disabled = value;"; |
11 | 11 |
12 String formEnctype; | 12 HTMLFormElement get form() native "return this.form;"; |
13 | 13 |
14 String formMethod; | 14 String get formAction() native "return this.formAction;"; |
15 | 15 |
16 bool formNoValidate; | 16 void set formAction(String value) native "this.formAction = value;"; |
17 | 17 |
18 String formTarget; | 18 String get formEnctype() native "return this.formEnctype;"; |
19 | 19 |
20 NodeList labels; | 20 void set formEnctype(String value) native "this.formEnctype = value;"; |
21 | 21 |
22 String name; | 22 String get formMethod() native "return this.formMethod;"; |
23 | 23 |
24 String type; | 24 void set formMethod(String value) native "this.formMethod = value;"; |
25 | 25 |
26 String validationMessage; | 26 bool get formNoValidate() native "return this.formNoValidate;"; |
27 | 27 |
28 ValidityState validity; | 28 void set formNoValidate(bool value) native "this.formNoValidate = value;"; |
29 | 29 |
30 String value; | 30 String get formTarget() native "return this.formTarget;"; |
31 | 31 |
32 bool willValidate; | 32 void set formTarget(String value) native "this.formTarget = value;"; |
| 33 |
| 34 NodeList get labels() native "return this.labels;"; |
| 35 |
| 36 String get name() native "return this.name;"; |
| 37 |
| 38 void set name(String value) native "this.name = value;"; |
| 39 |
| 40 String get type() native "return this.type;"; |
| 41 |
| 42 String get validationMessage() native "return this.validationMessage;"; |
| 43 |
| 44 ValidityState get validity() native "return this.validity;"; |
| 45 |
| 46 String get value() native "return this.value;"; |
| 47 |
| 48 void set value(String value) native "this.value = value;"; |
| 49 |
| 50 bool get willValidate() native "return this.willValidate;"; |
33 | 51 |
34 bool checkValidity() native; | 52 bool checkValidity() native; |
35 | 53 |
36 void click() native; | 54 void click() native; |
37 | 55 |
38 void setCustomValidity(String error) native; | 56 void setCustomValidity(String error) native; |
39 } | 57 } |
OLD | NEW |