If I have a set of tabs like the ones listed below and I want the select function to only happen onclick in Ionic2 is that possible? The app is automatically firing the select function and navigating to the new page but I want it to only fire onclick and load a different intial view:
<ion-tabs [selectedIndex]="mySelectedIndex">
<ion-tab tabTitle="Schedule" tabIcon="calendar" (select)="someFunction()"></ion-tab>
<ion-tab [root]="tab2Root" tabTitle="Speakers" tabIcon="contacts"></ion-tab>
<ion-tab [root]="tab3Root" tabTitle="Map" tabIcon="map"></ion-tab>
</ion-tabs>
someFunction(){
this.nav.push(Another Page);
}
Any ideas on how I can achieve this?
Thanks!