gentics-ui-core
Version:
This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.
52 lines (51 loc) • 1.84 kB
TypeScript
import { TemplateRef, EventEmitter } from '@angular/core';
import { GtxTabContent } from './tab-content';
import { GtxTabLabel } from './tab-label';
import * as i0 from "@angular/core";
/**
* For documentation, see the GroupedTabs
*/
export declare class TabPane {
private uniqueId;
/** The unique ID of the tab pane. */
get id(): string;
get content(): GtxTabContent | TemplateRef<any>;
/** Content for the tab label given by `<ng-template gtx-tab-label>`. */
templateLabel: GtxTabLabel;
/** Plain text label for the tab, used when there is no template label. */
textLabel: string;
set id(val: string);
/**
* Hide status icon for this tab
*/
set hideStatusIcon(val: any);
/**
* Sets disabled state
*/
set disabled(val: any);
/**
* Sets read-only state
*/
set readonly(val: any);
/**
* Sets inactive state
*/
set inactive(val: any);
/**
* Template provided in the tab content that will be used if present, used to enable lazy-loading
*/
_explicitContent: GtxTabContent;
/** Template inside the TabPane view that contains an `<ng-content>`. */
_implicitContent: TemplateRef<any>;
/**
* When the tab is clicked, this event is fired with the tab id.
*/
select: EventEmitter<string>;
active: boolean;
stateDisabled: boolean;
stateReadOnly: boolean;
stateInactive: boolean;
displayStatusIcon: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<TabPane, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TabPane, "gtx-tab-pane", ["gtxTabPane"], { "textLabel": "label"; "id": "id"; "hideStatusIcon": "hideStatusIcon"; "disabled": "disabled"; "readonly": "readonly"; "inactive": "inactive"; }, { "select": "select"; }, ["templateLabel", "_explicitContent"], ["*"]>;
}