Merge pull request #11257 from electron/fix-11242

Remove "async" flag from the `menu.popup()` options
This commit is contained in:
Charles Kerr 2017-11-27 16:41:56 +01:00 committed by GitHub
commit defa42b458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.