ngx-virtual-scroller
ngx-virtual-scroller copied to clipboard
I need the after click and select option in scroller
I have a virtual-scroller working but it's necessary for me when the user select of item. The item changes the color similar to the action routerLinkActive and this item has a selection while the user selects another item.
This is the code:
<div #scrollingBlock>
<virtual-scroller #scroll
[items]="items"
[parentScroll]="scrollingBlock"
[bufferAmount]="100">
<div class="space">
<ng-container *ngFor="let item of scroll.viewPortItems">
<ng-container *ngTemplateOutlet="listViewItemTemplate; context: {$implicit: item}" >
</ng-container>
</ng-container>
</div>
</virtual-scroller>
</div>
Does someone have an idea?