@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
28 lines (27 loc) • 1.46 kB
TypeScript
import { AfterViewInit, OnDestroy, QueryList } from '@angular/core';
import { TabComponent } from './tab/tab.component';
import { TabsetService } from './tabset.service';
import * as i0 from "@angular/core";
export declare class TabsetComponent implements AfterViewInit, OnDestroy {
readonly _tabset: TabsetService;
private readonly _changeDetector;
/** Determine if the appearance of the tabset */
minimal: boolean;
/** Determine if the tabset should appear stacked */
stacked: 'left' | 'right' | 'none';
/** Determine if we want to manually update the active state */
set manual(manual: boolean);
/** Provide am aria label for the tabset */
ariaLabel: string;
/** Access all the children */
_tabs: QueryList<TabComponent>;
/** Remove subscriptions on destroy */
private readonly _onDestroy$;
ngAfterViewInit(): void;
ngOnDestroy(): void;
selectTab(tab: number | TabComponent): void;
handleKeyDown(event: KeyboardEvent, tab: HTMLElement): void;
markForCheck(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TabsetComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TabsetComponent, "ux-tabset", never, { "minimal": { "alias": "minimal"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "manual": { "alias": "manual"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; }, {}, ["_tabs"], ["*"], false, never>;
}