diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index c133a49beda0..8b850b5c4388 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -885,7 +885,7 @@ The `flags` is an array that can include following `String`s: ### `win.showDefinitionForSelection()` _OS X_ -Shows pop-up dictionary that searches the selected word on the page. +Same as `webContents.showDefinitionForSelection()`. ### `win.setIcon(icon)` _Windows_ _Linux_ diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index b9ff9d7c4863..60c736e0041c 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -957,6 +957,10 @@ win.webContents.on('did-finish-load', () => { }); ``` +### `webContents.showDefinitionForSelection()` _OS X_ + +Shows pop-up dictionary that searches the selected word on the page. + ## Instance Properties `WebContents` objects also have the following properties: