ionic 4 slides arrow 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>