How do I implement swipe left and swipe right on an ion-list item?


Hi, i’m new to using ionic and angularjs and i’m currently in the process of testing some ideas for a tablet application that I will be developing. The idea is to have a list of items and have buttons that appear when you swipe right and left. We currently have two buttons that appear when you swipe left but are unsure how to show a button when swiping right.

We have seen that you can use gestures and directives to show an alert or do something but as of yet have not seen a way to have a button show up on the item.

Does anyone know how to implement this?



Did you try using on-swipe-right directive ?