I’m sure this is really simple but I cannot seem to figure out how to do it.
I have a page that receives navigation parameters. when I console log the nav params I get the following:
This is the result of console.log(this.navParams);
How do I access the data?
I have tried console.log(this.navParams.data.fileId); I get null
I have tried console.log(this.navParams.data.fileId); I get Cannot read property ‘fileId’ of undefined