| 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 $LIBRARYNAME; | 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, |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 $else | 223 $else |
| 224 /** | 224 /** |
| 225 * The amount that is expected to scroll horizontally, in units determined by | 225 * The amount that is expected to scroll horizontally, in units determined by |
| 226 * [deltaMode]. | 226 * [deltaMode]. |
| 227 * | 227 * |
| 228 * See also: | 228 * See also: |
| 229 * | 229 * |
| 230 * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaX) from the W3C. | 230 * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaX) from the W3C. |
| 231 */ | 231 */ |
| 232 @DomName('WheelEvent.deltaX') | 232 @DomName('WheelEvent.deltaX') |
| 233 num get deltaX => -$dom_wheelDeltaX; | 233 num get deltaX => -_wheelDeltaX; |
| 234 | 234 |
| 235 /** | 235 /** |
| 236 * The amount that is expected to scroll vertically, in units determined by | 236 * The amount that is expected to scroll vertically, in units determined by |
| 237 * [deltaMode]. | 237 * [deltaMode]. |
| 238 * | 238 * |
| 239 * See also: | 239 * See also: |
| 240 * | 240 * |
| 241 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. | 241 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. |
| 242 */ | 242 */ |
| 243 @DomName('WheelEvent.deltaY') | 243 @DomName('WheelEvent.deltaY') |
| 244 num get deltaY => -$dom_wheelDeltaY; | 244 num get deltaY => -_wheelDeltaY; |
| 245 $endif | 245 $endif |
| 246 } | 246 } |
| OLD | NEW |