28 lines
566 B
TypeScript
28 lines
566 B
TypeScript
import { Component, EventEmitter, OnChanges, Output } from '@angular/core';
|
|
|
|
import { Tab } from '../tab';
|
|
|
|
@Component({
|
|
selector: 'none-tab',
|
|
templateUrl: './none-tab.component.html',
|
|
styleUrls: ['./none-tab.component.scss']
|
|
})
|
|
export class NoneTabComponent extends Tab implements OnChanges {
|
|
ngOnChanges(event: any) {
|
|
this.validAction.emit(true);
|
|
}
|
|
|
|
keyActionValid(): boolean {
|
|
return true;
|
|
}
|
|
|
|
fromKeyAction(): boolean {
|
|
return false;
|
|
}
|
|
|
|
toKeyAction(): undefined {
|
|
return undefined;
|
|
}
|
|
|
|
}
|