We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90662fd commit 0d7d3dcCopy full SHA for 0d7d3dc
README.md
@@ -69,7 +69,7 @@ The methods below can be called on the React component's ref (see: [React Docs](
69
| :------------- | :-------------
70
| getCaretPosition() : number | Gets the current caret position in the textarea
71
| setCaretPosition(position : number) : void | Sets the caret position to the integer value passed as the argument
72
-| getSelectionPositions(): {selectionStar: number, selectionEnd: number} | Returns selectionStart and selectionEnd of the textarea
+| getSelectionPosition(): {selectionStart: number, selectionEnd: number} | Returns selectionStart and selectionEnd of the textarea
73
| getSelectedText(): ?string | Returns currently selected word
74
75
Example:
0 commit comments