I am facing this icon problem in many screen. for example. i have one screen , where i have added some icon at left side of nav bar. but its not at all showing the icon. only small back box alone is showing .here is my code:
<ion-buttons>
<button ion-button >
<ion-icon name="close"></ion-icon>
</button>
</ion-buttons
I use this also :
<ion-buttons>
<button ion-button >
<ion-icon ios="ios-close" md="md-close"></ion-icon>
</button>
</ion-buttons
but no use.still black small box icon is showing.
okay now, i tried with push nav.but there alos its not showing the back button.here is my code :
my home.html :
<button class="button button-outline footerbtnone" (click)="login()">LOG IN</button>
my home.js
constructor(public navCtrl: NavController) {
}
login() {
this.navCtrl.push(LoginPage);
}
But when i move to LoginPage
i can't see the back button icon. still i am seeing that small black box icon.here that image :
please help me out.what i am missing.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…