[DSC-389] comment and import fixed.

This commit is contained in:
Pratik Rajkotiya
2022-02-10 18:46:38 +05:30
parent 15ab8216ec
commit 079b2a772a
2 changed files with 8 additions and 8 deletions

View File

@@ -70,27 +70,27 @@ export class BrowseByComponent implements OnInit {
@Input() showPaginator = true;
/**
* If showPaginator is set to true, should it hide the options gear?
* It is used to hide or show gear
*/
@Input() hideGear = false;
/**
* If showPaginator is set to true, emit when the previous button is clicked
* Emits event when prev button clicked
*/
@Output() prev = new EventEmitter<boolean>();
/**
* If showPaginator is set to true, emit when the next button is clicked
* Emits event when next button clicked
*/
@Output() next = new EventEmitter<boolean>();
/**
* If showPaginator is set to true, emit when the page size is changed
* Emits event when page size is changed
*/
@Output() pageSizeChange = new EventEmitter<number>();
/**
* If showPaginator is set to true, emit when the sort direction is changed
* Emits event when page sort direction is changed
*/
@Output() sortDirectionChange = new EventEmitter<SortDirection>();

View File

@@ -20,10 +20,10 @@ import { hasValue } from '../empty.util';
import { PageInfo } from '../../core/shared/page-info.model';
import { PaginationService } from '../../core/pagination/pagination.service';
import { map, take } from 'rxjs/operators';
import { RemoteData } from 'src/app/core/data/remote-data';
import { PaginatedList } from 'src/app/core/data/paginated-list.model';
import { RemoteData } from '../../core/data/remote-data';
import { PaginatedList } from '../../core/data/paginated-list.model';
import { ListableObject } from '../object-collection/shared/listable-object.model';
import { ViewMode } from 'src/app/core/shared/view-mode.model';
import { ViewMode } from '../../core/shared/view-mode.model';
/**
* The default pagination controls component.