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

Method _setUpControl

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

Source from the content-addressed store, hash-verified

367 }
368
369 private _setUpControl(): void {
370 this._setUpdateStrategy();
371 this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);
372 this._registered = true;
373 }
374
375 private _setUpdateStrategy(): void {
376 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