| 123456789101112131415161718192021222324252627282930313233 |
- import { OnDestroy, Renderer2, ElementRef } from '@angular/core';
- import { TabDirective } from './tab.directive';
- import { TabsetConfig } from './tabset.config';
- export declare class TabsetComponent implements OnDestroy {
- private renderer;
- private elementRef;
- /** 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: {
- [key: string]: boolean;
- };
- protected isDestroyed: boolean;
- protected _vertical: boolean;
- protected _justified: boolean;
- protected _type: string;
- constructor(config: TabsetConfig, renderer: Renderer2, elementRef: ElementRef);
- ngOnDestroy(): void;
- addTab(tab: TabDirective): void;
- removeTab(tab: TabDirective, options?: {
- reselect: boolean;
- emit: boolean;
- }): void;
- keyNavActions(event: KeyboardEvent, index: number): void;
- protected getClosestTabIndex(index: number): number;
- protected hasAvailableTabs(index: number): boolean;
- protected setClassMap(): void;
- }
|