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

Method _hasEmptyLabel

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

Source from the content-addressed store, hash-verified

139 }
140
141 protected _hasEmptyLabel() {
142 return (
143 !this._stringLabel() &&
144 !this._templateLabel() &&
145 !this._hasOptionalLabel() &&
146 !this._hasErrorLabel()
147 );
148 }
149
150 protected _hasOptionalLabel() {
151 return this.optional && this.state !== 'error';

Callers

nothing calls this directly

Calls 4

_stringLabelMethod · 0.95
_templateLabelMethod · 0.95
_hasOptionalLabelMethod · 0.95
_hasErrorLabelMethod · 0.95

Tested by

no test coverage detected