import { ElementRef, OnInit, EventEmitter, QueryList } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { TabsModel } from '../../models/tabs/tabs.model'; import { TabsStylingModel } from '../../models/tabs/tabs-styling.model'; import { CfTabsCardComponent } from '../tabs-card/tabs-card.component'; import { TemplateService } from '../../services/template-service/template.service'; /** *

Tabs component based on Angular Material Tabs and Angular animations system

*

Example of using:

*
 * <cf-tabs [properties]="myTabs" [styling]="myTabsStyles"></cf-tabs>
 * 
*/ export declare class CfTabsComponent extends CfCoreComponent implements OnInit { elementRef: ElementRef; /** * It is an attribute [properties] of directive cf-tabs which take TabsModel object. *

Example of model:

*
{{'{'}}
     *  activeCardIndex: 3,
     *  showCardNumberAsIcon: true,
     *  showCardNumberAsPrefix: true,
     *  indexBefore: true,
     *  headerPosition: 'right'
     * {{'}'}}
*

activeCardIndex: number

* Active card index *

showCardNumberAsIcon: boolean

* Showing step number as icon in tabs header steps buttons *

showCardNumberAsPrefix: boolean

* Showing step prefix as icon in tabs header steps buttons *

indexBefore: boolean

* Showing header step index (prefix or icon) before step label *

headerPosition: string

* Header position: above (default), right, below, left */ properties: TabsModel; /** * It is an attribute [styling] of directive cf-tabs which take TabsStylingModel object with next properties: *

headerSection: StylingModel

* Styling properties for tabs header container *

container: StylingModel

* Styling properties for main tabs container */ styling: TabsStylingModel; /** * Active card index */ activeCardIndex: number; /** * If to show step number as icon in Tabs header steps buttons. */ showCardNumberAsIcon: boolean; /** * If to show step number as prefix in Tabs header steps buttons. */ showCardNumberAsPrefix: boolean; /** * If to show step number before the label. */ indexBefore: boolean; /** * Header position: above (default), right, below, left. */ headerPosition: string; /** @hidden * It is an array of tabs cards */ tabsCards: QueryList; /** * Output event with active card index */ onCardChanged: EventEmitter; /** @hidden */ constructor(elementRef: ElementRef, /**@hidden */ templateService: TemplateService); /** @hidden */ ngOnInit(): void; /** @hidden * Method to set active card index and emit event with it * @param index active card index */ _cardChanged(index: any): void; }