From: Cheng Zhao Date: Fri, 22 Jan 2016 18:32:14 +0000 (-0700) Subject: docs: Default value of positioningItem X-Git-Tag: v0.36.6~36^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d1051b55cc9d970fd64bd8ebdf767f294c1e400a;p=electron.git docs: Default value of positioningItem --- diff --git a/docs/api/menu.md b/docs/api/menu.md index ca35d4bb..0e66fc21 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -242,8 +242,9 @@ will become properties of the constructed menu items. * `browserWindow` BrowserWindow (optional) - Default is `null`. * `x` Number (optional) - Default is -1. * `y` Number (**required** if `x` is used) - Default is -1. -* `positioningItem` Number (optional) _OS X_ - the index of the menu item to - be positioned under the mouse cursor at the specified coordinates. +* `positioningItem` Number (optional) _OS X_ - The index of the menu item to + be positioned under the mouse cursor at the specified coordinates. Default is + -1. Pops up this menu as a context menu in the `browserWindow`. You can optionally provide a `x, y` coordinate to place the menu at, otherwise it will be placed