scrollTo

abstract fun scrollTo(scope: CoroutineScope, x: Int, y: Int): Deferred<Unit>

异步将整个页面滚动到指定的绝对坐标。

Return

一个 Deferred<Unit>

Parameters

scope

用于执行此操作的协程作用域。

x

横向坐标。

y

纵向坐标。