Ionic 5 router direction

Hi

I’m using Ionic 5 and router navigation from the controller as it’s even driven so can’t be on a routerLink.

this.router.navigate(['/user-profile']);

I can’t find any references to how I make the page move from right to left rather than then default left to right as I believe was possible with routerDirection in earlier versions of Ionic.

Does anyone know how to specify the direction the page swipes when navigating like this please?

Thanks!

1 Like

Same problem here. I try to set routerDirection on ion-button with click handler, no success til now. :confused: