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 part of html; | 5 part of $LIBRARYNAME; |
6 | 6 |
7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
8 | 8 |
9 factory WheelEvent(String type, | 9 factory WheelEvent(String type, |
10 {Window view, int deltaX: 0, int deltaY: 0, | 10 {Window view, int deltaX: 0, int deltaY: 0, |
11 int detail: 0, int screenX: 0, int screenY: 0, int clientX: 0, | 11 int detail: 0, int screenX: 0, int screenY: 0, int clientX: 0, |
12 int clientY: 0, int button: 0, bool canBubble: true, | 12 int clientY: 0, int button: 0, bool canBubble: true, |
13 bool cancelable: true, bool ctrlKey: false, bool altKey: false, | 13 bool cancelable: true, bool ctrlKey: false, bool altKey: false, |
14 bool shiftKey: false, bool metaKey: false, EventTarget relatedTarget}) { | 14 bool shiftKey: false, bool metaKey: false, EventTarget relatedTarget}) { |
15 | 15 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 $else | 195 $else |
196 @DomName('WheelEvent.deltaX') | 196 @DomName('WheelEvent.deltaX') |
197 num get deltaX => $dom_wheelDeltaX; | 197 num get deltaX => $dom_wheelDeltaX; |
198 @DomName('WheelEvent.deltaY') | 198 @DomName('WheelEvent.deltaY') |
199 num get deltaY => $dom_wheelDeltaY; | 199 num get deltaY => $dom_wheelDeltaY; |
200 @DomName('WheelEvent.deltaMode') | 200 @DomName('WheelEvent.deltaMode') |
201 int get deltaMode => 0; | 201 int get deltaMode => 0; |
202 | 202 |
203 $endif | 203 $endif |
204 } | 204 } |
OLD | NEW |