androidx.compose.ui.layout
onPlaced
Function · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
Invoke onPlaced after the parent LayoutModifier and parent layout has been placed and before child LayoutModifier is placed. This allows child LayoutModifier to adjust its own placement based on where the parent is.
Parameters
fun Modifier.onPlaced(onPlaced: (LayoutCoordinates) -> Unit)
onPlaced: (LayoutCoordinates) -> UnitRequired
onPlaced: (LayoutCoordinates) -> UnitRequiredNot described.
Library docs
Invoke onPlaced after the parent LayoutModifier and parent layout has been placed and before
child LayoutModifier is placed. This allows child LayoutModifier to adjust its own placement
based on where the parent is.