QueryViewport interface

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

interface QueryViewport<TRow>

What a query viewport shows. A new object on every change.

Properties

items

readonly items: readonly QueryViewportItem<TRow>[];

The rows to render, with their offsets: the visible rows and the overscan.

totalSize

readonly totalSize: number;

The height of the scroll spacer.

total

readonly total: number | null;

No documentation.

query

readonly query: QueryCollectionQuery;

No documentation.

loading

readonly loading: boolean;

No documentation.

error

readonly error: BridgeError | undefined;

No documentation.