Document webContents.showDefinitionForSelection

This commit is contained in:
Kevin Sawicki 2016-06-07 13:09:54 -07:00
parent 4f0a52628e
commit ce19c2c0ad
2 changed files with 5 additions and 1 deletions

View file

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

View file

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