translateClick

fun Modifier.translateClick(maxTranslation: Float = 10.0f): Modifier(source)

Extension function for a Modifier to translate a Composable vertically on click.

Return

the Modifier which contains the scale on click changes.

Parameters

maxTranslation

the maximum translation which is used while clicking.