@sparser/au2-data-grid
Version:
A data grid for Aurelia 2
21 lines • 913 B
TypeScript
/**
* @returns {HTMLElement[]} All grid-header elements when the default template is used.
*/
export declare function getHeaders(grid: HTMLElement): HTMLElement[];
/**
* @returns {string[]} textContents from all the grid-header elements when the default template is used.
*/
export declare function getHeaderTextContent(grid: HTMLElement): (string | null)[];
/**
* @returns {HTMLElement[]} All grid-header elements when the default template is used.
*/
export declare function getContentRows(grid: HTMLElement): HTMLElement[];
/**
* @returns {(string | null)[][]} All content-row text when the default template is used.
*/
export declare function getContentTextContent(grid: HTMLElement): (string | null)[][];
/**
* @returns {string | null} returns the trimmed text content of the given `el`.
*/
export declare function getText(el: Node | null): string | null;
//# sourceMappingURL=test-helpers.d.ts.map