After model page work, I can’t move another page from the modal page. How to move another page on click in modal button?
Modal Button:
<ion-row style="margin-top: 10px;"> <ion-col> <p class="login-text">You have account <span (click)="Login()">Login</span></p> </ion-col> </ion-row>
TS code:
Login(){ this.viewCtrl.dismiss(); this.navCtrl.setRoot(DashboardPage); }
It not work, I can’t move dashboard page after login success.
Question and answer is powered by AnsPress.io