-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Feature Request: transitions to root page #6372
Comments
This is currently possible using the following:
The second param is any parameters to pass to the next view. See the NavController docs. Is this what you're looking for? |
@brandyscarney thanks a lot, this works! Can this be used somehow to solve #5101 to get transitions for tab changes (Android)? Something like (click)="foo()" on an ion-tab and afterwards setting the new root page like described above. |
@brandyscarney thanks again - forget the tab question - I think these are different stories. Maybe some documentation is needed regarding the option param but otherwise the issue can be closed. |
@rdesimone Awesome! I created an issue to add better documentation behind it here: #6372 Going to close this. 😄 |
@brandyscarney I would like to come back on my question from above. Is is possible to control somehow the tab change with setRoot. Selecting an ion-tab will not automatically change the tab. The change will happen when setRoot is called. This is related to #5101. Thanks a lot for your help! |
Type: feat
Ionic Version: 2.x
Platform: android 5.1 webview
It would be nice to have an option which allows to get transitions when navigating to the root page. Could be especially useful when using a toolbar in the navbar. Something like this: nav.setRoot(Page, {animate: true});
The text was updated successfully, but these errors were encountered: