fix component interaction with sub-components
This commit is contained in:
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user