OnScrolledEventTrigger

@Serializable
@SerialName(value = "OnScrolled")
data class OnScrolledEventTrigger(val direction: OnScrolledEventTrigger.ScrollDirection) : EventTrigger

Fires on Column/Row (when scrollable = true) and LazyColumn/LazyRow whenever the scroll direction changes — not on every scroll delta. Column/LazyColumn only ever produce ScrollDirection.Top/ScrollDirection.Bottom; Row/LazyRow only ever produce ScrollDirection.Start/ScrollDirection.End.

Constructors

Link copied to clipboard

Types

Link copied to clipboard

Which way the scroll position just moved.

Properties

Link copied to clipboard
@SerialName(value = "direction")
val direction: OnScrolledEventTrigger.ScrollDirection