import { ChangeDetectionStrategy , Component , OnInit } from '@angular/core' ; import { Tab } from '../tab' ; @ Component ( { selector : 'none-tab' , changeDetection : ChangeDetectionStrategy . OnPush , templateUrl : './none-tab.component.html' , styleUrls : [ './none-tab.component.scss' ] } ) export class NoneTabComponent extends Tab implements OnInit { ngOnInit ( ) { this . validAction . emit ( true ) ; } keyActionValid ( ) { return true ; } fromKeyAction ( ) { return false ; } toKeyAction ( ) { return undefined ; } }