connectCancel

fun connectCancel(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (reason: DragCancelReason) -> Unit): <Error class: unknown class>

Emitted when the drag operation is cancelled.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: reason The reason the drag was cancelled