MCPcopy Create free account
hub / github.com/angular/components / hasError

Method hasError

src/cdk/stepper/stepper.ts:246–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

244 /** Whether step has an error. */
245 @Input({transform: booleanAttribute})
246 get hasError(): boolean {
247 const customError = this._customError();
248 return customError == null ? this._getDefaultError() : customError;
249 }
250 set hasError(value: boolean) {
251 this._customError.set(value);
252 }

Callers 3

updateErrorMessageMethod · 0.80
getErrorsMethod · 0.80
datepicker.spec.tsFile · 0.80

Calls 2

_getDefaultErrorMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected