Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / InfiniteScrollProps

Interface: InfiniteScrollProps

Defined in: flow/src/components.ts:707

Props for InfiniteScroll: the onMore action, an optional show guard, and slot content.

Indexable

[key: string]: unknown

Properties

onMore

onMore: unknown

Defined in: flow/src/components.ts:709

Server action to run when the sentinel enters the viewport (method ref).


show?

optional show?: boolean

Defined in: flow/src/components.ts:715

Whether to render the sentinel at all. Pass a boolean expression — e.g. show={this.visible < this.all.length} — to stop loading at the end without an outer ternary. Re-evaluated on every render. Defaults to true.


class?

optional class?: string

Defined in: flow/src/components.ts:716


children?

optional children?: unknown

Defined in: flow/src/components.ts:717