bn.getSelectedTextRange
▸ getSelectedTextRange(): Promise
<KeyboardGetSelectedTextRangeResponse
>
description
Obtains the cursor position of the input box after the focus of input, textarea, etc. Note: This API works only when it is called during the focus process
example
Returns
Promise
<KeyboardGetSelectedTextRangeResponse
>
#
KeyboardGetSelectedTextRangeResponseƬ KeyboardGetSelectedTextRangeResponse: Object
Type declaration
Name | Type |
---|---|
start | number |
end | number |