setSwipeToClose

fun setSwipeToClose(swipeToClose: Boolean)

Sets whether @self can be closed with a swipe gesture.

The area that can be swiped depends on the property@Flap:transition-type value.

Parameters

swipeToClose

whether @self can be closed with a swipe gesture