INFINITE_SCROLL_STATUS

enum
Navigation

Current fetch status emitted by OrigamInfiniteScroll (ok, empty, loading, error).

TypeScript

Definition

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

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

INFINITE_SCROLL_STATUS.OK
Data was loaded successfully; more items may be available.
INFINITE_SCROLL_STATUS.EMPTY
No more items to load.
INFINITE_SCROLL_STATUS.LOADING
A fetch is currently in progress.
INFINITE_SCROLL_STATUS.ERROR
The last fetch failed.

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_STATUS in script setup

typescript