UNPKG

@controladad/ng-base

Version:
18 lines (17 loc) 798 B
import { AfterViewInit, TemplateRef, QueryList, ElementRef, WritableSignal } from '@angular/core'; import * as i0 from "@angular/core"; export interface TabItem { label: string; bodySlot: string; icon?: string; } export declare class CacTabsComponent implements AfterViewInit { tabs: WritableSignal<TabItem[]>; hasIcon: boolean; allBody?: QueryList<TemplateRef<ElementRef>>; contents?: TemplateRef<ElementRef>[]; currentIndex: number; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CacTabsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CacTabsComponent, "cac-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "hasIcon": { "alias": "hasIcon"; "required": false; }; }, {}, ["allBody"], never, true, never>; }