INFINITE_SCROLL_MODE
enum
Navigation
Trigger mode for OrigamInfiniteScroll: intersection-observer or manual button.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- INFINITE_SCROLL_MODE.INTERSECT
- Load more items automatically when the sentinel enters the viewport.
- INFINITE_SCROLL_MODE.MANUAL
- Load more items only when the user clicks the load-more button.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using INFINITE_SCROLL_MODE in template