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

<void> DocumentTarget.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.