-
-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: initial work on implementing typedoc * docs: migrate to use formApi reference typedoc comments * chore: document FieldAPI from docs * chore: remove prefix to showcase file types * chore: migrate reference docs to take multiple paths * chore: add external and cleanup * chore: add lit and cleanup rm usage * chore: add manual docs to ts files themselves * chore: add React to reference docs * chore: add solid and vue code samples * chore: fix typedoc generations
- Loading branch information
1 parent
a646dcd
commit 33eacda
Showing
75 changed files
with
4,151 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# @tanstack/angular-form | ||
|
||
## Classes | ||
|
||
- [TanStackField](tanstackfield.md) | ||
|
||
## Functions | ||
|
||
- [injectForm](injectform.md) | ||
- [injectStore](injectstore.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Function: injectForm() | ||
|
||
```ts | ||
function injectForm<TFormData, TFormValidator>(opts?): FormApi<TFormData, TFormValidator> | ||
``` | ||
|
||
## Type parameters | ||
|
||
• **TFormData** | ||
|
||
• **TFormValidator** *extends* `undefined` \| `Validator`\<`TFormData`, `unknown`\> = `undefined` | ||
|
||
## Parameters | ||
|
||
• **opts?**: `FormOptions`\<`TFormData`, `TFormValidator`\> | ||
|
||
## Returns | ||
|
||
`FormApi`\<`TFormData`, `TFormValidator`\> | ||
|
||
## Source | ||
|
||
[inject-form.ts:4](https://github.com/TanStack/form/blob/5c94fa159313e0b0411d49fbdc3b117336185e63/packages/angular-form/src/inject-form.ts#L4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Function: injectStore() | ||
|
||
```ts | ||
function injectStore<TFormData, TFormValidator, TSelected>(form, selector?): Signal<TSelected> | ||
``` | ||
|
||
## Type parameters | ||
|
||
• **TFormData** | ||
|
||
• **TFormValidator** *extends* `undefined` \| `Validator`\<`TFormData`, `unknown`\> = `undefined` | ||
|
||
• **TSelected** = `NoInfer`\<`FormState`\<`TFormData`\>\> | ||
|
||
## Parameters | ||
|
||
• **form**: `FormApi`\<`TFormData`, `TFormValidator`\> | ||
|
||
• **selector?** | ||
|
||
## Returns | ||
|
||
`Signal`\<`TSelected`\> | ||
|
||
## Source | ||
|
||
[inject-store.ts:4](https://github.com/TanStack/form/blob/5c94fa159313e0b0411d49fbdc3b117336185e63/packages/angular-form/src/inject-store.ts#L4) |
Oops, something went wrong.