How to get cached view entered event?


#1

– Lets say there is a tabview and then i do a push for entering in a new view…
– While i’am on the psuhed view i click back button which take me to the tab view page

Now i need this event that when a back button is clicked and the person goes to the cached view below is what i tried

ionViewDidLoad() {
    console.log('ionViewDidLoad Dashboard');
  }
   ionViewWillEnter() {
        console.log("Entered Dashboard");
    }
ionViewDidEnter(){   

 console.log("Entered Dashboard");
    }