@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
17 lines (16 loc) • 550 B
TypeScript
import { ReplaySubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class VirtualForService<T> {
/** Store the size of each item */
itemSize: number;
/** Emit the current dataset */
dataset: ReplaySubject<T[]>;
/** Emit the visible range */
range: ReplaySubject<VirtualForRange>;
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualForService<any>, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<VirtualForService<any>>;
}
export interface VirtualForRange {
start: number;
end: number;
}