@sparser/au2-data-grid
Version:
A data grid for Aurelia 2
27 lines • 951 B
TypeScript
import { ICustomElementViewModel } from '@aurelia/runtime-html';
import { Column } from './grid-state.js';
import { SortDirection } from './sorting-options.js';
/**
* Custom element that wraps the header content.
*/
export declare class GridHeader implements ICustomElementViewModel {
readonly state: Column;
private readonly content;
private readonly sortingMarker?;
private readonly node;
private readonly platform;
get isSortable(): boolean;
get direction(): SortDirection | null;
get isResizable(): boolean;
binding(): void;
attached(): void;
private handleClick;
private handleDragStart;
private handleDragover;
private handleDrop;
private handleMouseDown;
private get minColumnWidth();
private static computeDropLocation;
}
export declare const DefaultGridHeader: import("@aurelia/runtime-html").CustomElementType<typeof GridHeader>;
//# sourceMappingURL=grid-header.d.ts.map