Skip to content

Commit

Permalink
Merge pull request #4040 from marcuslyons/patch-2
Browse files Browse the repository at this point in the history
fix: typo in focus.md
  • Loading branch information
janthurau committed May 18, 2023
2 parents 32abfe6 + 64731e1 commit 8de3c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/commands/focus.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See also: [setTextSelection](/api/commands/set-text-selection), [blur](/api/comm
## Parameters
`position: 'start' | 'end' | 'all' | number | boolean | null (false)`

By default, it’s restoring the cursor position (and text selection). Pass a position to move the cursor too.
By default, it’s restoring the cursor position (and text selection). Pass a position to move the cursor to.

`options: { scrollIntoView: boolean }`

Expand Down

0 comments on commit 8de3c7c

Please sign in to comment.