@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
25 lines (24 loc) • 1.42 kB
TypeScript
import { QueryList } from '@angular/core';
import { BaseResizableTableDirective } from '../resizable-table-base.directive';
import { ResizableTableColumnComponent } from '../resizable-table-column.component';
import * as i0 from "@angular/core";
export declare class ResizableTableDirective extends BaseResizableTableDirective {
/** Get all the column headers */
columns: QueryList<ResizableTableColumnComponent>;
constructor();
/**
* If this is being used within a modal the table width may initially be zero. This can cause some issues when it does actually appear
* visibily on screen. We should only setup the table once we actually have a width/
*/
onTableReady(): void;
/** Force the layout to recalculate */
updateLayout(): void;
/**
* We should hide any horizontal overflow whenever we are resizing, this is because when we are dragging a column
* we must set the column widths in pixel values as percentages cause some jankiness when moving them. However pixel
* values are less precise and can in some cases cause overflow, so we should hide overflow when we are resizing
*/
private setOverflow;
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableTableDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableTableDirective, "[uxResizableTable]", ["ux-resizable-table"], {}, {}, ["columns"], never, false, never>;
}