docs

Methods

List and Table provide the following two swipe methods:

The following example shows a delete scenario:


tap : function(e) {
   var oList = this.getView().byId("myList"); // get the list using its Id
   var oSwipedItem = oList.getSwipedItem(); // Get which list item is swiped to delete
   oList.removeAggregation("items", oSwipedItem); // Remove this aggregation to delete list item from list
   oList.swipeOut(); // we are done, hide the swipeContent from screen 
}
....