refactor(nav): remove nav-push, nav-pop nav-root (#19240)

BREAKING CHANGES

Removes ion-nav-pop, ion-nav-push and ion-nav-set-root in favor of using ion-nav-link with router-direction
This commit is contained in:
Brandy Carney
2019-09-27 16:29:46 -04:00
parent c8ac0266f2
commit 07d5f77584
22 changed files with 53 additions and 629 deletions

View File

@ -24,9 +24,9 @@
</ion-header>
<ion-content class="ion-padding">
<h1>Page One</h1>
<ion-nav-push component="page-two">
<ion-nav-link router-direction="forward" component="page-two">
<ion-button class="next">Go to Page Two</ion-button>
</ion-nav-push>
</ion-nav-link>
</ion-content>
`;
}
@ -47,9 +47,9 @@
<ion-content class="ion-padding">
<h1>Page Two</h1>
<div>
<ion-nav-push component="page-three">
<ion-nav-link router-direction="forward" component="page-three">
<ion-button class="next">Go to Page Three</ion-button>
</ion-nav-push>
</ion-nav-link>
</div>
</ion-content>
`;
@ -71,9 +71,9 @@
<ion-content class="ion-padding">
<h1>Page Three</h1>
<div>
<ion-nav-push component="page-four">
<ion-nav-link router-direction="forward" component="page-four">
<ion-button class="next">Go to Page Four</ion-button>
</ion-nav-push>
</ion-nav-link>
</div>
</ion-content>
`;