]> khamidou — GitHub mirrors - electron.git/commitdiff
`y` required if `x` exists
authorJessica Lord <jlord@github.com>
Tue, 1 Sep 2015 21:08:42 +0000 (14:08 -0700)
committerJessica Lord <jlord@github.com>
Tue, 1 Sep 2015 21:08:42 +0000 (14:08 -0700)
docs/api/menu.md

index eaa486390fd9c9660fdc31a70b62f69fb3030a50..1d6e4135157dc09d649f1758b46aaa5e07d00cbc 100644 (file)
@@ -211,7 +211,7 @@ will become properties of the constructed menu items.
 
 * `browserWindow` BrowserWindow
 * `x` Number (optional)
-* `y` Number (optional)
+* `y` Number (**required** if `x` is used)
 
 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