import { type VirtualizerOptions } from "https://deno.land/x/netzo@0.5.107/deps/@tanstack/react-virtual.ts";
Type Parameters
TScrollElement extends Element | Window
Properties
getScrollElement: () => TScrollElement | null
scrollToFn: () => void
offset: number,
options: { adjustments?: number; behavior?: ScrollBehavior; },
instance: Virtualizer<TScrollElement, TItemElement>,
observeElementRect: (instance: Virtualizer<TScrollElement, TItemElement>, cb: (rect: Rect) => void) => void | (() => void)
observeElementOffset: (instance: Virtualizer<TScrollElement, TItemElement>, cb: (offset: number, isScrolling: boolean) => void) => void | (() => void)
optional
initialRect: Rectoptional
onChange: (instance: Virtualizer<TScrollElement, TItemElement>, sync: boolean) => voidoptional
measureElement: (element: TItemElement,
entry: ResizeObserverEntry | undefined,
instance: Virtualizer<TScrollElement, TItemElement>,
optional
rangeExtractor: (range: Range) => number[]optional
initialMeasurementsCache: VirtualItem[]