I’m creating a swipe-able list of items and I want, once the user has tapped one of the option buttons, to hide the swipe menu. I can’t seem to figure out how that is done, what am I missing? (hope this is the correct category for this question)
try $ionicListDelegate.closeOptionButtons() in your controller. http://ionicframework.com/docs/api/service/$ionicListDelegate/
THANK YOU! I was looking in the wrong area for the documentation. Will try this when I get home tonight.
This was exactly what I was looking for. Closed the swipe like I wanted! Thank you
Nice! Glad it worked out for you
@djett codepen would be better… Can you link your codepen?
@ramaa No need for a codepen its pretty straightforward (I never created a codepen for this anyway). Just look at the api docs and add it to your controller as the docs suggest