<ion-list can-swipe="listCanSwipe" show-delete="shouldShowDelete">
<ion-item ng-repeat="post in infinite_posts" item="post">
<p> {{ post.name }} </p>
<button ng-click='somefun2($index)'
class="button button-energized icon ion-paper-airplane "
id='btn-yahoo'>
</button>
<ion-option-button class="button-positive"
ng-click="somefun()">
Death
</ion-option-button>
</ion-item>
</ion-list>
Also, is it possible to know how far did user swiped?
swiping 10% of whole width or 30%of whole width…?