In my app there is a code snippet as below:
logDrag(e){
console.log(e);
}
<ion-item-sliding (ionDrag)="logDrag($event)">
<ion-item>Item</ion-item>
<ion-item-options>
<button ion-button>Favorite</button>
</ion-item-options>
</ion-item-sliding>
But on drag, there is no event gets fired up and consoled out in my terminal?
Is there any way to solve this?