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

Method _hasOptionalLabel

src/material/stepper/step-header.ts:150–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 protected _hasOptionalLabel() {
151 return this.optional && this.state !== 'error';
152 }
153
154 protected _hasErrorLabel() {
155 return this.state === 'error';

Callers 1

_hasEmptyLabelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected