DOWN

const
Virtual Scroll

Scroll direction sentinel equal to +1, representing downward scroll. Paired with UP (-1) and used by the virtual scroller to determine which direction the viewport is moving.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamVirtualScroll

Usage

Examples

Ready-to-paste code snippets using this constant.

Using DOWN as a direction sentinel

typescript