Gets the size of the caret, in pixels, at the current text input position.

<void> InputPosition.getCaretSize(<RequestSizeCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the size of the caret.
errorCallback Optional. Is called when the operation failed with an error.