createCollectionViewportController function

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

function createCollectionViewportController(options: CollectionViewportOptions): CollectionViewportController & Disposable;

Creates the framework-neutral viewport tracker behind each binding's useCollectionViewport. Scroll events are coalesced to one measurement per animation frame, and a ResizeObserver follows the container's height. current only changes when the requested range or sizes change. A using declaration disposes it where the engine has Symbol.dispose.