Preview item list swipe to delete


#1

I have an ion-list using ion-item-sliding to allow users to swipe and click a delete button to delete the item.

I would like to write a preview function that will slightly move the top list item and move it back, just so the user knows they can swipe.

Has anyone tried swiping or moving a list item programmatically?


#2

#3

This would do it to the all items unless u set a param in ngfor and then use it for first item only