Document webContents.showDefinitionForSelection
This commit is contained in:
parent
4f0a52628e
commit
ce19c2c0ad
2 changed files with 5 additions and 1 deletions
|
@ -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_
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue