@rxap/material-table-system
Version:
This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c
9 lines (8 loc) • 429 B
TypeScript
import { Method } from '@rxap/pattern';
export type RowActionCheckFunction<Data> = (element: Data, index: number, array: Data[]) => boolean;
export type TableRowActionTypeSwitchMethod<Data> = Method<any, {
element: Data;
type: string;
}>;
export type TableRowActionTypeMethod<Data> = Method<any, Data>;
export type TableRowActionMethod<Data = any> = TableRowActionTypeSwitchMethod<Data> | TableRowActionTypeMethod<Data>;