UNPKG

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