📜  角模态消失 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:37.491000             🧑  作者: Mango

代码示例1
export class ModalPage {
  ...

  dismiss() {
    // using the injected ModalController this page
    // can "dismiss" itself and optionally pass back data
    this.modalCtrl.dismiss({
      'dismissed': true
    });
  }
}