I have simple tabs template Ionic 3 application in which, I am switching between the tabs whenever user swipes on view based on left or right I am switching between Tabs and All working fine accept there is no Animation effects when Page transition happens from tapping the tabs or from swiping the screen.
I am getting the Animation for page pushing and popping
this.navCtrl.push(ContactPage, {
animation: true, direction: 'forward'
});
but not for selecting Tabs
this.navCtrl.parent.select(2,{
animation: true, direction: 'forward'
});
Thanks in advance
That's currently not possible with Ionic, but you can use this amazing plugin to achieve something like this:
In order to install it, just run
And then import
SuperTabsModule.forRoot()
in your app's main moduleNow everything is ready, so in your view you can do something like this:
Late answer but may be useful for future users. You can achieve transition animation by this code. This question title & description is different. So I'm posting answer for title
Note- If you are
BackButton
inNavbar
do this