@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
72 lines (71 loc) • 2.78 kB
TypeScript
import { ElementRef, EventEmitter, Injector, OnChanges, SimpleChanges } from '@angular/core';
import { CoreBaseComponent } from '../common/base.component';
import { Layout } from '../common/layout';
import * as i0 from "@angular/core";
/**
*
* @smeDoc {@label Details @id sme-details}
*
* @overview
* @file {@filepath ./examples/details-overview.md}
*
* @example {@label Basic Usage @id basic-usage}
* @file {@filename component.ts @filepath ./examples/details-example.component.ts}
* @file {@filename component.html @filepath ./examples/details-example.component.html}
*
*/
export declare enum ChevronPosition {
Left = "-1",
Right = "0"
}
export declare class DetailsComponent extends CoreBaseComponent implements OnChanges {
get minExpanderHeight(): string;
get shouldContentSlim(): boolean;
/**
* The source name to use for logging
*/
protected get logSourceName(): string;
resourceStrings: {
AriaDescription: string;
};
expander: ElementRef;
initialHeightPercentage: number;
header: string;
chevronInverted: boolean;
chevronPosition: string;
addBottomBorder: boolean;
/**
* The detail component's height will be determined on the whole children's height.
*/
autoHeight: boolean;
/**
* @deprecated since 02/25/2019. Please use 'header' instead
*/
set title(value: string);
get title(): string;
isExpanded: boolean;
isExpandedChange: EventEmitter<boolean>;
layoutChanged: EventEmitter<void>;
private detailsResponsiveWindowManager;
constructor(injector: Injector, layout: Layout);
ngOnChanges(changes: SimpleChanges): void;
toggleExpansion(): void;
refresh(): void;
/**
* The on window breakpoint changed handler.
* Adding yield for component to get ElementRef after initialization.
*/
onWindowBreakpointChanged(): void;
/**
* The deferred layout changed handler.
*/
private deferredOnLayoutChanged;
/**
* The layout changed event handler.
*/
private onLayoutChanged;
protected getInitialHostClasses(): string[];
protected createIdBag(): MsftSme.StringMap<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsComponent, [null, { optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsComponent, "sme-details", never, { "initialHeightPercentage": "initialHeightPercentage"; "header": "header"; "chevronInverted": "chevronInverted"; "chevronPosition": "chevronPosition"; "addBottomBorder": "addBottomBorder"; "autoHeight": "autoHeight"; "title": "title"; "isExpanded": "isExpanded"; }, { "isExpandedChange": "isExpandedChange"; }, never, ["*"], false, never>;
}