OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface HTMLButtonElement extends HTMLElement { | 7 interface HTMLButtonElement extends HTMLElement { |
8 | 8 |
9 bool get autofocus(); | 9 bool autofocus; |
10 | 10 |
11 void set autofocus(bool value); | 11 bool disabled; |
12 | 12 |
13 bool get disabled(); | 13 final HTMLFormElement form; |
14 | 14 |
15 void set disabled(bool value); | 15 String formAction; |
16 | 16 |
17 HTMLFormElement get form(); | 17 String formEnctype; |
18 | 18 |
19 String get formAction(); | 19 String formMethod; |
20 | 20 |
21 void set formAction(String value); | 21 bool formNoValidate; |
22 | 22 |
23 String get formEnctype(); | 23 String formTarget; |
24 | 24 |
25 void set formEnctype(String value); | 25 final NodeList labels; |
26 | 26 |
27 String get formMethod(); | 27 String name; |
28 | 28 |
29 void set formMethod(String value); | 29 final String type; |
30 | 30 |
31 bool get formNoValidate(); | 31 final String validationMessage; |
32 | 32 |
33 void set formNoValidate(bool value); | 33 final ValidityState validity; |
34 | 34 |
35 String get formTarget(); | 35 String value; |
36 | 36 |
37 void set formTarget(String value); | 37 final bool willValidate; |
38 | |
39 NodeList get labels(); | |
40 | |
41 String get name(); | |
42 | |
43 void set name(String value); | |
44 | |
45 String get type(); | |
46 | |
47 String get validationMessage(); | |
48 | |
49 ValidityState get validity(); | |
50 | |
51 String get value(); | |
52 | |
53 void set value(String value); | |
54 | |
55 bool get willValidate(); | |
56 | 38 |
57 bool checkValidity(); | 39 bool checkValidity(); |
58 | 40 |
59 void click(); | 41 void click(); |
60 | 42 |
61 void setCustomValidity(String error); | 43 void setCustomValidity(String error); |
62 } | 44 } |
OLD | NEW |