UP
const
Virtual Scroll
Direction sentinel used by the virtual scroll engine: UP = -1 indicates scrolling toward lower indices (top of the list). Paired with DOWN = 1.
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
OrigamVirtualScroll
Usage
Examples
Ready-to-paste code snippets using this constant.
Using UP and DOWN as direction tokens