How drap modal to close


#1

Hi all,

I need implement a drap-up/drap-down event to close modal with animations effects swipecard-Like.

Thank you so muck!


#2

Maybe with a directive…

Put it on a dom-event and listen on “touchmove” event and get x, y coords.
Then you can check if the user makes something like “scroll up”, “scroll down”.

And then show and hide the modal.