MCPcopy Index your code
hub / github.com/angular/angular / _setUpControl

Method _setUpControl

packages/forms/src/directives/ng_model.ts:342–346  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 }
341
342 private _setUpControl(): void {
343 this._setUpdateStrategy();
344 this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);
345 this._registered = true;
346 }
347
348 private _setUpdateStrategy(): void {
349 if (this.options && this.options.updateOn != null) {

Callers 1

ngOnChangesMethod · 0.95

Calls 4

_setUpdateStrategyMethod · 0.95
_isStandaloneMethod · 0.95
_setUpStandaloneMethod · 0.95
addControlMethod · 0.65

Tested by

no test coverage detected