Closed elvispdosreis closed 4 months ago
How do I prevent this type of event?
<div class="table-responsive-sm text-nowrap" infinite-scroll [infiniteScrollDistance]="scrollDistance" [infiniteScrollUpDistance]="scrollUpDistance" [infiniteScrollThrottle]="throttle" (scrolled)="onScrollDown()" [alwaysCallback]="true" [scrollWindow]="true" >
Imho the directive is just responsible for triggering the event on scroll down. If there's nothing to do, just ignore the event / unsubscribe?
How do I prevent this type of event?