argos/dmp-frontend/src/app/form/dynamic-form-section/dynamic-form-section.ts

23 lines
573 B
TypeScript
Raw Normal View History

import { FormGroup } from '@angular/forms';
import { Section } from '../../entities/model/section';
2017-12-06 11:35:50 +01:00
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
@Component({
2017-12-06 11:35:50 +01:00
selector: 'df-section',
templateUrl: './dynamic-form-section.html',
styleUrls: [
'./dynamic-form-section.css'
],
encapsulation: ViewEncapsulation.None,
})
export class DynamicFormSectionComponent implements OnInit {
2017-12-06 11:35:50 +01:00
@Input() section: Section
@Input() form: FormGroup;
@Input() pathName: string;
@Input() path: string;
constructor() { }
2017-12-06 11:35:50 +01:00
ngOnInit() {
2017-12-06 11:35:50 +01:00
}
}