* Marks the control and all its descendant controls as `touched`. * @see markAsTouched() * * @param opts Configuration options that determine how the control propagates changes * and emits events after marking is applied. * * `emitEvent`: When true or not supplied (the default
(opts: {emitEvent?: boolean} = {})
| 1045 | * |
| 1046 | */ |
| 1047 | markAllAsTouched(opts: {emitEvent?: boolean} = {}): void { |
| 1048 | this.markAsTouched({onlySelf: true, emitEvent: opts.emitEvent, sourceControl: this}); |
| 1049 | |
| 1050 | this._forEachChild((control: AbstractControl) => control.markAllAsTouched(opts)); |
| 1051 | } |
| 1052 | |
| 1053 | /** |
| 1054 | * Marks the control as `untouched`. |
nothing calls this directly
no test coverage detected
searching dependent graphs…