Scroll2DScope

Interface

Common
interface Scroll2DScope

Scope used for suspending scroll blocks

Functions

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)