@hxui/angular
Version:
An Angular library based on the [HXUI design system](https://hxui.io).
22 lines (21 loc) • 804 B
TypeScript
import { ITabularRow } from './tabular-row.interface';
import { TabularColumnTypes } from './tabular-column.interface';
import { TabularContentService } from './tabular-content.service';
import * as i0 from "@angular/core";
export declare enum SortByDirection {
Ascending = 0,
Descending = 1,
None = 2
}
export interface ISortByProperty {
property: string;
direction: SortByDirection;
type: TabularColumnTypes;
}
export declare class TabularSortByService {
private contentService;
constructor(contentService: TabularContentService);
sortBy(rows?: ITabularRow[], sortProps?: ISortByProperty[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TabularSortByService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TabularSortByService>;
}