You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
599 B
TypeScript
25 lines
599 B
TypeScript
import { Component, Input, OnInit } from '@angular/core';
|
|
import { ModalController } from '@ionic/angular';
|
|
|
|
@Component({
|
|
selector: 'app-app-update',
|
|
templateUrl: './app-update.component.html',
|
|
styleUrls: ['./app-update.component.scss'],
|
|
})
|
|
export class AppUpdateComponent implements OnInit {
|
|
@Input() msg: string;
|
|
|
|
constructor(public modalController: ModalController) { }
|
|
|
|
ngOnInit() {}
|
|
|
|
dismiss() {
|
|
// using the injected ModalController this page
|
|
// can "dismiss" itself and optionally pass back data
|
|
this.modalController.dismiss({
|
|
'dismissed': true
|
|
});
|
|
}
|
|
|
|
}
|