document menu.popup() option's window argument

This commit is contained in:
Charles Kerr 2018-02-20 14:30:37 -06:00
parent 708f39a1a5
commit 21de806c80

View file

@ -62,7 +62,7 @@ The `menu` object has the following instance methods:
#### `menu.popup(options)`
* `options` Object
* `browserWindow` [BrowserWindow](browser-window.md) (optional) - Default is the focused window.
* `window` [BrowserWindow](browser-window.md) (optional) - Default is the focused window.
* `x` Number (optional) - Default is the current mouse cursor position.
Must be declared if `y` is declared.
* `y` Number (optional) - Default is the current mouse cursor position.