Answers for "on modal close ionic do function"

1

ion modal dismiss

export class ModalPage {
  ...
  dismiss() {
    // using the injected ModalController this page
    // can "dismiss" itself and optionally pass back data
    this.modalCtrl.dismiss({
      'dismissed': true
    });
  }
}
Posted by: Guest on November-29-2020
1

ion modal dismiss

export class ModalPage {
  ...
  dismiss() {
    // using the injected ModalController this page
    // can "dismiss" itself and optionally pass back data
    this.modalCtrl.dismiss({
      'dismissed': true
    });
  }
}
Posted by: Guest on November-29-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language