diff --git a/docs/latest/.sha b/docs/latest/.sha index 18468c67a..74d3f3f8c 100644 --- a/docs/latest/.sha +++ b/docs/latest/.sha @@ -1 +1 @@ -0af5ec37583a557092294dc4ccc432f6eafc5003 \ No newline at end of file +4062d1827092bfa7ea2eb27b87aa051c89f49425 \ No newline at end of file diff --git a/docs/latest/api/menu.md b/docs/latest/api/menu.md index 6aa9f6789..993d214df 100644 --- a/docs/latest/api/menu.md +++ b/docs/latest/api/menu.md @@ -79,7 +79,7 @@ The `menu` object has the following instance methods: #### `menu.popup([options])` * `options` Object (optional) - * `window` [BrowserWindow](latest/api/browser-window.md) (optional) - Default is the focused window. + * `window` [BaseWindow](latest/api/base-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. @@ -93,13 +93,13 @@ The `menu` object has the following instance methods: Can be `none`, `mouse`, `keyboard`, `touch`, `touchMenu`, `longPress`, `longTap`, `touchHandle`, `stylus`, `adjustSelection`, or `adjustSelectionReset`. * `callback` Function (optional) - Called when menu is closed. -Pops up this menu as a context menu in the [`BrowserWindow`](latest/api/browser-window.md). +Pops up this menu as a context menu in the [`BaseWindow`](latest/api/base-window.md). -#### `menu.closePopup([browserWindow])` +#### `menu.closePopup([window])` -* `browserWindow` [BrowserWindow](latest/api/browser-window.md) (optional) - Default is the focused window. +* `window` [BaseWindow](latest/api/base-window.md) (optional) - Default is the focused window. -Closes the context menu in the `browserWindow`. +Closes the context menu in the `window`. #### `menu.append(menuItem)`