mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Revert "NavController popTo takes componentType"
This reverts commit 63aebf8ba8.
This commit is contained in:
@@ -105,7 +105,6 @@ class SecondPage {
|
||||
<button id="from3To2" (click)="pop()">Pop (Go back to 2nd)</button>
|
||||
<button id="insert" (click)="insert()">Insert first page into history before this</button>
|
||||
<button id="remove" (click)="removeSecond()">Remove second page in history</button>
|
||||
<button id="popto" (click)="popTo()">popTo FirstPage</button>
|
||||
</p>
|
||||
<div class="yellow"><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f></div>
|
||||
</ion-content>
|
||||
@@ -130,10 +129,6 @@ class ThirdPage {
|
||||
this.nav.remove(1);
|
||||
}
|
||||
|
||||
popTo() {
|
||||
this.nav.popTo(FirstPage);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user