UNPKG

ng-hub-ui-table

Version:

Highly customizable Angular table and list components with pagination, sorting and filtering support.

18 lines (17 loc) 808 B
import * as i0 from "@angular/core"; export declare class PaginationService { generate(items: any[], params: any): any; /** * Creates an array of elements, sorted in ascending or descending order by the results of running each element * in a collection thru each iteratee. This method performs a stable sort, that is, it preserves the original s * ort order of equal elements. The iteratees are invoked with one argument: (value). * * @param collection * @param iteratee * @param direction */ orderBy(collection: any[], iteratee: string, direction?: string): any[]; get(object: any, path: string | any[]): any; static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<PaginationService>; }