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.
33 lines
867 B
TypeScript
33 lines
867 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { ModalController } from '@ionic/angular';
|
|
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
|
|
|
|
@Component({
|
|
selector: 'app-edit-detail-profile',
|
|
templateUrl: './edit-detail-profile.component.html',
|
|
styleUrls: ['./edit-detail-profile.component.scss'],
|
|
})
|
|
export class EditDetailProfileComponent implements OnInit {
|
|
public isChange: any;
|
|
|
|
constructor(
|
|
public modalController: ModalController,
|
|
public ts: TranslatorService,
|
|
) { }
|
|
|
|
colorRadio = "#269db8"
|
|
|
|
ngOnInit() { }
|
|
|
|
dismiss(actionValue: any) {
|
|
// using the injected ModalController this page
|
|
// can "dismiss" itself and optionally pass back data
|
|
this.modalController.dismiss({
|
|
dismissed: true,
|
|
actionClicked: actionValue,
|
|
data: this.isChange
|
|
});
|
|
}
|
|
|
|
}
|