UI EventsKeyboardEventConstructorKeyboardEvent()Instance propertiesaltKeycharCode Deprecated code ctrlKeyisComposingkeykeyCode Deprecated keyIdentifier Non-standard Deprecated locationmetaKeyrepeatshiftKeyInstance methodsgetModifierState()initKeyboardEvent() Deprecated initKeyEvent() Non-standard Deprecated InheritanceUIEventEventRelated pages for UI EventsCompositionEventFocusEventInputEventMouse