core/common/virtual-scroll/virtual-scroll-listener.directive.ts

Description

Directive to listen for scroll events on a virtual scroll container. Emits scrolled and scrolledToTop events.

The directive listens for scroll events on a virtual scroll container.

  • When the container is scrolled by at least 50 pixels (or a custom threshold), the scrolled event is emitted.
  • When the container is scrolled to the top, the scrolledToTop event is emitted.

Implements

AfterViewInit

Example

Metadata

Relationships

results matching ""

    No results matching ""