UNPKG

ng2-bootstrap

Version:
26 lines (25 loc) 930 B
import { OnDestroy } from '@angular/core'; import { TabDirective } from './tab.directive'; import { TabsetConfig } from './tabset.config'; export declare class TabsetComponent implements OnDestroy { /** if true tabs will be placed vertically */ vertical: boolean; /** if true tabs fill the container and have a consistent width */ justified: boolean; /** navigation context class: 'tabs' or 'pills' */ type: string; clazz: boolean; tabs: TabDirective[]; classMap: any; protected isDestroyed: boolean; protected _vertical: boolean; protected _justified: boolean; protected _type: string; constructor(config: TabsetConfig); ngOnDestroy(): void; addTab(tab: TabDirective): void; removeTab(tab: TabDirective): void; protected getClosestTabIndex(index: number): number; protected hasAvailableTabs(index: number): boolean; protected setClassMap(): void; }