Scrolls the contents of a Text Control so that the current input position becomes visible.

<void> InputPosition.scrollTo(<InputPosition.ScrollPosition> scrollPosition, <EmptyRequestCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
scrollPosition Specifies an InputPosition.ScrollPosition value.
callback Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.