mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
📝 tray.popContextMenu API.
This commit is contained in:
@@ -144,6 +144,15 @@ Displays a tray balloon.
|
||||
|
||||
__Note:__ This is only implemented on Windows.
|
||||
|
||||
### Tray.popContextMenu([position])
|
||||
|
||||
* `position` Object - The pop position
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
|
||||
__Note:__ This is only implemented on OS X and Windows.
|
||||
The `position` is only available on Windows, and it is (0, 0) by default.
|
||||
|
||||
### Tray.setContextMenu(menu)
|
||||
|
||||
* `menu` Menu
|
||||
|
||||
Reference in New Issue
Block a user