document menu.popup() option's window argument
This commit is contained in:
parent
708f39a1a5
commit
21de806c80
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue