MCPcopy
hub / github.com/angular/components / isCompleted

Method isCompleted

src/material/stepper/testing/step-harness.ts:74–77  ·  view source on GitHub ↗

Whether the step has been filled out.

()

Source from the content-addressed store, hash-verified

72
73 /** Whether the step has been filled out. */
74 async isCompleted(): Promise<boolean> {
75 const state = await this._getIconState();
76 return state === 'done' || (state === 'edit' && !(await this.isSelected()));
77 }
78
79 /**
80 * Whether the step is currently showing its error state. Note that this doesn't mean that there

Callers 2

withMethod · 0.80

Calls 2

_getIconStateMethod · 0.95
isSelectedMethod · 0.95

Tested by

no test coverage detected