@hxui/angular
Version:
This README includes the steps that are necessary to import the HxUi-angular into a project or to contribute with development.
16 lines (15 loc) • 466 B
TypeScript
import { ITabularRow } from './tabular-row.interface';
import { TabularColumnTypes } from './tabular-column.interface';
export declare enum SortByDirection {
Ascending = 0,
Descending = 1,
None = 2,
}
export interface ISortByProperty {
property: string;
direction: SortByDirection;
type: TabularColumnTypes;
}
export declare class TabularSortByService {
sortBy(rows?: ITabularRow[], sortProps?: ISortByProperty[]): void;
}