- I already know Ionic 4 uses Angular router for navigation
- I'm asking about sub navigation in modals (as recommended by ionic 4 docs https://ionicframework.com/docs/api/nav#properties)
How do I implement this properly? (on Ionic4/Angular project for ios/android)
I was able to get one component to come into view..
So I open my modal and pass the root component to it that contains...
<ion-nav [root]="rootPage"></ion-nav>
Here rootPage is a variable set an actual component lets call it ListViewComponent...
I then have each list item surrounded like this...
<ion-nav-push [component]="profile">
<ion-item detail>Personal Information</ion-item>
</ion-nav-push>
This pushes another component into view the ProfileComponent ...and it works.
The problem I have is trying to push another component from ProfileComponent ...I have another item surround by the ion-nav-push tags ...but the "nothing" happens ...no errors no push nothing... am I crazy, can ion-nav only navigate 1-d, or is my set up not correct ...any advice would help. Again I'm trying to do very, basic, simple navigation within a model per ionic4's doc. Thanks.