funky-framadate-front/src/app/pages/base-page/base.component.ts

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;
}
}