ui/build/collection-table/collection-table-pagination
ui/build/collection-table/collection-table-pagination
Functions
collectionTablePageRows()
function collectionTablePageRows<Row>(rows, window): readonly Row[] | undefined;Defined in: apps/website/.api-docs-entry/ui/build/collection-table/collection-table-pagination.d.ts:8
Selects the visible page from the live growing window.
Type Parameters
| Type Parameter |
|---|
Row |
Parameters
| Parameter | Type |
|---|---|
rows |
readonly Row[] | undefined |
window |
Readonly<{ end: number; start: number; }> |
Returns
readonly Row[] | undefined
collectionTablePageWindow()
function collectionTablePageWindow(pageIndex, pageSize): Readonly<{
end: number;
limit: number;
start: number;
}>;Defined in: apps/website/.api-docs-entry/ui/build/collection-table/collection-table-pagination.d.ts:2
The live-query window and visible slice for one zero-based collection page.
Parameters
| Parameter | Type |
|---|---|
pageIndex |
number |
pageSize |
number |
Returns
Readonly<{
end: number;
limit: number;
start: number;
}>