How to activate the swipeup ionic

I am looking to activate the swipup to close a modal
how i can proced ?
thank