angular2-data-table
Version:
angular2-data-table is a Angular2 component for presenting large and complex data.
29 lines (28 loc) • 857 B
TypeScript
import { EventEmitter, ElementRef } from '@angular/core';
import { SortDirection } from '../../types';
export declare class DataTableBodyCellComponent {
row: any;
column: any;
rowHeight: number;
isSelected: boolean;
sorts: any[];
activate: EventEmitter<any>;
isFocused: boolean;
readonly isSortActive: boolean;
readonly isSortAscending: boolean;
readonly isSortDescending: boolean;
readonly width: number;
readonly height: string | number;
readonly value: any;
sortDir: SortDirection;
element: any;
_sorts: any[];
constructor(element: ElementRef);
onFocus(): void;
onBlur(): void;
onClick(event: MouseEvent): void;
onDblClick(event: MouseEvent): void;
onKeyDown(event: KeyboardEvent): void;
onCheckboxChange(event: any): void;
calcSortDir(sorts: any[]): any;
}