mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
34 lines
668 B
TypeScript
34 lines
668 B
TypeScript
|
|
import { Component, OnInit } from '@angular/core';
|
||
|
|
import { ModalController, NavParams } from '@ionic/angular';
|
||
|
|
|
||
|
|
@Component({
|
||
|
|
selector: 'app-ask-modal',
|
||
|
|
templateUrl: './ask-modal.page.html',
|
||
|
|
styleUrls: ['./ask-modal.page.scss'],
|
||
|
|
})
|
||
|
|
export class AskModalPage implements OnInit {
|
||
|
|
|
||
|
|
title = ''
|
||
|
|
description = ''
|
||
|
|
|
||
|
|
constructor(
|
||
|
|
private modalController: ModalController,
|
||
|
|
private navParams: NavParams
|
||
|
|
) {
|
||
|
|
|
||
|
|
this.title = this.navParams.get('title');
|
||
|
|
this.description = this.navParams.get('description');
|
||
|
|
}
|
||
|
|
|
||
|
|
ngOnInit() {
|
||
|
|
}
|
||
|
|
|
||
|
|
close() {
|
||
|
|
this.modalController.dismiss('No');
|
||
|
|
}
|
||
|
|
|
||
|
|
save() {
|
||
|
|
this.modalController.dismiss('Yes');
|
||
|
|
}
|
||
|
|
}
|