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

Method select

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

* Selects the given step by clicking on the label. The step may not be selected * if the stepper doesn't allow it (e.g. if there are validation errors).

()

Source from the content-addressed store, hash-verified

99 * if the stepper doesn't allow it (e.g. if there are validation errors).
100 */
101 async select(): Promise<void> {
102 await (await this.host()).click();
103 }
104
105 protected override async getRootHarnessLoader(): Promise<HarnessLoader> {
106 const contentId = await (await this.host()).getAttribute('aria-controls');

Callers

nothing calls this directly

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected