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

Method _checkName

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

Source from the content-addressed store, hash-verified

388 }
389
390 private _checkName(): void {
391 if (this.options && this.options.name) this.name = this.options.name;
392
393 if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {
394 throw missingNameException();
395 }
396 }
397
398 private _updateValue(value: any): void {
399 resolvedPromise.then(() => {

Callers 2

ngOnChangesMethod · 0.95
_checkForErrorsMethod · 0.95

Calls 2

_isStandaloneMethod · 0.95
missingNameExceptionFunction · 0.90

Tested by

no test coverage detected