OLD | NEW |
(Empty) | |
| 1 |
| 2 class _KeyboardEventImpl extends _UIEventImpl implements KeyboardEvent { |
| 3 _KeyboardEventImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 bool get altGraphKey() => _wrap(_ptr.altGraphKey); |
| 6 |
| 7 bool get altKey() => _wrap(_ptr.altKey); |
| 8 |
| 9 bool get ctrlKey() => _wrap(_ptr.ctrlKey); |
| 10 |
| 11 String get keyIdentifier() => _wrap(_ptr.keyIdentifier); |
| 12 |
| 13 int get keyLocation() => _wrap(_ptr.keyLocation); |
| 14 |
| 15 bool get metaKey() => _wrap(_ptr.metaKey); |
| 16 |
| 17 bool get shiftKey() => _wrap(_ptr.shiftKey); |
| 18 |
| 19 void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window vi
ew, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shift
Key, bool metaKey, bool altGraphKey) { |
| 20 _ptr.initKeyboardEvent(_unwrap(type), _unwrap(canBubble), _unwrap(cancelable
), _unwrap(view), _unwrap(keyIdentifier), _unwrap(keyLocation), _unwrap(ctrlKey)
, _unwrap(altKey), _unwrap(shiftKey), _unwrap(metaKey), _unwrap(altGraphKey)); |
| 21 return; |
| 22 } |
| 23 } |
OLD | NEW |