title: ionic 4 - change navigation transition direction dynamically
body: <p>I want to be able to control the navigation transition direction dynamically.</p>
  
  <p>in this post I found out how i can enforce either android or ios default transitions.</p>
  
  <p><a href="https://forum.ionicframework.com/t/page-transition-direction-in-ionic-4/148518/5" rel="nofollow noreferrer">https://forum.ionicframework.com/t/page-transition-direction-in-ionic-4/148518/5</a></p>
  
  <pre><code>    IonicModule.forRoot({
          rippleEffect: false,
          // TODO:
          // navAnimation: override here
      }),
  </code></pre>
  
  <p>Is there a way i can set the transition direction from inside a component before the transition starts?</p>