UNPKG

1.09 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import * as i0 from "@angular/core";
3export declare class DatatableRowDetailDirective {
4 /**
5 * The detail row height is required especially
6 * when virtual scroll is enabled.
7 */
8 rowHeight: number | ((row?: any, index?: number) => number);
9 _templateInput: TemplateRef<any>;
10 _templateQuery: TemplateRef<any>;
11 get template(): TemplateRef<any>;
12 /**
13 * Row detail row visbility was toggled.
14 */
15 toggle: EventEmitter<any>;
16 /**
17 * Toggle the expansion of the row
18 */
19 toggleExpandRow(row: any): void;
20 /**
21 * API method to expand all the rows.
22 */
23 expandAllRows(): void;
24 /**
25 * API method to collapse all the rows.
26 */
27 collapseAllRows(): void;
28 static ɵfac: i0.ɵɵFactoryDeclaration<DatatableRowDetailDirective, never>;
29 static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableRowDetailDirective, "ngx-datatable-row-detail", never, { "rowHeight": "rowHeight"; "_templateInput": "template"; }, { "toggle": "toggle"; }, ["_templateQuery"]>;
30}
31
\No newline at end of file