Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

CreateLiveQueryWindowControllerOptions.md

46 lines1.2 KB

1---
2id: CreateLiveQueryWindowControllerOptions
3title: CreateLiveQueryWindowControllerOptions
4---
5​
6Defined in: [packages/db/src/live-query-window-controller.ts:543](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L543)
7​
8**`Internal`**
9​
10This contract is unstable while RFC #1623 is being implemented.
11​
12## Properties
13​
14### initialPageCount?
15​
16```ts
17optional initialPageCount: number;
18```
19​
20Defined in: [packages/db/src/live-query-window-controller.ts:549](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L549)
21​
22Committed pages to preserve when a framework binding changes page shape.
23​
24***
25​
26### initialPageParam?
27​
28```ts
29optional initialPageParam: number;
30```
31​
32Defined in: [packages/db/src/live-query-window-controller.ts:547](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L547)
33​
34Value of the first page's `pageParam` (default 0).
35​
36***
37​
38### pageSize?
39​
40```ts
41optional pageSize: number;
42```
43​
44Defined in: [packages/db/src/live-query-window-controller.ts:545](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L545)
45​
46Rows per page (default 20). Invalid values use the default.