3b74837020
* Event = Base event type (with preventDefault) * IpcMainEvent = Event that ipcMain emits (with sender, reply, etc.) * IpcRendererEvent = Event that ipcRenderer emits (with sender, senderId, etc.) * KeyboardEvent = Event that we emit with keyboard flags (ctrlKey, altKey, etc.) This will dramatically improve peoples TS experience with IPC events
446 B
446 B
KeyboardEvent Object extends Event
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 Event