From: Haojian Wu Date: Thu, 16 Jul 2015 03:53:13 +0000 (+0800) Subject: :memo: tray.popContextMenu API. X-Git-Tag: v0.30.1~16^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=17628b3e40a8793cc4e65f5e4bc62948520ee1cd;p=electron.git :memo: tray.popContextMenu API. --- diff --git a/docs/api/tray.md b/docs/api/tray.md index 6d1bbb75..fe0e2542 100644 --- a/docs/api/tray.md +++ b/docs/api/tray.md @@ -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