Hi,
How do I get the property value of an array inside a slide component, basically I need to use the id of the object that was showed on the previous slide.
HTML
<ion-slides (ionSlideDidChange)="slideChanged(media)">
<ion-slide class="photoshow" *ngFor="let media of medias" >
<img src="{{media.url}}">
<ion-list>
<ion-item>
MY TS
slideChanged(media) {
console.log(media);
}
I get undefined…
Thanks a lot!
Cheers