I’m pretty good at front end CSS animation work but this seems like a missing feature that you can define routerDirection in a <ion-button> for example, but you can’t in code. I wish my problems could be solved with just a button and setting the router direction, but unfortunately the majority of the time I need to call a method so I can fire off multiple events.
Looking at the ion-router-outlet it looks like I can turn off animation (which I’ve talked about in another post), but this time I want to reverse the animation so I’ll look at the animation property.
I can’t think of an easy way to do this off the top of my head. Having a feature like this that lets you do programatic navigation and control the animation + direction could be useful.
Would you be able to create a feature request and describe the use case/problem you are trying to solve?
Once the feature in my previous post gets added, definitely move off this workaround. navManager exposes the internal IonRouter instance, so APIs in there could change at any time.