0
You can create a "slide" transition effect using outlet router in an application built with Angular + Native script?
Creating the effect on a button or any other element is fine, my problem is when I try to do it dynamically.
Example:
var info = args.view.bindingContext;
let navigationExtras: NavigationExtras = {
queryParams: info
};
this.router.navigate(["/expense-details"], navigationExtras);
I would like to add the "slide" transition effect when directing to the "/Expense-Details page".
Have you taken a look at this part of the documentation of angular? https://angular.io/guide/route-animations
– veroneseComS
Thanks @Veronesecoms, I looked at the documentation more carefully and noticed that when using nativescript with Angular has a class called "routerExtensions", very similar to that of the Angular documentation, and that is imported through the "nativescript-angular"using it I was able to pass the parameters and make the animation I wanted.
– Luis Henrique Abeno