pass data page to component in ionic code example
Example: how to pass data to another page in ionic 3
Controller -
this.navCtrl.push(page2,{
item:item,
item2:item2
});
View -
this.value = navParams.get('item');
Controller -
this.navCtrl.push(page2,{
item:item,
item2:item2
});
View -
this.value = navParams.get('item');