Ionic 2 ion-item-sliding


I’m using the ion-item-sliding and I would want to know if I could reproduce the drag action with a single click on an icon to display my button in ion-items-options.

This is my code :

<ion-item-sliding *ngFor="let tab of pres; let i = index" #slidingItem>
           <ion-icon (click)="activeDeleteSwipe(slidingItem, i)" item-left name="md-remove-circle"></ion-icon>
      <ion-item-options side="right">
         <button ion-button class="deleteButton" (click)="deletePresentation(" color="danger"> Delete</button> 

With the #slidingItem I can do a slidingItem.moveSliding() in my ts but I don’t understand how to make it work properly.

See this example.

Note: There is a minor issue in RC0 with the button not filling the expanded space. The fix has been made, but not released.