injectCollectionViewport function

Module @runic-artifex/angular in @runic-artifex/angular 0.23.0

function injectCollectionViewport(element: Signal<ElementRef<HTMLElement> | HTMLElement | null | undefined>, options: () => CollectionViewportOptions, { injector: provided }?: InjectCollectionViewportOptions): Signal<CollectionViewport>;

Follows a fixed-row-height scroll container and returns the rows to request from .NET as a signal. Pass the container, for example viewChild<ElementRef<HTMLElement>>("scroller"), and the list options as a signal or function, then send start and size to the ViewModel from an effect.