mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
74199: Infinite scroll size changes
This commit is contained in:
@@ -12,6 +12,7 @@ import { DSpaceObject } from '../../../../core/shared/dspace-object.model';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-authorized-collection-selector',
|
selector: 'ds-authorized-collection-selector',
|
||||||
|
styleUrls: ['../dso-selector.component.scss'],
|
||||||
templateUrl: '../dso-selector.component.html'
|
templateUrl: '../dso-selector.component.html'
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
<div class="scrollable-menu list-group">
|
<div class="scrollable-menu list-group">
|
||||||
<div
|
<div
|
||||||
infiniteScroll
|
infiniteScroll
|
||||||
[infiniteScrollDistance]="0.2"
|
[infiniteScrollDistance]="1"
|
||||||
[infiniteScrollThrottle]="300"
|
[infiniteScrollThrottle]="300"
|
||||||
[infiniteScrollContainer]="'.scrollable-menu'"
|
[infiniteScrollContainer]="'.scrollable-menu'"
|
||||||
[fromRoot]="true"
|
[fromRoot]="true"
|
||||||
|
@@ -68,7 +68,7 @@ export class DSOSelectorComponent implements OnInit, OnDestroy {
|
|||||||
/**
|
/**
|
||||||
* Default pagination for this feature
|
* Default pagination for this feature
|
||||||
*/
|
*/
|
||||||
defaultPagination = { id: 'dso-selector', currentPage: 1, pageSize: 5 } as any;
|
defaultPagination = { id: 'dso-selector', currentPage: 1, pageSize: 10 } as any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List with search results of DSpace objects for the current query
|
* List with search results of DSpace objects for the current query
|
||||||
|
Reference in New Issue
Block a user