1
Good Afternoon I have a problem with Ionic, I have a boot that is directing to my home page. Since when I direct, the Home Page appears as if I was already visited, the arrow appears to return. What I want is for her to come back and start home.
My template :
Close App
Your Data : </H3> Correct : {right turns}} Wrong : {right turns}</H4> Points: {{}}</H5> -->
Are you sure you want to leave ?
Yes
Not
*If you choose to quit, you will lose all your points and it will be directed(a) to the home page.
Meu ts :
import { Homepage } from './.. /home/home'; import { Component } from '@angular/core'; import { Ionicpage, Navcontroller, Navparams, Modalcontroller, Viewcontroller, Loadingcontroller } from 'Ionic-angular';
/** * Generated class for the Modalfinalpage page. * * See https://ionicframework.com/docs/components/#navigation for more info on * Ionic pages and navigation. */
@Ionicpage() @Component({ selector: 'page-modalfinal', templateUrl: 'modalfinal.html', }) export class Modalfinalpage {
constructor(public navCtrl: Navcontroller, public navParams: Navparams, public modalCtrl : Modalcontroller,public loadingCtrl: Loadingcontroller, public viewCtrl : Viewcontroller) { }
public closeModal(){ this.viewCtrl.Dismiss(); }
home(){ this.navCtrl.push(Homepage); }
ionViewDidLoad() { console.log('ionViewDidLoad Modalfinalpage'); }
}