dynamic-mat-table
Version:
dynamic-mat-table is an Angular component for presenting large and complex data with a lightning fast performance (at least 10x faster) and excellent level of control over the presentation.
23 lines (22 loc) • 1.03 kB
TypeScript
import { Compiler, ComponentFactoryResolver, ComponentRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
import { DynamicMatTableComponent } from '../../dynamic-mat-table/dynamic-mat-table.component';
import { TableField } from '../../models/table-field.model';
import { IRowEvent } from '../../models/table-row.model';
import { IDynamicCell } from './IDynamicCell';
export declare class DynamicCellDirective implements OnInit, OnChanges, OnDestroy {
compiler: Compiler;
private cfr;
private vc;
private parent;
component: any;
column: TableField<any>;
row: any;
onRowEvent: EventEmitter<IRowEvent>;
componentRef: ComponentRef<IDynamicCell>;
constructor(compiler: Compiler, cfr: ComponentFactoryResolver, vc: ViewContainerRef, parent: DynamicMatTableComponent<any>);
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
ngOnDestroy(): void;
initComponent(): void;
updateInput(): void;
}