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

Method _setUpControl

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

Source from the content-addressed store, hash-verified

357 }
358
359 private _setUpControl(): void {
360 this._setUpdateStrategy();
361 this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);
362 this._registered = true;
363 }
364
365 private _setUpdateStrategy(): void {
366 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