ionList delete buttons not working


I’m unable to get the delete buttons to work with an ionList. I’ve noticed there is a but about option-buttons, but haven’t seen any examples that demonstrate the delete of a button. I’d like the option to delete appear on swiping.

Am I doing something wrong or is it not working? The documentation here could be improved, so I would be happy to submit that once I get it cleared up.



Take a look at this codepen,

This should get you in the right direction. The swipe option are available once you define them in your controller


Thanks, I think I wasn’t clear exactly what the delete buttons behaved like. Now it makes more sense.