Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228598

Swipeable item list how to swipeback the row after event trigged

$
0
0

I have similar problem deleting a list item by clicking a delete button that appears on swipe: <ion-option-button ng-click=removeItem($indexOfItem)>. The "remove" button keeps showing on the next item of the list once the current item has been removed. It's a pretty extrange behavior.
Is there a function i can call to hide the remove option once the list item is removed?

EDIT:
My bad, just found the solution on another post:

Use: $ionicListDelegate.closeOptionButtons();


Viewing all articles
Browse latest Browse all 228598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>