@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
21 lines (20 loc) • 1.25 kB
TypeScript
import { ElementRef, Renderer2 } from '@angular/core';
import { SmeResponsiveWindowManagerComponent } from '../common/sme-responsive-window-manager.component';
export declare class DataTableResponsiveWindowManager extends SmeResponsiveWindowManagerComponent {
readonly name = "sme-data-table";
previousWindowHeight: number;
set isTableRenderedOnPhoneDownWithMinHeight(input: boolean);
get isTableRenderedOnPhoneDownWithMinHeight(): boolean;
private _isTableRenderedOnPhoneDownWithMinHeight;
/**
* Dynamically sync the width of the table header to the table body on phone-down.
*/
updateViewPortWidthDynamicallyOnPhoneDown(scrollBodyElement: ElementRef, renderer: Renderer2, scrollContainerElement: ElementRef, headerTableElement: ElementRef): void;
/**
* This function determines whether the table is displaying with min-height 150px on phone mode.
* This is mainly for some custom logic to get the height of the table for absolute layout calculations.
*/
checkIsTableRenderedOnPhoneDownWithMinHeight(headerTableElement: ElementRef, scrollContainerElement: ElementRef): boolean;
private setIsTableRenderedOnPhoneDownWithMinHeight;
private getMaxChildrenWidth;
}