# wx.getSelectedTextRange(callback function)
Start from base library version 2.7.0. Please remaining backward compatible.
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.
# Parameters
# callback function
# Sample Code
wx.getSelectedTextRange({
complete: res => {
console.log(res.height)
}
})