Flap.setSwipeToClose
void setSwipeToClose(bool swipeToClose)Sets whether self can be closed with a swipe gesture.
The area that can be swiped depends on the propertyFlap:transition-type value.
Parameters
swipeToClose | whether self can be closed with a swipe gesture |