Form
interface
An interface implemented by FormGroupDirective
and NgForm
directives.
API
Description
interface Form {}
addControl
void
removeControl
void
Remove a control from this form.
@returns
void
getControl
FormControl<any>
The control directive from which to get the FormControl
.
@returns
FormControl<any>
addFormGroup
void
Add a group of controls to this form.
@returns
void
removeFormGroup
void
Remove a group of controls to this form.
@returns
void
getFormGroup
FormGroup<any>
The FormGroup
associated with a particular AbstractFormGroupDirective
.
@returns
FormGroup<any>
updateModel
void
Update the model for a particular control with a new value.
@paramvalue
any
: The new value for the control.
@returns
void
Jump to details