IInfiniteScrollProps
interface
Layout
Props contract for OrigamInfiniteScroll — configures scroll side, intersection mode, empty/load-more text labels, root margin, and visual surfaces.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
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.
- sideTInfiniteScrollSide
- Which end of the scroll container triggers load ('start' | 'end' | 'both').
- modeTInfiniteScrollMode
- Intersection mode: 'intersect' (automatic) or 'manual' (shows a load-more button).
- loadMoreTextstring
- Label for the manual load-more button.
- emptyTextstring
- Text displayed when done is called with empty.
- marginstring
- IntersectionObserver rootMargin for the sentinel.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Automatic infinite scroll on the bottom of a list