Browse Source

document menu.popup() option's window argument

Charles Kerr 7 years ago
parent
commit
21de806c80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/menu.md

+ 1 - 1
docs/api/menu.md

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