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

Method select

src/material/tabs/testing/tab-harness.ts:70–72  ·  view source on GitHub ↗

Selects the given tab by clicking on the label. Tab cannot be selected if disabled.

()

Source from the content-addressed store, hash-verified

68
69 /** Selects the given tab by clicking on the label. Tab cannot be selected if disabled. */
70 async select(): Promise<void> {
71 await (await this.host()).click('center');
72 }
73
74 /** Gets the text content of the tab. */
75 async getTextContent(): Promise<string> {

Callers

nothing calls this directly

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected