import { Component, ViewChild, OnInit, AfterViewInit } from '@angular/core'; import { FarrisTabsComponent } from '../../../../projects/tabs/src/lib/'; import { TestTabsComponent } from './testtab/testtab.component'; @Component({ selector: 'tabs', templateUrl: './tabs.component.html' }) export class TabsComponent implements OnInit, AfterViewInit { tab1Show = true; constructor(private testTabs: TestTabsComponent) { } ngOnInit() { } ngAfterViewInit() { } tabChange(e) { console.log(e); } tabRemove(e) { console.log(e); } }