connectPan
fun connectPan(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (direction: PanDirection, offset: Double) -> Unit): <Error class: unknown class>
Emitted once a panning gesture along the expected axis is detected.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: direction
current direction of the pan gesture; offset
Offset along the gesture orientation