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

Method _stringLabel

src/material/stepper/step-header.ts:114–116  ·  view source on GitHub ↗

Returns string label of given step if it is a text label.

()

Source from the content-addressed store, hash-verified

112
113 /** Returns string label of given step if it is a text label. */
114 _stringLabel(): string | null {
115 return this.label instanceof MatStepLabel ? null : this.label;
116 }
117
118 /** Returns MatStepLabel if the label of given step is a template label. */
119 _templateLabel(): MatStepLabel | null {

Callers 1

_hasEmptyLabelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected