openaire-library/sharedComponents/tabs/slider-tab.component.ts

29 lines
678 B
TypeScript
Raw Normal View History

import {Component, Input} from "@angular/core";
import {ActivatedRoute} from "@angular/router";
@Component({
selector: 'slider-tab',
template: ``
})
export class SliderTabComponent {
@Input("tabTitle")
public title: string;
@Input("tabId")
public id: string | number;
@Input()
public active: boolean = false;
@Input()
public disabled: boolean = false;
@Input()
public align: 'left' | 'right' = 'left';
@Input()
public routerLink: any[] | string | null | undefined = null;
@Input()
public queryParams: any = null;
@Input()
public customClass: string = '';
@Input() tabTemplate: any;
@Input()
public relativeTo: ActivatedRoute = null;
}