Merge pull request #11257 from electron/fix-11242
Remove "async" flag from the `menu.popup()` options
This commit is contained in:
commit
defa42b458
1 changed files with 0 additions and 3 deletions
|
@ -67,9 +67,6 @@ The `menu` object has the following instance methods:
|
||||||
Must be declared if `y` is declared.
|
Must be declared if `y` is declared.
|
||||||
* `y` Number (optional) - Default is the current mouse cursor position.
|
* `y` Number (optional) - Default is the current mouse cursor position.
|
||||||
Must be declared if `x` is declared.
|
Must be declared if `x` is declared.
|
||||||
* `async` Boolean (optional) - Set to `true` to have this method return
|
|
||||||
immediately called, `false` to return after the menu has been selected
|
|
||||||
or closed. Defaults to `false`.
|
|
||||||
* `positioningItem` Number (optional) _macOS_ - The index of the menu item to
|
* `positioningItem` Number (optional) _macOS_ - The index of the menu item to
|
||||||
be positioned under the mouse cursor at the specified coordinates. Default
|
be positioned under the mouse cursor at the specified coordinates. Default
|
||||||
is -1.
|
is -1.
|
||||||
|
|
Loading…
Reference in a new issue