How to access parent page from popover content page?


My parent page makes a popover with:

let popover = this.popoverCtrl.create(ContentPage);

And the question is how can I access this parent page from my popover “ContentPage”?


Do you need to access the parent page whilst using the “ContentPage”??

If not, it might be an idea to set could set a global vars somewhere or alternatively rely on local storage to save some data. Then when navigating back to the parent page, you could check one of these methods to see if data has been set/changed. Again I don’t know if this will work for your current scenario but could be a work around.!

I do something kind of similar using modalCtrl, then pass the information back using navParms.

Hope this helps.