IOnSystemContextMenu Type
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ Emitted when the system context menu is triggered on the window, this is normally only triggered when the user right clicks on the non-client area of your window. This is the window titlebar or any area you have declared as -webkit-app-region: drag in a frameless window.Calling event.preventDefault() will prevent the menu from being displayed.To convert point to DIP, use screen.screenToDipPoint(point).
Instance members
| Instance member |
Description
|
Full Usage:
this.event
Modifiers: abstract |
|
Full Usage:
this.point
Modifiers: abstract |
The screen coordinates where the context menu was triggered. |
fable-electron-docs-api