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

Method _templateLabel

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

Returns MatStepLabel if the label of given step is a template label.

()

Source from the content-addressed store, hash-verified

117
118 /** Returns MatStepLabel if the label of given step is a template label. */
119 _templateLabel(): MatStepLabel | null {
120 return this.label instanceof MatStepLabel ? this.label : null;
121 }
122
123 /** Returns the host HTML element. */
124 _getHostElement() {

Callers 1

_hasEmptyLabelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected