mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: document the Event interface (#16966)
* docs: document the Event interface * update docs deps * pull new VoidFunction update
This commit is contained in:
9
docs/api/structures/event.md
Normal file
9
docs/api/structures/event.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Event Object extends `GlobalEvent`
|
||||
|
||||
* `preventDefault` VoidFunction
|
||||
* `sender` WebContents
|
||||
* `returnValue` any
|
||||
* `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
|
||||
Reference in New Issue
Block a user