KeyboardEventsModel
Interface for the KeyboardEvents class.
Properties
eventName String
Specifies the event name in which to listen to. For example, keyup
, keydown
, or keypress
.
keyAction EmitType<KeyboardEventArgs>
Specifies the event callback when a keystroke is matched in the keyConfigs.
keyConfigs { [key: string]: string }
Specifies a collection of key presses and key combinations associated with the corresponding action.