UNPKG

@netgrif/components-core

Version:

Netgrif Application engine frontend core Angular library

14 lines (13 loc) 482 B
/** * Constants for use with the */ export declare enum PaginationSort { ASCENDING = "asc", DESCENDING = "desc" } /** * Creates the configuration string for use with the [PAGE_SORT]{@link PaginationParams#PAGE_SORT} configuration attribute * @param attribute the name of the attribute that should be used for sorting the results * @param direction the sorting direction */ export declare function createSortParam(attribute: string, direction: PaginationSort): string;