UNPKG

1.04 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import * as i0 from "@angular/core";
3export declare class DatatableGroupHeaderDirective {
4 /**
5 * Row height is required when virtual scroll is enabled.
6 */
7 rowHeight: number | ((group?: any, index?: number) => number);
8 _templateInput: TemplateRef<any>;
9 _templateQuery: TemplateRef<any>;
10 get template(): TemplateRef<any>;
11 /**
12 * Track toggling of group visibility
13 */
14 toggle: EventEmitter<any>;
15 /**
16 * Toggle the expansion of a group
17 */
18 toggleExpandGroup(group: any): void;
19 /**
20 * Expand all groups
21 */
22 expandAllGroups(): void;
23 /**
24 * Collapse all groups
25 */
26 collapseAllGroups(): void;
27 static ɵfac: i0.ɵɵFactoryDeclaration<DatatableGroupHeaderDirective, never>;
28 static ɵdir: i0.ɵɵDirectiveDeclaration<DatatableGroupHeaderDirective, "ngx-datatable-group-header", never, { "rowHeight": "rowHeight"; "_templateInput": "template"; }, { "toggle": "toggle"; }, ["_templateQuery"]>;
29}
30
\No newline at end of file