@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
12 lines (11 loc) • 504 B
TypeScript
import type { Observable } from 'rxjs';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class ExpandRowService<Data extends Record<string, any>> {
expandedRow: BehaviorSubject<Data | null>;
toggleRow(row: Data): void;
isExpanded(row: Data): boolean;
isExpanded$(row: Data): Observable<boolean>;
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowService<any>, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandRowService<any>>;
}