Back to Electron

KeyboardInputEvent Object extends `InputEvent`

docs/api/structures/keyboard-input-event.md

42.0.0319 B
Original Source

KeyboardInputEvent Object extends InputEvent

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