mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
31 lines
575 B
TypeScript
31 lines
575 B
TypeScript
import {Component, OnInit} from '@angular/core';
|
|
import {ConfigService} from '../../config.service';
|
|
|
|
@Component({
|
|
selector: 'framadate-base-page',
|
|
templateUrl: './base.component.html',
|
|
styleUrls: ['./base.component.scss']
|
|
})
|
|
/**
|
|
* base page is aware of the state of the filling
|
|
*/
|
|
export class BaseComponent implements OnInit {
|
|
|
|
constructor(config: ConfigService) {
|
|
}
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
|
|
checkValidity() {
|
|
// TODO with form controls
|
|
return true;
|
|
}
|
|
|
|
displayErrorMessage() {
|
|
// TODO
|
|
return true;
|
|
}
|
|
}
|