@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
60 lines (59 loc) • 1.93 kB
TypeScript
import { OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
import { PivotTabType } from './pivot-tab-type';
import * as i0 from "@angular/core";
/**
* Defines a tab for @see PivotComponent
*/
export declare class PivotTabComponent implements OnChanges {
private pivotContainer;
constructor(pivotContainer: any);
/**
* Indicates the type of this tab
*/
get type(): PivotTabType;
/**
* The route of this tab
*/
route: string;
/**
* Use the same input options as angular @see RouterLinkActive Directive
*/
routerLinkActiveOptions: {
exact: boolean;
};
/**
* The label of this tab.
*/
label: string;
/**
* The class for the icon to show for this tab
*/
iconClass: string;
/**
* Indicates if this tab is disabled
*/
disabled: boolean;
/**
* Indicates if we should show the error status icon
*/
showErrorStatusIcon: boolean;
/**
* The content template ref of the tab.
*/
contentTemplate: TemplateRef<any>;
/**
* This is a property that stores the measured width of a pivot tab.
*/
width: number;
/**
* Indicates whether a tab is visible or in the tab tray.
*/
isVisible: boolean;
ngOnChanges(changes: SimpleChanges): void;
/**
* Measures the length of the pivot tab and assigns this value to the width attribute
*/
private yieldMeasureTab;
static ɵfac: i0.ɵɵFactoryDeclaration<PivotTabComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PivotTabComponent, "sme-pivot-tab", never, { "route": "route"; "routerLinkActiveOptions": "routerLinkActiveOptions"; "label": "label"; "iconClass": "iconClass"; "disabled": "disabled"; "showErrorStatusIcon": "showErrorStatusIcon"; }, {}, ["contentTemplate"], never, false, never>;
}