Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

angular modal dismisss

export class ModalPage {
  ...

  dismiss() {
    // using the injected ModalController this page
    // can "dismiss" itself and optionally pass back data
    this.modalCtrl.dismiss({
      'dismissed': true
    });
  }
}
Source by ionicframework.com #
 
PREVIOUS NEXT
Tagged: #angular #modal #dismisss
ADD COMMENT
Topic
Name
2+2 =