lib/hyalite/dom/event/keyboard_event.rb in hyalite-0.2.0 vs lib/hyalite/dom/event/keyboard_event.rb in hyalite-0.2.1

- old
+ new

@@ -4,10 +4,21 @@ class KeyboardEvent include Native include Event alias_native :code - alias_native :key_code, :keyCode + alias_native :key + alias_native :shift_key, :shiftKey + alias_native :alt_key, :altKey + alias_native :ctrl_key, :ctrlKey + alias_native :meta_key, :metaKey + alias_native :locale + alias_native :location + alias_native :repeat + alias_native :composing?, :isComposing + alias_native :modifierState, :getModifierState + alias_native :init_key_event, :initKeyEventg + alias_native :init_keyboard_event, :initKeyboardEventg end end end end