UNPKG

@ux-aspects/ux-aspects

Version:

Open source user interface framework for building modern, responsive, mobile big data applications

23 lines (22 loc) 882 B
import { BehaviorSubject } from 'rxjs'; import { TabComponent } from './tab/tab.component'; import * as i0 from "@angular/core"; export declare class TabsetService { /** Store the list of tabs */ tabs: ReadonlyArray<TabComponent>; activeTab$: BehaviorSubject<TabComponent>; /** Store the manual state */ manual: boolean; /** Update the array of tabs - required to preserve order */ update(tabs: TabComponent[]): void; /** Select a tab (from user input) */ select(tab: TabComponent): void; /** Set tab active state */ setTabActive(tab: TabComponent): void; /** Determine if there is a selected tab */ isTabActive(): boolean; /** Select the first non-disabled tab */ selectFirstTab(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TabsetService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TabsetService>; }