Friday, June 29, 2018
NavOptions
Some methods on
NavController allow for customizing the current transition. To do this, we can pass an object with the modified properites.| Property | Value | Description |
|---|---|---|
| animate | boolean | Whether or not the transition should animate. |
| animation | string | What kind of animation should be used. |
| direction | string | The conceptual direction the user is navigating. For example, is the user navigating forward, or back? |
| duration | number | The length in milliseconds the animation should take. |
| easing | string | The easing for the animation. |
The property 'animation' understands the following values:
md-transition, ios-transition and wp-transition.