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

Method _showError

src/cdk/stepper/stepper.ts:309–313  ·  view source on GitHub ↗

Determines whether the error state can be shown.

()

Source from the content-addressed store, hash-verified

307
308 /** Determines whether the error state can be shown. */
309 _showError(): boolean {
310 // We want to show the error state either if the user opted into/out of it using the
311 // global options, or if they've explicitly set it through the `hasError` input.
312 return this._stepperOptions.showError ?? this._customError() != null;
313 }
314}
315
316@Directive({

Callers 1

CdkStepClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected