Interface

Scroll2DScope

Scope used for suspending scroll blocks

Source set: Common

Added in 1.11.0-rc01

interface Scroll2DScope

Scope used for suspending scroll blocks

Functions

scrollBy

Added in 1.11.0-rc01

fun scrollBy(delta: Offset): Offset

Attempts to scroll forward by delta px.

Returns

the amount of the requested scroll that was consumed (that is, how far it scrolled)