Update menu.md

This commit is contained in:
Samuel Attard 2017-06-03 14:50:10 +10:00 committed by GitHub
parent dfab1043d9
commit af09d85125

View file

@ -64,8 +64,9 @@ The `menu` object has the following instance methods:
* `browserWindow` BrowserWindow (optional) - Default is the focused window. * `browserWindow` BrowserWindow (optional) - Default is the focused window.
* `options` Object (optional) * `options` Object (optional)
* `x` Number (optional) - Default is the current mouse cursor position. * `x` Number (optional) - Default is the current mouse cursor position.
* `y` Number (**required** if `x` is used) - Default is the current mouse Must be declared if y is declared.
cursor position. * `y` Number (optional) - Default is the current mouse cursor position.
Must be declared if x is declared.
* `async` Boolean (optional) - Set to `true` to have this method return * `async` Boolean (optional) - Set to `true` to have this method return
immediately called, `false` to return after the menu has been selected immediately called, `false` to return after the menu has been selected
or closed. Defaults to `false`. or closed. Defaults to `false`.