isdashboard/src/main/webapp/app/dyn-tab/dyn-tab.component.ts

18 lines
463 B
TypeScript

import { Component, Input } from '@angular/core';
import { CommonModule } from '@angular/common';
@Component({
standalone: true,
imports: [CommonModule],
selector: 'jhi-dyn-tab',
templateUrl: './dyn-tab.component.html',
styleUrls: ['./dyn-tab.component.scss'],
})
export class DynTabComponent {
@Input() tabTitle: string | undefined;
@Input() active = false;
@Input() isCloseable = false;
@Input() template: any;
@Input() dataContext: any;
}