connectPrepare

fun connectPrepare(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (direction: NavigationDirection) -> Unit): <Error class: unknown class>

This signal is emitted when a possible swipe is detected.

The @direction value can be used to restrict the swipe to a certain direction.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: direction the direction of the swipe