how refresh a page after navigation using
this.router.navigate([‘home’]); ???
what code should i need to add for the same as after logged in successfully i want to refresh my homepage.
While you wait for better answers, let me try to convince you that’s not really what you want to do.
you can use ionViewWillEnter()
function in the home page and add some function there to run it, like:
ionViewWillEnter() { this.someFUnction(); }
and the function you will call in ionViewWillEnter
will simply update some variable which you wanted to be.
I wants to refresh the home page because after success of login it will go to home page and i don’t know what is the issue but after log in menu is not opening but if i refresh browser menu works fine.