I have a Slides Page where I import a page by doing the HTML code below and importing the pages in Slides Page module.ts.
<ion-content>
<ion-slides pager>
<ion-slide style='overflow:scroll'>
<page-1></page-1>
</ion-slide>
<ion-slide style='overflow:scroll'>
<page-2></page-2>
</ion-slide>
<ion-slide style='overflow:scroll' class="card">
<page-3></page-3>
</ion-slide>
</ion-content>
I would like to access Page 3 by clicking a button on the home page. First thing I did was to create a button with the function goto(). Then on HomePage.ts
goto() {
this.navCtrl.push(SlidesPage);
}
this.navCtrl.push(SlidesPage) takes me to SlidesPage where I can swipe through the slides.
How can I go to SlidesPage ion-slide page-3 by clicking the GoTo button on the home page?