Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div *ngFor="let tab of tabs | async">
- <app-tab [tab]="tab"></app-tab>
- </div>
- export class TabComponent implements OnInit {
- @Input() tab: Tab;
- constructor() {
- console.log(this.tab);
- }
- ngOnInit() {}
- }
- <mat-tab label="{{ tab.name }}"></mat-tab>
Add Comment
Please, Sign In to add comment