fix component interaction with sub-components

This commit is contained in:
2019-10-19 18:03:18 +02:00
parent 24bf7c98e3
commit 12be86a1d6
9 changed files with 54 additions and 73 deletions

View File

@@ -1,18 +1,18 @@
import { Component, OnInit, Input} from '@angular/core';
import { Component, Input} from '@angular/core';
import {FormControl} from '@angular/forms';
@Component({
selector: 'pdb-limit-by',
templateUrl: './limit-by.component.html',
styleUrls: ['./limit-by.component.scss']
})
export class LimitByComponent implements OnInit {
export class LimitByComponent {
@Input() limit: number;
limitBy: string = "NO_LIMIT";
limit = 10;
@Input() limitBy: string;
constructor() { }
ngOnInit() {
constructor() {
}
}