typestring - The type of the event, can bekeyDown,keyUporchar.keyCodestring - The character that will be sent as the keyboard event. Should only use the valid key codes in Accelerator.
type string - The type of the event, can be keyDown, keyUp or char.keyCode string - The character that will be sent
as the keyboard event. Should only use the valid key codes in
Accelerator.