Skip to main content
zerotal

Documentation


Documentation / @zerotal/inertia / PaginatorLike

Interface: PaginatorLike

Defined in: inertia/src/props/PropTypes.ts:186

Minimal paginator shape scroll() reads to compute scroll metadata.

Properties

data

data: unknown[]

Defined in: inertia/src/props/PropTypes.ts:187


currentPage?

optional currentPage?: number

Defined in: inertia/src/props/PropTypes.ts:189

Current page — read from currentPage or page.


page?

optional page?: number

Defined in: inertia/src/props/PropTypes.ts:190


lastPage?

optional lastPage?: number

Defined in: inertia/src/props/PropTypes.ts:192

Last page number — read from lastPage (or derived from total/perPage).


perPage?

optional perPage?: number

Defined in: inertia/src/props/PropTypes.ts:193


total?

optional total?: number

Defined in: inertia/src/props/PropTypes.ts:194