mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Unit tests for document list component
This commit is contained in:
@@ -16,6 +16,16 @@
|
||||
*/
|
||||
|
||||
export class ColumnSortingModel {
|
||||
|
||||
static DEFAULT_DIRECTION: string = 'asc';
|
||||
|
||||
key: string;
|
||||
direction: string = 'asc';
|
||||
direction: string = ColumnSortingModel.DEFAULT_DIRECTION;
|
||||
|
||||
constructor(opts?: any) {
|
||||
if (opts) {
|
||||
this.key = opts.key;
|
||||
this.direction = opts.direction || ColumnSortingModel.DEFAULT_DIRECTION;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user