​
​
​

Gets the currently selected text.

​ Introduced: X16.

​<void> Selection.getText(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the currently selected text.
errorCallback Optional. Is called when the operation failed with an error.
​