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)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ | 7 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ |
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'clientY': clientY, | 88 'clientY': clientY, |
89 'button': button, | 89 'button': button, |
90 'bubbles': canBubble, | 90 'bubbles': canBubble, |
91 'cancelable': cancelable, | 91 'cancelable': cancelable, |
92 'ctrlKey': ctrlKey, | 92 'ctrlKey': ctrlKey, |
93 'altKey': altKey, | 93 'altKey': altKey, |
94 'shiftKey': shiftKey, | 94 'shiftKey': shiftKey, |
95 'metaKey': metaKey, | 95 'metaKey': metaKey, |
96 'relatedTarget': relatedTarget, | 96 'relatedTarget': relatedTarget, |
97 }; | 97 }; |
98 return _blink.BlinkWheelEvent.constructorCallback(type, options); | 98 return _blink.BlinkWheelEvent.constructorCallback_2(type, options); |
99 $endif | 99 $endif |
100 } | 100 } |
101 | 101 |
102 $!MEMBERS | 102 $!MEMBERS |
103 | 103 |
104 $if DART2JS | 104 $if DART2JS |
105 /** | 105 /** |
106 * The amount that is expected to scroll vertically, in units determined by | 106 * The amount that is expected to scroll vertically, in units determined by |
107 * [deltaMode]. | 107 * [deltaMode]. |
108 * | 108 * |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 * [deltaMode]. | 249 * [deltaMode]. |
250 * | 250 * |
251 * See also: | 251 * See also: |
252 * | 252 * |
253 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. | 253 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. |
254 */ | 254 */ |
255 @DomName('WheelEvent.deltaY') | 255 @DomName('WheelEvent.deltaY') |
256 num get deltaY => _deltaY; | 256 num get deltaY => _deltaY; |
257 $endif | 257 $endif |
258 } | 258 } |
OLD | NEW |