OLD | NEW |
1 | 1 |
2 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" { | 2 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" { |
3 | 3 |
4 String align; | 4 String get align() native "return this.align;"; |
5 | 5 |
6 String alt; | 6 void set align(String value) native "this.align = value;"; |
7 | 7 |
8 String border; | 8 String get alt() native "return this.alt;"; |
9 | 9 |
10 bool complete; | 10 void set alt(String value) native "this.alt = value;"; |
11 | 11 |
12 String crossOrigin; | 12 String get border() native "return this.border;"; |
13 | 13 |
14 int height; | 14 void set border(String value) native "this.border = value;"; |
15 | 15 |
16 int hspace; | 16 bool get complete() native "return this.complete;"; |
17 | 17 |
18 bool isMap; | 18 String get crossOrigin() native "return this.crossOrigin;"; |
19 | 19 |
20 String longDesc; | 20 void set crossOrigin(String value) native "this.crossOrigin = value;"; |
21 | 21 |
22 String lowsrc; | 22 int get height() native "return this.height;"; |
23 | 23 |
24 String name; | 24 void set height(int value) native "this.height = value;"; |
25 | 25 |
26 int naturalHeight; | 26 int get hspace() native "return this.hspace;"; |
27 | 27 |
28 int naturalWidth; | 28 void set hspace(int value) native "this.hspace = value;"; |
29 | 29 |
30 String src; | 30 bool get isMap() native "return this.isMap;"; |
31 | 31 |
32 String useMap; | 32 void set isMap(bool value) native "this.isMap = value;"; |
33 | 33 |
34 int vspace; | 34 String get longDesc() native "return this.longDesc;"; |
35 | 35 |
36 int width; | 36 void set longDesc(String value) native "this.longDesc = value;"; |
37 | 37 |
38 int x; | 38 String get lowsrc() native "return this.lowsrc;"; |
39 | 39 |
40 int y; | 40 void set lowsrc(String value) native "this.lowsrc = value;"; |
| 41 |
| 42 String get name() native "return this.name;"; |
| 43 |
| 44 void set name(String value) native "this.name = value;"; |
| 45 |
| 46 int get naturalHeight() native "return this.naturalHeight;"; |
| 47 |
| 48 int get naturalWidth() native "return this.naturalWidth;"; |
| 49 |
| 50 String get src() native "return this.src;"; |
| 51 |
| 52 void set src(String value) native "this.src = value;"; |
| 53 |
| 54 String get useMap() native "return this.useMap;"; |
| 55 |
| 56 void set useMap(String value) native "this.useMap = value;"; |
| 57 |
| 58 int get vspace() native "return this.vspace;"; |
| 59 |
| 60 void set vspace(int value) native "this.vspace = value;"; |
| 61 |
| 62 int get width() native "return this.width;"; |
| 63 |
| 64 void set width(int value) native "this.width = value;"; |
| 65 |
| 66 int get x() native "return this.x;"; |
| 67 |
| 68 int get y() native "return this.y;"; |
41 } | 69 } |
OLD | NEW |