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

Method hasError

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

Source from the content-addressed store, hash-verified

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

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