ion slides arrows not working after navigating back to them code example
Example: ionic add next button slides
import { IonSlides} from '@ionic/angular';
export class HomePage {
@ViewChild('mySlider') slides: IonSlides;
swipeNext(){
this.slides.slideNext();
}
}
<html>
<ion-slides pager="true" pager="false" #mySlider>
<ion-slide>
</ion-slide>
<ion-slide>
</ion-slide>
<ion-button (click)="swipeNext()">Next</ion-button>
</ion-slides>
<html>