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.
|
|
|
|
import { Component, OnInit, Input } from '@angular/core';
|
|
|
|
|
import { ModalController } from '@ionic/angular';
|
|
|
|
|
import { CommonService } from 'src/app/hmg-common/services/common/common.service';
|
|
|
|
|
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-business-card',
|
|
|
|
|
templateUrl: './business-card.component.html',
|
|
|
|
|
styleUrls: ['./business-card.component.scss'],
|
|
|
|
|
})
|
|
|
|
|
export class BusinessCardComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
@Input() userInfo: any;
|
|
|
|
|
public userJobName: any;
|
|
|
|
|
constructor(
|
|
|
|
|
public modalCtrl: ModalController,
|
|
|
|
|
public ts: TranslatorService,
|
|
|
|
|
public common: CommonService
|
|
|
|
|
) { }
|
|
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
|
console.log(this.userInfo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dismiss() {
|
|
|
|
|
this.modalCtrl.dismiss({
|
|
|
|
|
'dismissed': true
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|