Sets the current input position to the beginning of a text field and scrolls it into the visible part of the document.

<void> TextField.scrollTo([<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.