| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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: | 5 // WARNING: |
| 6 // This file contains documentation that is merged into the real source. | 6 // This file contains documentation that is merged into the real source. |
| 7 // Do not make code changes here. | 7 // Do not make code changes here. |
| 8 | 8 |
| 9 /// @domName MouseEvent | 9 /// @domName MouseEvent |
| 10 interface MouseEvent extends UIEvent default _MouseEventFactoryProvider { | 10 interface MouseEvent extends UIEvent default _MouseEventFactoryProvider { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 /** @domName MouseEvent.dataTransfer */ | 33 /** @domName MouseEvent.dataTransfer */ |
| 34 final Clipboard dataTransfer; | 34 final Clipboard dataTransfer; |
| 35 | 35 |
| 36 /** @domName MouseEvent.fromElement */ | 36 /** @domName MouseEvent.fromElement */ |
| 37 final Node fromElement; | 37 final Node fromElement; |
| 38 | 38 |
| 39 /** @domName MouseEvent.metaKey */ | 39 /** @domName MouseEvent.metaKey */ |
| 40 final bool metaKey; | 40 final bool metaKey; |
| 41 | 41 |
| 42 /** @domName MouseEvent.offsetX */ | 42 /** |
| 43 * The X coordinate of the mouse pointer in target node coordinates. |
| 44 * This value may vary between platforms if the target node moves |
| 45 * after the event has fired or if the element has CSS transforms affecting |
| 46 * it. |
| 47 */ |
| 43 final int offsetX; | 48 final int offsetX; |
| 44 | 49 |
| 45 /** @domName MouseEvent.offsetY */ | 50 /** |
| 51 * The Y coordinate of the mouse pointer in target node coordinates. |
| 52 * This value may vary between platforms if the target node moves |
| 53 * after the event has fired or if the element has CSS transforms affecting |
| 54 * it. |
| 55 */ |
| 46 final int offsetY; | 56 final int offsetY; |
| 47 | 57 |
| 48 /** @domName MouseEvent.relatedTarget */ | 58 /** @domName MouseEvent.relatedTarget */ |
| 49 final EventTarget relatedTarget; | 59 final EventTarget relatedTarget; |
| 50 | 60 |
| 51 /** @domName MouseEvent.screenX */ | 61 /** @domName MouseEvent.screenX */ |
| 52 final int screenX; | 62 final int screenX; |
| 53 | 63 |
| 54 /** @domName MouseEvent.screenY */ | 64 /** @domName MouseEvent.screenY */ |
| 55 final int screenY; | 65 final int screenY; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 68 | 78 |
| 69 /** @domName MouseEvent.x */ | 79 /** @domName MouseEvent.x */ |
| 70 final int x; | 80 final int x; |
| 71 | 81 |
| 72 /** @domName MouseEvent.y */ | 82 /** @domName MouseEvent.y */ |
| 73 final int y; | 83 final int y; |
| 74 | 84 |
| 75 /** @domName MouseEvent.initMouseEvent */ | 85 /** @domName MouseEvent.initMouseEvent */ |
| 76 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get); | 86 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get); |
| 77 } | 87 } |
| OLD | NEW |