-
-
Notifications
You must be signed in to change notification settings - Fork 241
Platform specific page transitions. #389
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
Comments
Hello @m-abs , You can use Angular-2 directives (like *ngIf, ngSwitch or custom ones) to create your own platform-specific controls. my-page.component.ts
my-page.component.html
Another example with the usage of *ngIf can also be applicable for your case (with a little modification to set the specific page transition). |
Hi @NickIliev Thank you for your suggestion. Unfortunately it only covers using the |
In code you can do:
And pass different transitions based on the |
That's a good idea, thank you. |
Thank you for adding page transitions to the router.
Could you also add platform specific page transitions?
{N}'s NavigationEntry have three transition parameters:
https://docs.nativescript.org/api-reference/interfaces/_ui_frame_.navigationentry.html#transition
In the current implementation
nativescript-angular
only supportstransition
, so if we want to set another transition foriOS
than we want forAndroid
we can't do that.The text was updated successfully, but these errors were encountered: