Swipe to fade out html elements js library

Hi everyone ,

I am working on a js library to swipe out html divs , like you swipe out notifications.

here is the github link -> https://github.com/harrysaini/swipe-fade-out

Please review and help to improve this.

Nice work!

It would be usefull if you added a link to a demo, so that everybody who is interested can see how it works.

If there is a possibility, it would be nice if the pushing up of the content (after you swipe a div away) was animated, instead of a sudden change.

Thanks ,

I will work on making it more animated and also add a demo .