alfresco-ng2-components/docs/core/directives/infinite-select-scroll.directive.md
Eugenio Romano c3452a4f62
Documentation build (#6762)
* move doc dependency in doctools

* add ignore link

* rebuild doc

* version index

* put it back some deps
2021-03-03 14:08:15 +00:00

31 lines
669 B
Markdown

---
Title: Infinite Select Scroll directive
Added: v4.3.0
Status: Active
Last reviewed: 2020-01-14
---
# [Infinite Select Scroll](../../../lib/core/directives/infinite-select-scroll.directive.ts "Defined in infinite-select-scroll.directive.ts")
Load more options to select component if API returns more items
## Basic Usage
```html
<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 | `any` | Emitted when scroll reaches the last item. |