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.
mohemmhmg/Mohem/src/app/notification/view-note-modal/view-note-modal.component.ts

25 lines
653 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { ModalController } from '@ionic/angular';
import { CommonService } from 'src/app/hmg-common/services/common/common.service';
@Component({
selector: 'app-view-note-modal',
templateUrl: './view-note-modal.component.html',
styleUrls: ['./view-note-modal.component.scss'],
})
export class ViewNoteModalComponent implements OnInit {
getTextNote: any;
constructor(private modalCtrl: ModalController, private cs: CommonService) { }
ngOnInit() {
this.getTextNote = this.cs.sharedService.getSharedData('ViewNoteModalPage');
}
closeModal() {
this.modalCtrl.dismiss();
}
}