UNPKG

right-angled

Version:

Lightweight and easy to use angular data grids. Integrates with your markup and styles rather than generating its own.

33 lines 952 B
import { ListResponse } from './list-response'; /** * Base contract of pager. */ export interface Pager { /** * Must be `true` for such pager implementations which destroy previously loaded data only on full reload and keep data on next chunk loading. */ appendedOnLoad: boolean; /** * Total count of records in remote data source. * * @see {@link ListResponse.totalCount} */ totalCount: number; /** * Count of records that was loaded at last request. * * @see {@link ListResponse.loadedCount} */ loadedCount: number; /** * Performs logic associated with pager state reset. */ reset(): void; /** * Performs logic associated with parsing of server response returned at data request. * * @param response server response to process. */ processResponse(response: ListResponse<any> | any[]): void; } //# sourceMappingURL=pager.d.ts.map