Created
October 1, 2017 04:00
-
-
Save tkssharma/18fef04385fcc94bdf05ad524a1b6311 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<app-header (filterChange)="filterValueChange($event);"></app-header> | |
<ng-loader [loaded]="loaded"></ng-loader> | |
<main-result [Users]="Users"></main-result> | |
<app-footer></app-footer> | |
@Component({ | |
selector: 'main-result', | |
templateUrl: './main-result.html' | |
}) | |
export default class MainComponent implements OnInit { | |
@Input() Users: user[]; | |
constructor(){ | |
this.Users =[]; | |
} | |
ngOnInit(){ | |
console.log(this.Users); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment