Fix disordered definitions in webContents doc
📝 Swap `clearSelection` and `keepSelection` definitions
for `webContents.stopFindInPage(action)` that seems to be in wrong order.
[ci skip]
This commit is contained in:
parent
92b97d3576
commit
c2bf6c2460
1 changed files with 2 additions and 2 deletions
|
@ -649,8 +649,8 @@ the request can be obtained by subscribing to
|
||||||
|
|
||||||
* `action` String - Specifies the action to take place when ending
|
* `action` String - Specifies the action to take place when ending
|
||||||
[`webContents.findInPage`](web-contents.md#webcontentfindinpage) request.
|
[`webContents.findInPage`](web-contents.md#webcontentfindinpage) request.
|
||||||
* `clearSelection` - Translate the selection into a normal selection.
|
* `clearSelection` - Clear the selection.
|
||||||
* `keepSelection` - Clear the selection.
|
* `keepSelection` - Translate the selection into a normal selection.
|
||||||
* `activateSelection` - Focus and click the selection node.
|
* `activateSelection` - Focus and click the selection node.
|
||||||
|
|
||||||
Stops any `findInPage` request for the `webContents` with the provided `action`.
|
Stops any `findInPage` request for the `webContents` with the provided `action`.
|
||||||
|
|
Loading…
Reference in a new issue