Open Collective
来源:Electron
浏览 247
扫码
分享
2022-04-13 08:16:29
KeyboardEvent Object
ctrlKey
boolean (optional) - whether the Control key was used in an accelerator to trigger the EventmetaKey
boolean (optional) - whether a meta key was used in an accelerator to trigger the EventshiftKey
boolean (optional) - whether a Shift key was used in an accelerator to trigger the EventaltKey
boolean (optional) - whether an Alt key was used in an accelerator to trigger the EventtriggeredByAccelerator
boolean (optional) - whether an accelerator was used to trigger the event as opposed to another user gesture like mouse click