OLD | NEW |
1 | 1 |
2 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent
" { | 2 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent
" { |
3 | 3 |
4 bool get altKey() native "return this.altKey;"; | 4 final bool altKey; |
5 | 5 |
6 int get clientX() native "return this.clientX;"; | 6 final int clientX; |
7 | 7 |
8 int get clientY() native "return this.clientY;"; | 8 final int clientY; |
9 | 9 |
10 bool get ctrlKey() native "return this.ctrlKey;"; | 10 final bool ctrlKey; |
11 | 11 |
12 bool get metaKey() native "return this.metaKey;"; | 12 final bool metaKey; |
13 | 13 |
14 int get offsetX() native "return this.offsetX;"; | 14 final int offsetX; |
15 | 15 |
16 int get offsetY() native "return this.offsetY;"; | 16 final int offsetY; |
17 | 17 |
18 int get screenX() native "return this.screenX;"; | 18 final int screenX; |
19 | 19 |
20 int get screenY() native "return this.screenY;"; | 20 final int screenY; |
21 | 21 |
22 bool get shiftKey() native "return this.shiftKey;"; | 22 final bool shiftKey; |
23 | 23 |
24 bool get webkitDirectionInvertedFromDevice() native "return this.webkitDirecti
onInvertedFromDevice;"; | 24 final bool webkitDirectionInvertedFromDevice; |
25 | 25 |
26 int get wheelDelta() native "return this.wheelDelta;"; | 26 final int wheelDelta; |
27 | 27 |
28 int get wheelDeltaX() native "return this.wheelDeltaX;"; | 28 final int wheelDeltaX; |
29 | 29 |
30 int get wheelDeltaY() native "return this.wheelDeltaY;"; | 30 final int wheelDeltaY; |
31 | 31 |
32 int get x() native "return this.x;"; | 32 final int x; |
33 | 33 |
34 int get y() native "return this.y;"; | 34 final int y; |
35 | 35 |
36 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey,
bool shiftKey, bool metaKey) native; | 36 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey,
bool shiftKey, bool metaKey) native; |
37 } | 37 } |
OLD | NEW |