Open History to see the last commit
1---
2id: SubscribeProps
3title: SubscribeProps
4---
5β
6Defined in: [packages/vue-form/src/Subscribe.public.ts:14](https://github.com/TanStack/form/blob/main/packages/vue-form/src/Subscribe.public.ts#L14)
7β
8## Type Parameters
9β
10### TSourceData
11β
12`TSourceData`
13β
14### TSelected
15β
16`TSelected`
17β
18## Properties
19β
20### selector
21β
22```ts
23selector: (state) => TSelected;
24```
25β
26Defined in: [packages/vue-form/src/Subscribe.public.ts:16](https://github.com/TanStack/form/blob/main/packages/vue-form/src/Subscribe.public.ts#L16)
27β
28#### Parameters
29β
30##### state
31β
32`TSourceData`
33β
34#### Returns
35β
36`TSelected`
37β
38***
39β
40### source
41β
42```ts
43source: SubscribeSource<TSourceData>;
44```
45β
46Defined in: [packages/vue-form/src/Subscribe.public.ts:15](https://github.com/TanStack/form/blob/main/packages/vue-form/src/Subscribe.public.ts#L15)
47β
48***
49β
50### when?
51β
52```ts
53optional when?: (selected) => boolean;
54```
55β
56Defined in: [packages/vue-form/src/Subscribe.public.ts:17](https://github.com/TanStack/form/blob/main/packages/vue-form/src/Subscribe.public.ts#L17)
57β
58#### Parameters
59β
60##### selected
61β
62`NoInfer`\<`TSelected`\>
63β
64#### Returns
65β
66`boolean`