Gets the currently selected text.
Introduced: X16.
<void> Selection.getText(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
callback | Receives the currently selected text. |
error |
Optional. Is called when the operation failed with an error. |