Skip to content

Instantly share code, notes, and snippets.

@tkssharma
Created October 1, 2017 04:00
Show Gist options
  • Save tkssharma/18fef04385fcc94bdf05ad524a1b6311 to your computer and use it in GitHub Desktop.
Save tkssharma/18fef04385fcc94bdf05ad524a1b6311 to your computer and use it in GitHub Desktop.
<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