Hello,
I’m trying to trigger a function on the parent page when the modal is closed.
Thank you
Hello,
I’m trying to trigger a function on the parent page when the modal is closed.
Thank you
presentProfileModal() {
let profileModal = this.modalCtrl.create(Profile, { userId: 8675309 });
profileModal.onDidDismiss(data => {
console.log(data);
});
profileModal.present();
}