funky-framadate-front/mocks/old-stuff/pages/end-confirmation/end-confirmation.component.ts
2021-04-29 10:41:47 +02:00

29 lines
863 B
TypeScript

import { HttpClient } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
import { ToastService } from '../../../../src/app/core/services/toast.service';
import { ConfigService } from '../../services/config.service';
import { BaseComponent } from '../example/base-page/base.component';
@Component({
selector: 'app-end-confirmation',
templateUrl: './end-confirmation.component.html',
styleUrls: ['./end-confirmation.component.scss'],
})
export class EndConfirmationComponent extends BaseComponent implements OnInit {
mailToRecieve = '';
constructor(public config: ConfigService, public http: HttpClient, private toastService: ToastService) {
super(config);
this.mailToRecieve = this.config.myEmail;
}
ngOnInit(): void {}
copyLink(str: any) {
this.toastService.display(`Lien copié : ${str}`);
}
sendToEmail() {}
}