当前位置: 首页 > 文档资料 > Electron 中文文档 >

KeyboardEvent Object extends Event

优质
小牛编辑
128浏览
2023-12-01
  • ctrlKey Boolean (optional) - whether the Control key was used in an accelerator to trigger the Event
  • metaKey Boolean (optional) - whether a meta key was used in an accelerator to trigger the Event
  • shiftKey Boolean (optional) - whether a Shift key was used in an accelerator to trigger the Event
  • altKey Boolean (optional) - whether an Alt key was used in an accelerator to trigger the Event
  • triggeredByAccelerator Boolean (optional) - whether an accelerator was used to trigger the event as opposed to another user gesture like mouse click
  • ctrlKey Boolean (optional) - whether the Control key was used in an accelerator to trigger the Event
  • metaKey Boolean (optional) - whether a meta key was used in an accelerator to trigger the Event
  • shiftKey Boolean (optional) - whether a Shift key was used in an accelerator to trigger the Event
  • altKey Boolean (optional) - whether an Alt key was used in an accelerator to trigger the Event
  • triggeredByAccelerator Boolean (optional) - whether an accelerator was used to trigger the event as opposed to another user gesture like mouse click