Skip to content

Commit

Permalink
docs: correct for review
Browse files Browse the repository at this point in the history
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
  • Loading branch information
trop[bot] and codebytere committed May 17, 2023
1 parent d151fe8 commit bbaeb8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/api/web-contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -1431,8 +1431,8 @@ Scrolls to the bottom of the current `webContents`.
#### `contents.adjustSelection(options)`

* `options` Object
* `start` Number - Index at which to begin the adjustment.
* `end` Number - Index at which to end the adjustment.
* `start` Number (optional) - Amount to shift the start index of the current selection.
* `end` Number (optional) - Amount to shift the end index of the current selection.

Adjusts the current text selection starting and ending points in the focused frame by the given amounts. A negative amount moves the selection towards the beginning of the document, and a positive amount moves the selection towards the end of the document.

Expand Down
4 changes: 2 additions & 2 deletions docs/api/webview-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ Scrolls to the bottom of the current `<webview>`.
#### `<webview>.adjustSelection(options)`

* `options` Object
* `start` Number - Index at which to begin the adjustment.
* `end` Number - Index at which to end the adjustment.
* `start` Number (optional) - Amount to shift the start index of the current selection.
* `end` Number (optional) - Amount to shift the end index of the current selection.

Adjusts the current text selection starting and ending points in the focused frame by the given amounts. A negative amount moves the selection towards the beginning of the document, and a positive amount moves the selection towards the end of the document.

Expand Down

0 comments on commit bbaeb8e

Please sign in to comment.