← Back to Compose UI
onPositioned
Modifier
in
Compose UI
. Since 0.1.0-dev15Overview
Examples
Community Notes
Invoke onPositioned with the LayoutCoordinates of the element after positioning. Note that it will be called*after** a composition when the coordinates are finalized.
Usage example:
Overloads
onPositioned
fun Modifier.onPositioned(
onPositioned: (LayoutCoordinates) -> Unit
)
Next ComponentAndroidView →