Swipeout set removeElements at page level and cancel delete

  1. I see the docs has a removeElements setting for the swipeout in app config. However what if we want to control this property at the page level? I don’t want this setting to be global to my app.
    Can we get a data-remove-elements attribute or some way to set this feature independent from the app settings? I don’t even have a swiper.get() method to set this property.

  2. Is there a way to cancel the delete? Let’s say our backend produced an error trying to delete. I do not want the LI to collapse until I get a success from my backend.


Then just don’t use delete button, and use usual swipeout button with color-red class and it will look like a delete button, but you can handle the process manually