alfresco-ng2-components/docs/core/directives/infinite-select-scroll.directive.md
Cilibiu Bogdan 8471fe40a5
[ADF-5311] Extract infinite select scroll loading logic to a reusable component (#6536)
* move translation to core

* select scroll directive

* register directive

* add infinite scroll directive

* clean up component and aditional logic

* use  waitForAsync over async

* update docs

* change output emitter name

* revert to async

* restore default value;

* test
2021-01-15 11:35:39 +00:00

783 B

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Infinite Select Scroll directive v4.3.0 Active 2020-01-14

Infinite Select Scroll

Load more options to select component if API returns more items

Basic Usage

<mat-select
    adf-infinite-select-scroll
    (scrollEnd)="load()">
    <mat-option *ngFor="let option of options">
        {{ option }}
    </mat-option>
</mat-select>`

Class members

Events

Name Type Description
scrollEnd EventEmitter<Event> Emitted when scroll reaches the last item.