MCPcopy Create free account
hub / github.com/angular/angular / _setUpdateStrategy

Function _setUpdateStrategy

packages/forms/src/model/abstract_model.ts:1789–1793  ·  view source on GitHub ↗

@internal

(opts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null)

Source from the content-addressed store, hash-verified

1787
1788 /** @internal */
1789 _setUpdateStrategy(opts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null): void {
1790 if (isOptionsObj(opts) && opts.updateOn != null) {
1791 this._updateOn = opts.updateOn!;
1792 }
1793 }
1794 /**
1795 * Check to see if parent has been marked artificially dirty.
1796 *

Callers

nothing calls this directly

Calls 1

isOptionsObjFunction · 0.85

Tested by

no test coverage detected