Document webview.showDefinitionForSelection
This commit is contained in:
parent
8c520cf158
commit
c66299bf66
1 changed files with 4 additions and 0 deletions
|
@ -490,6 +490,10 @@ Sends an input `event` to the page.
|
|||
See [webContents.sendInputEvent](web-contents.md##webcontentssendinputeventevent)
|
||||
for detailed description of `event` object.
|
||||
|
||||
### `<webview>.showDefinitionForSelection()` _OS X_
|
||||
|
||||
Shows pop-up dictionary that searches the selected word on the page.
|
||||
|
||||
### `<webview>.getWebContents()`
|
||||
|
||||
Returns the [WebContents](web-contents.md) associated with this `webview`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue