BUFFER_PX
const
Layout & Sizing
Pixel buffer added above and below the visible viewport by the virtual-scroll engine. Pre-renders rows outside the current view to mask render latency during fast scrolling.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
useVirtual
OrigamVirtualList
OrigamDataTable
Usage
Examples
Ready-to-paste code snippets using this constant.
Referencing BUFFER_PX in a custom virtual scroller