IVirtualScrollProps

interface
Component Props

Props for OrigamVirtualScroll. Extends ICommonsComponentProps, IDimensionProps, and IVirtualProps with an items array and a renderless flag for custom DOM rendering.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

items
Array<any>
The list of items to render. Each item is exposed to the #default scoped slot as the rendered payload.
renderless
boolean
When true, the component does not render a wrapper element — only the scoped slot content is rendered. The consumer is responsible for managing the scroll container.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Basic virtual list with OrigamVirtualScroll

html