UNPKG
@sparser/au2-data-grid
Version:
latest (1.0.0-rc.8)
1.0.0-rc.8
1.0.0-rc.7
1.0.0-rc.6
1.0.0-rc.5
1.0.0-rc.4
1.0.0-rc.3
1.0.0-rc.2
1.0.0-rc.1
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
A data grid for Aurelia 2
github.com/Sayan751/au2-data-grid
Sayan751/au2-data-grid
@sparser/au2-data-grid
/
src
/
sorting-options.ts
17 lines
(14 loc)
•
281 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export
enum
SortDirection { Ascending =
'Ascending'
, Descending =
'Descending'
, } export
interface
SortOption
<
T
> {
/** * Name of the property on which to sort */
property: keyof T;
/** * Direction of sorting */
direction: SortDirection; }