Files
agent/shared/src/components/popover/tab/none/none-tab.component.ts
2017-02-05 21:39:18 +01:00

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;
}
}