wilddev
10/14/2021, 6:35 PMChristopher Porto
10/14/2021, 8:25 PMModifier.draggable(
state = DraggableState {
if (it > 0.0) {
println("Moving down")
} else {
println("Moving up")
}
},
orientation = Orientation.Vertical
)
If you mean on mouse click then you can use Modifier.mouseClickable
Zach Klippenstein (he/him) [MOD]
10/17/2021, 1:36 PM