IInfiniteScrollIntersectProps
interface
Layout
Props for the low-level OrigamInfiniteScrollIntersect sentinel element — configures the IntersectionObserver root, scroll side, and margin.
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 scroll direction this sentinel monitors ('start' | 'end' | 'both').
- rootRefHTMLElement
- The scrollable container element passed as the IntersectionObserver root.
- marginstring
- IntersectionObserver rootMargin — triggers load before the sentinel is fully visible.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Sentinel with 200px pre-load margin