Closing ionic item sliding or item slider

I have a plus button to add new category at the top of the navbar. Now for example if some one slide the list item to edit or delete but changes their mind and click at the add new category plus icon then how to close the open sliding items.

Basically how to close ionic item slider from outside the item list

Your Button should call a function like this:
(click)=“itemDeleted(slidingItem, campeonato)”

An then in you .ts
itemDeleted(slidingItem: ItemSliding, item)
console.log(“Sliding close”);

Thank you for the answer I will give it a try

It only works when the button is inside the ion list > ion-item-sliding but I need the button outside the ion list