2022-10-21 16:06:44 +02:00
|
|
|
import {Component, Input} from "@angular/core";
|
2023-11-15 09:35:44 +01:00
|
|
|
import {ActivatedRoute} from "@angular/router";
|
2022-10-21 16:06:44 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'slider-tab',
|
|
|
|
template: ``
|
|
|
|
})
|
|
|
|
export class SliderTabComponent {
|
|
|
|
@Input("tabTitle")
|
|
|
|
public title: string;
|
|
|
|
@Input("tabId")
|
2024-05-30 12:59:07 +02:00
|
|
|
public id: string | number;
|
2022-10-21 16:06:44 +02:00
|
|
|
@Input()
|
|
|
|
public active: boolean = false;
|
|
|
|
@Input()
|
|
|
|
public disabled: boolean = false;
|
2023-01-27 12:54:40 +01:00
|
|
|
@Input()
|
|
|
|
public align: 'left' | 'right' = 'left';
|
2023-02-09 11:09:49 +01:00
|
|
|
@Input()
|
|
|
|
public routerLink: any[] | string | null | undefined = null;
|
|
|
|
@Input()
|
|
|
|
public queryParams: any = null;
|
|
|
|
@Input()
|
|
|
|
public customClass: string = '';
|
2023-07-18 12:20:04 +02:00
|
|
|
@Input() tabTemplate: any;
|
2023-11-15 09:35:44 +01:00
|
|
|
@Input()
|
|
|
|
public relativeTo: ActivatedRoute = null;
|
2022-10-21 16:06:44 +02:00
|
|
|
}
|