Form
interface
An interface implemented by FormGroupDirective and NgForm directives.
API
Description
interface Form {}
addControl
voidremoveControl
voidRemove a control from this form.
@returns
voidgetControl
FormControl<any>The control directive from which to get the FormControl.
@returns
FormControl<any>addFormGroup
voidAdd a group of controls to this form.
@returns
voidremoveFormGroup
voidRemove a group of controls to this form.
@returns
voidgetFormGroup
FormGroup<any>The FormGroup associated with a particular AbstractFormGroupDirective.
@returns
FormGroup<any>updateModel
voidUpdate the model for a particular control with a new value.
@paramvalue
any: The new value for the control.
@returns
voidJump to details

