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 HTMLSelectElement extends HTMLElement { | 7 interface HTMLSelectElement 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 final NodeList labels; |
16 | 16 |
17 HTMLFormElement get form(); | 17 int length; |
18 | 18 |
19 NodeList get labels(); | 19 bool multiple; |
20 | 20 |
21 int get length(); | 21 String name; |
22 | 22 |
23 void set length(int value); | 23 final HTMLOptionsCollection options; |
24 | 24 |
25 bool get multiple(); | 25 bool required; |
26 | 26 |
27 void set multiple(bool value); | 27 int selectedIndex; |
28 | 28 |
29 String get name(); | 29 int size; |
30 | 30 |
31 void set name(String value); | 31 final String type; |
32 | 32 |
33 HTMLOptionsCollection get options(); | 33 final String validationMessage; |
34 | 34 |
35 bool get required(); | 35 final ValidityState validity; |
36 | 36 |
37 void set required(bool value); | 37 String value; |
38 | 38 |
39 int get selectedIndex(); | 39 final bool willValidate; |
40 | |
41 void set selectedIndex(int value); | |
42 | |
43 int get size(); | |
44 | |
45 void set size(int value); | |
46 | |
47 String get type(); | |
48 | |
49 String get validationMessage(); | |
50 | |
51 ValidityState get validity(); | |
52 | |
53 String get value(); | |
54 | |
55 void set value(String value); | |
56 | |
57 bool get willValidate(); | |
58 | 40 |
59 void add(HTMLElement element, HTMLElement before); | 41 void add(HTMLElement element, HTMLElement before); |
60 | 42 |
61 bool checkValidity(); | 43 bool checkValidity(); |
62 | 44 |
63 Node item(int index); | 45 Node item(int index); |
64 | 46 |
65 Node namedItem(String name); | 47 Node namedItem(String name); |
66 | 48 |
67 void remove(var index_OR_option); | 49 void remove(var index_OR_option); |
68 | 50 |
69 void setCustomValidity(String error); | 51 void setCustomValidity(String error); |
70 } | 52 } |
OLD | NEW |