@@ -118,21 +118,21 @@ const errors$ = formsManager.selectErrors('onboarding');
118
118
const nameErros$ = formsManager .selectErrors (' onboarding' , ' name' );
119
119
```
120
120
121
- - ` selectControl() ` - Observe the control state
121
+ - ` selectControl() ` - Observe the control's state
122
122
123
123
``` ts
124
124
const control$ = formsManager .selectControl (' onboarding' );
125
125
const nameControl$ = formsManager .selectControl (' onboarding' , ' name' );
126
126
```
127
127
128
- - ` getControl() ` - Get the control state
128
+ - ` getControl() ` - Get the control's state
129
129
130
130
``` ts
131
131
const control = formsManager .getControl (' onboarding' );
132
132
const nameControl = formsManager .getControl (' onboarding' , ' name' );
133
133
```
134
134
135
- It returns the following state:
135
+ ` selectControl ` and ` getControl ` will return the following state:
136
136
137
137
``` ts
138
138
{
@@ -149,13 +149,13 @@ It returns the following state:
149
149
}
150
150
```
151
151
152
- - ` selectForm() ` - Observe the form state
152
+ - ` selectForm() ` - Observe the form's state
153
153
154
154
``` ts
155
155
const form$ = formsManager .selectForm (' onboarding' );
156
156
```
157
157
158
- - ` getForm() ` - Get the form state
158
+ - ` getForm() ` - Get the form's state
159
159
160
160
``` ts
161
161
const form = formsManager .getForm (' onboarding' );
@@ -167,13 +167,13 @@ const form = formsManager.getForm('onboarding');
167
167
const hasForm = formsManager .hasForm (' onboarding' );
168
168
```
169
169
170
- - ` patchValue() ` - A facade to the original ` patchValue ` method
170
+ - ` patchValue() ` - A proxy to the original ` patchValue ` method
171
171
172
172
``` ts
173
173
formsManager .patchValue (' onboarding' , value , options );
174
174
```
175
175
176
- - ` setValue() ` - A facade to the original ` setValue ` method
176
+ - ` setValue() ` - A proxy to the original ` setValue ` method
177
177
178
178
``` ts
179
179
formsManager .setValue (' onboarding' , value , options );
@@ -186,7 +186,7 @@ formsManager.unsubscribe('onboarding');
186
186
formsManager .unsubscribe ();
187
187
```
188
188
189
- - ` clear() ` - Deletes the form from the store
189
+ - ` clear() ` - Delete the form from the store
190
190
191
191
``` ts
192
192
formsManager .clear (' onboarding' );
0 commit comments