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

Method getTabs

src/aria/tabs/testing/tabs-harness.ts:95–97  ·  view source on GitHub ↗

Gets all tabs inside the tabs container.

(filters: TabHarnessFilters = {})

Source from the content-addressed store, hash-verified

93
94 /** Gets all tabs inside the tabs container. */
95 async getTabs(filters: TabHarnessFilters = {}): Promise<TabHarness[]> {
96 return await this.locatorForAll(TabHarness.with(filters))();
97 }
98
99 /** Gets the currently selected tab. */
100 async getSelectedTab(): Promise<TabHarness | null> {

Callers 4

getSelectedTabMethod · 0.95
selectTabMethod · 0.95

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected