Swipe List View using JS


#1

Hi guys, I would like to create a list view which implements a left / right swipe action. In particular, I Would like that if the user swipe the item of the list on the left, it appears the delete button on the right, if the user swipes on the right, it appears the edit button on the left… And if the user complete the swipe action on the left or on the right , he will be redirects to the edit page or the item will be deleted…
You can see an example of what I mean in the bottom of this guide


The guide explain how to do that using angular but I’m using just Javascript… does someone can help?