UNPKG

gentics-ui-core

Version:

This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.

35 lines (34 loc) 1.35 kB
import { QueryList, EventEmitter } from '@angular/core'; import { TabPane } from './tab-pane.component'; import { GtxTabLabel } from './tab-label'; import * as i0 from "@angular/core"; /** * For documentation, see the GroupedTabs */ export declare class TabGroup { /** Unique id for the tab group. */ uniqueId: string; /** Expand state for the group */ expand: boolean; /** Content for the tab label given by `<ng-template gtx-tab-label>`. */ templateLabels: QueryList<GtxTabLabel>; get templateLabel(): GtxTabLabel; /** Plain text label for the tab, used when there is no template label. */ textLabel: string; set expanded(val: any); set id(val: string); get id(): string; /** * Fires an event whenever the tab group is toggled. Argument is the id and state of the tab group. */ tabGroupToggle: EventEmitter<{ id: string; expand: boolean; }>; /** All of the defined tab panes. */ tabs: QueryList<TabPane>; get hasActiveChild(): boolean; toggle(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TabGroup, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TabGroup, "gtx-tab-group", ["gtxTabGroup"], { "textLabel": "label"; "expanded": "expanded"; "id": "id"; }, { "tabGroupToggle": "tabGroupToggle"; }, ["templateLabels", "tabs"], never>; }