Hi all,
I am using ion-slides on Ionic 2.
I would like to get the slide item clicked when a ionSlideTap event is emitted.
Do you know how to do that?
Here is my code:
<ion-slides pager="true" slidesPerView='3' loop="true" (ionSlideTap)="slideClick()">
<ion-slide *ngFor="let item of items" >
<h2>{{item.name['en']}}</h2>
<img src='{{item.image}}' />
</ion-slide>
</ion-slides>
slideClick(item){
console.log(‘click on slide #’, item);
}