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:
octicon-git-branch(16/)
octicon-tag(16/)
Brandy Carney
2019-09-27 16:29:46 -04:00
gitea-unlock(16/)
parent c8ac0266f2
commit 07d5f77584
octicon-diff(16/tw-mr-1) 22 changed files with 53 additions and 629 deletions

16
core/src/components/nav-link/test/basic/index.html
View File

@@ -44,9 +44,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>
`;
}
@@ -63,12 +63,12 @@
</ion-header>
<ion-content class="ion-padding">
<h1>Page Two</h1>
<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-pop>
</ion-nav-link>
<ion-nav-link router-direction="back">
<ion-button class="back">Go Back</ion-button>
</ion-nav-pop>
</ion-nav-link>
</ion-content>
`;
}
@@ -85,9 +85,9 @@
</ion-header>
<ion-content class="ion-padding">
<h1>Page Three</h1>
<ion-nav-pop>
<ion-nav-link router-direction="back">
<ion-button class="back">Go Back</ion-button>
</ion-nav-pop>
</ion-nav-link>
</ion-content>
`;
}