update docs for single param popup
This commit is contained in:
parent
fb7fb4972d
commit
ba933ef085
1 changed files with 4 additions and 4 deletions
|
@ -59,10 +59,10 @@ will become properties of the constructed menu items.
|
|||
|
||||
The `menu` object has the following instance methods:
|
||||
|
||||
#### `menu.popup([browserWindow, options, callback])`
|
||||
#### `menu.popup(options)`
|
||||
|
||||
* `options` Object
|
||||
* `browserWindow` [BrowserWindow](browser-window.md) (optional) - Default is the focused window.
|
||||
* `options` Object (optional)
|
||||
* `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…
Add table
Add a link
Reference in a new issue