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

CreateLiveQueryWindowControllerOptions.md

48 lines1.3 KB

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