Companion

object Companion

Functions

Link copied to clipboard
inline fun dragged(noinline block: (event: PointerEvent) -> Unit): PointerMotionListener
Link copied to clipboard
inline fun moved(noinline block: (event: PointerEvent) -> Unit): PointerMotionListener
Link copied to clipboard
fun on(moved: (PointerEvent) -> Unit = {}, dragged: (PointerEvent) -> Unit = {}): PointerMotionListener

Creates a listener that delegates to the provided lambdas for each event type.