All files / components/workspace workspace-tab.component.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 141x             1x 45x 45x 45x 45x    
import { ChangeDetectionStrategy, Component, contentChild, input, TemplateRef } from '@angular/core';
 
@Component({
    selector: 'ui-workspace-tab',
    template: '',
    changeDetection: ChangeDetectionStrategy.OnPush,
})
export class WorkspaceTabComponent {
    readonly label = input.required<string>();
    readonly icon = input.required<string>();
    readonly keepAlive = input(false);
    readonly contentTemplate = contentChild(TemplateRef);
}