Skip to content

Commit 8ec2495

Browse files
committed
chore(readme): update
1 parent c9fc637 commit 8ec2495

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,21 @@ const errors$ = formsManager.selectErrors('onboarding');
118118
const nameErros$ = formsManager.selectErrors('onboarding', 'name');
119119
```
120120

121-
- `selectControl()` - Observe the control state
121+
- `selectControl()` - Observe the control's state
122122

123123
```ts
124124
const control$ = formsManager.selectControl('onboarding');
125125
const nameControl$ = formsManager.selectControl('onboarding', 'name');
126126
```
127127

128-
- `getControl()` - Get the control state
128+
- `getControl()` - Get the control's state
129129

130130
```ts
131131
const control = formsManager.getControl('onboarding');
132132
const nameControl = formsManager.getControl('onboarding', 'name');
133133
```
134134

135-
It returns the following state:
135+
`selectControl` and `getControl` will return the following state:
136136

137137
```ts
138138
{
@@ -149,13 +149,13 @@ It returns the following state:
149149
}
150150
```
151151

152-
- `selectForm()` - Observe the form state
152+
- `selectForm()` - Observe the form's state
153153

154154
```ts
155155
const form$ = formsManager.selectForm('onboarding');
156156
```
157157

158-
- `getForm()` - Get the form state
158+
- `getForm()` - Get the form's state
159159

160160
```ts
161161
const form = formsManager.getForm('onboarding');
@@ -167,13 +167,13 @@ const form = formsManager.getForm('onboarding');
167167
const hasForm = formsManager.hasForm('onboarding');
168168
```
169169

170-
- `patchValue()` - A facade to the original `patchValue` method
170+
- `patchValue()` - A proxy to the original `patchValue` method
171171

172172
```ts
173173
formsManager.patchValue('onboarding', value, options);
174174
```
175175

176-
- `setValue()` - A facade to the original `setValue` method
176+
- `setValue()` - A proxy to the original `setValue` method
177177

178178
```ts
179179
formsManager.setValue('onboarding', value, options);
@@ -186,7 +186,7 @@ formsManager.unsubscribe('onboarding');
186186
formsManager.unsubscribe();
187187
```
188188

189-
- `clear()` - Deletes the form from the store
189+
- `clear()` - Delete the form from the store
190190

191191
```ts
192192
formsManager.clear('onboarding');

0 commit comments

Comments
 (0)