UNPKG

930 BTypeScriptView Raw
1import { OnDestroy } from '@angular/core';
2import { TabDirective } from './tab.directive';
3import { TabsetConfig } from './tabset.config';
4export declare class TabsetComponent implements OnDestroy {
5 /** if true tabs will be placed vertically */
6 vertical: boolean;
7 /** if true tabs fill the container and have a consistent width */
8 justified: boolean;
9 /** navigation context class: 'tabs' or 'pills' */
10 type: string;
11 clazz: boolean;
12 tabs: TabDirective[];
13 classMap: any;
14 protected isDestroyed: boolean;
15 protected _vertical: boolean;
16 protected _justified: boolean;
17 protected _type: string;
18 constructor(config: TabsetConfig);
19 ngOnDestroy(): void;
20 addTab(tab: TabDirective): void;
21 removeTab(tab: TabDirective): void;
22 protected getClosestTabIndex(index: number): number;
23 protected hasAvailableTabs(index: number): boolean;
24 protected setClassMap(): void;
25}