41914: implemented sort for pagination

This commit is contained in:
Lotte Hofstede
2017-06-16 10:45:44 +02:00
parent a253509c5d
commit 432039a2be
7 changed files with 63 additions and 26 deletions

View File

@@ -71,6 +71,17 @@ export class PaginationComponent implements OnDestroy, OnInit {
*/
@Output() sortFieldChange: EventEmitter<string> = new EventEmitter<string>();
/**
* Option for hiding the gear
*/
@Input() public hideGear: boolean = false;
/**
* Option for hiding the pager when there is less than 2 pages
*/
@Input() public hidePagerWhenSinglePage: boolean = true;
/**
* Current page.
*/
@@ -127,9 +138,6 @@ export class PaginationComponent implements OnDestroy, OnInit {
*/
public paginationControls;
/**
*
*/
/**
* Subscriber to observable.