KeyboardEvent Object extends Event
优质
小牛编辑
127浏览
2023-12-01
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
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