OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 interface MouseEvent extends UIEvent default MouseEventWrappingImplementation { | |
6 | |
7 MouseEvent(String type, Window view, int detail, int screenX, int screenY, | |
8 int clientX, int clientY, int button, [bool canBubble, bool cancelable, | |
9 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, | |
10 EventTarget relatedTarget]); | |
11 | |
12 bool get altKey(); | |
13 | |
14 int get button(); | |
15 | |
16 int get clientX(); | |
17 | |
18 int get clientY(); | |
19 | |
20 bool get ctrlKey(); | |
21 | |
22 Node get fromElement(); | |
23 | |
24 bool get metaKey(); | |
25 | |
26 int get offsetX(); | |
27 | |
28 int get offsetY(); | |
29 | |
30 EventTarget get relatedTarget(); | |
31 | |
32 int get screenX(); | |
33 | |
34 int get screenY(); | |
35 | |
36 bool get shiftKey(); | |
37 | |
38 Node get toElement(); | |
39 | |
40 int get x(); | |
41 | |
42 int get y(); | |
43 } | |
OLD | NEW |