How can i swipe list item using javascript?

Makes sense. Yes this is possible, see my demo.

 $scope.edit = function(item) {
    alert('Edit Item: ' + item.id);
    $ionicListDelegate.closeOptionButtons();
  };

http://ionicframework.com/docs/api/service/$ionicListDelegate/

2 Likes