From 17628b3e40a8793cc4e65f5e4bc62948520ee1cd Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Thu, 16 Jul 2015 11:53:13 +0800 Subject: [PATCH] :memo: tray.popContextMenu API. --- docs/api/tray.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/api/tray.md b/docs/api/tray.md index 6d1bbb75ec..fe0e2542b3 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