Optional => optional
This commit is contained in:
parent
f58bab70c5
commit
2b406ccaf7
2 changed files with 6 additions and 6 deletions
|
@ -259,8 +259,8 @@ Returns:
|
||||||
* `result` Object
|
* `result` Object
|
||||||
* `requestId` Integer
|
* `requestId` Integer
|
||||||
* `finalUpdate` Boolean - Indicates if more responses are to follow.
|
* `finalUpdate` Boolean - Indicates if more responses are to follow.
|
||||||
* `matches` Integer (Optional) - Number of Matches.
|
* `matches` Integer (optional) - Number of Matches.
|
||||||
* `selectionArea` Object (Optional) - Coordinates of first match region.
|
* `selectionArea` Object (optional) - Coordinates of first match region.
|
||||||
|
|
||||||
Emitted when a result is available for
|
Emitted when a result is available for
|
||||||
[`webContents.findInPage`](web-contents.md#webcontentsfindinpage) request.
|
[`webContents.findInPage`](web-contents.md#webcontentsfindinpage) request.
|
||||||
|
@ -503,7 +503,7 @@ Inserts `text` to the focused element.
|
||||||
### `webContents.findInPage(text[, options])`
|
### `webContents.findInPage(text[, options])`
|
||||||
|
|
||||||
* `text` String - Content to be searched, must not be empty.
|
* `text` String - Content to be searched, must not be empty.
|
||||||
* `options` Object (Optional)
|
* `options` Object (optional)
|
||||||
* `forward` Boolean - Whether to search forward or backward, defaults to `true`.
|
* `forward` Boolean - Whether to search forward or backward, defaults to `true`.
|
||||||
* `findNext` Boolean - Whether the operation is first request or a follow up,
|
* `findNext` Boolean - Whether the operation is first request or a follow up,
|
||||||
defaults to `false`.
|
defaults to `false`.
|
||||||
|
|
|
@ -382,7 +382,7 @@ Inserts `text` to the focused element.
|
||||||
### `<webview>.findInPage(text[, options])`
|
### `<webview>.findInPage(text[, options])`
|
||||||
|
|
||||||
* `text` String - Content to be searched, must not be empty.
|
* `text` String - Content to be searched, must not be empty.
|
||||||
* `options` Object (Optional)
|
* `options` Object (optional)
|
||||||
* `forward` Boolean - Whether to search forward or backward, defaults to `true`.
|
* `forward` Boolean - Whether to search forward or backward, defaults to `true`.
|
||||||
* `findNext` Boolean - Whether the operation is first request or a follow up,
|
* `findNext` Boolean - Whether the operation is first request or a follow up,
|
||||||
defaults to `false`.
|
defaults to `false`.
|
||||||
|
@ -567,8 +567,8 @@ Returns:
|
||||||
* `result` Object
|
* `result` Object
|
||||||
* `requestId` Integer
|
* `requestId` Integer
|
||||||
* `finalUpdate` Boolean - Indicates if more responses are to follow.
|
* `finalUpdate` Boolean - Indicates if more responses are to follow.
|
||||||
* `matches` Integer (Optional) - Number of Matches.
|
* `matches` Integer (optional) - Number of Matches.
|
||||||
* `selectionArea` Object (Optional) - Coordinates of first match region.
|
* `selectionArea` Object (optional) - Coordinates of first match region.
|
||||||
|
|
||||||
Fired when a result is available for
|
Fired when a result is available for
|
||||||
[`webview.findInPage`](web-view-tag.md#webviewtagfindinpage) request.
|
[`webview.findInPage`](web-view-tag.md#webviewtagfindinpage) request.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue