OLD | NEW |
---|---|
1 | 1 |
2 class KeyboardEvent extends UIEvent native "*KeyboardEvent" { | 2 class KeyboardEvent extends UIEvent native "*KeyboardEvent" { |
3 | 3 |
4 bool altGraphKey; | 4 bool get altGraphKey() native "return this.altGraphKey;"; |
5 | 5 |
6 bool altKey; | 6 bool get altKey() native "return this.altKey;"; |
7 | 7 |
8 bool ctrlKey; | 8 bool get ctrlKey() native "return this.ctrlKey;"; |
9 | 9 |
10 String keyIdentifier; | 10 String get keyIdentifier() native "return this.keyIdentifier;"; |
11 | 11 |
12 int keyLocation; | 12 int get keyLocation() native "return this.keyLocation;"; |
13 | 13 |
14 bool metaKey; | 14 bool get metaKey() native "return this.metaKey;"; |
15 | 15 |
16 bool shiftKey; | 16 bool get shiftKey() native "return this.shiftKey;"; |
17 | 17 |
18 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native; | 18 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native; |
19 } | 19 } |
OLD | NEW |