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 | 5 |
6 /// @domName KeyboardEvent; @docsEditable true | 6 /// @domName KeyboardEvent; @docsEditable true |
7 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 7 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
8 | 8 |
9 factory $CLASSNAME(String type, Window view, | 9 factory $CLASSNAME(String type, Window view, |
10 [bool canBubble = true, bool cancelable = true, | 10 [bool canBubble = true, bool cancelable = true, |
(...skipping 26 matching lines...) Expand all Loading... |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 /** @domName KeyboardEvent.keyCode */ | 40 /** @domName KeyboardEvent.keyCode */ |
41 int get keyCode => $dom_keyCode; | 41 int get keyCode => $dom_keyCode; |
42 | 42 |
43 /** @domName KeyboardEvent.charCode */ | 43 /** @domName KeyboardEvent.charCode */ |
44 int get charCode => $dom_charCode; | 44 int get charCode => $dom_charCode; |
45 $!MEMBERS | 45 $!MEMBERS |
46 } | 46 } |
OLD | NEW |