OLD | NEW |
1 | 1 |
2 class HTMLOptionElement extends HTMLElement native "*HTMLOptionElement" { | 2 class HTMLOptionElement extends HTMLElement native "*HTMLOptionElement" { |
3 | 3 |
4 bool defaultSelected; | 4 bool get defaultSelected() native "return this.defaultSelected;"; |
5 | 5 |
6 bool disabled; | 6 void set defaultSelected(bool value) native "this.defaultSelected = value;"; |
7 | 7 |
8 HTMLFormElement form; | 8 bool get disabled() native "return this.disabled;"; |
9 | 9 |
10 int index; | 10 void set disabled(bool value) native "this.disabled = value;"; |
11 | 11 |
12 String label; | 12 HTMLFormElement get form() native "return this.form;"; |
13 | 13 |
14 bool selected; | 14 int get index() native "return this.index;"; |
15 | 15 |
16 String text; | 16 String get label() native "return this.label;"; |
17 | 17 |
18 String value; | 18 void set label(String value) native "this.label = value;"; |
| 19 |
| 20 bool get selected() native "return this.selected;"; |
| 21 |
| 22 void set selected(bool value) native "this.selected = value;"; |
| 23 |
| 24 String get text() native "return this.text;"; |
| 25 |
| 26 void set text(String value) native "this.text = value;"; |
| 27 |
| 28 String get value() native "return this.value;"; |
| 29 |
| 30 void set value(String value) native "this.value = value;"; |
19 } | 31 } |
OLD | NEW |