Click to slide open All Ion-Item-Sliding in a div

hello World,

i have a Div inside let’s say an array of 3 items, each has an ion item sliding delete function at‘end’);

i like to click the text "EDIT , and all the 3 items sliding will slide open together.

HTML side :


<ion-item-sliding (ionDrag)=“isSlided()” #slidingItem lines=“none” *ngFor=“let item of cart”>

<ion-item-option color=“danger” (click)=“removeCartItem (item)”>



TS side

share(slidingItem: IonItemSliding) {‘end’);

i tried to foreach IonItemSliding, but it says forEach does not exist of type IonItemSliding

and i tried to foreach Cart to include inside the ionitemsliding but it does not working.
share(slidingItem: IonItemSliding) {

this.cart.forEach(element => {


where am i missing out? i humbly seeking guidance from Forum

:pray: :slightly_smiling_face:

thank you