dispatchOnScrollChanged
Source set: Common
public fun DelegatableNode.dispatchOnScrollChanged(delta: Offset): Unit
Call this function whenever a scroll chang happened in the LayoutNode that this DelegatableNode is attached to to let the underlying platform know that a scroll event happened in this LayoutNode.
On Android, this triggers a ViewTreeObserver onScrollChanged callback. It also reports the pixel delta on TYPE_VIEW_SCROLLED accessibility events.
Parameters
| delta | the scroll delta this node consumed, in pointer coordinates. Positive x or y means the content moved right or down on screen. |