KeyboardEvent Type
Constructors
| Constructor |
Description
|
Full Usage:
KeyboardEvent(?ctrlKey, ?metaKey, ?shiftKey, ?altKey, ?triggeredByAccelerator)
Parameters:
bool
-
whether the Control key was used in an accelerator to trigger the Event
?metaKey : bool
-
whether a meta key was used in an accelerator to trigger the Event
?shiftKey : bool
-
whether a Shift key was used in an accelerator to trigger the Event
?altKey : bool
-
whether an Alt key was used in an accelerator to trigger the Event
?triggeredByAccelerator : bool
-
whether an accelerator was used to trigger the event as opposed to another user gesture like mouse click
Returns: KeyboardEvent
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.altKey
|
whether an Alt key was used in an accelerator to trigger the Event |
Full Usage:
this.ctrlKey
|
whether the Control key was used in an accelerator to trigger the Event |
Full Usage:
this.metaKey
|
whether a meta key was used in an accelerator to trigger the Event |
Full Usage:
this.shiftKey
|
whether a Shift key was used in an accelerator to trigger the Event |
Full Usage:
this.triggeredByAccelerator
|
whether an accelerator was used to trigger the event as opposed to another user gesture like mouse click |
fable-electron-docs-api