Skip to content

changes to accessibility on destroyScroller and setup #443

@curtiskeller

Description

@curtiskeller

Hi,

We were using the destroyScroller and setup methods to reset the scroller based on external factors. Is there a new method to call to reset the scroller in a similar manner?

@ViewChild('scrollerRef', { static: true, read: InfiniteScrollDirective }) private _infiniteScrollDirective!: InfiniteScrollDirective;


  private resetScroller() {
    this._infiniteScrollDirective.destroyScroller();
    this._infiniteScrollDirective.setup();
    this._scrollerRefEl.nativeElement.scrollTop = 0;
  }

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions