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

Définition

La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Valeur résolue

Écosystème

Utilisé par

Composables et composants qui consomment cette constante.

  • OrigamVirtualList

  • OrigamDataTable

Usage

Exemples

Extraits de code prêts à coller utilisant cette constante.

Referencing BUFFER_PX in a custom virtual scroller

typescript