MCPcopy Index your code
hub / github.com/adobe/react-spectrum / getTabs

Method getTabs

packages/@react-aria/test-utils/src/tabs.ts:186–188  ·  view source on GitHub ↗

* Returns the tabs in the tablist.

()

Source from the content-addressed store, hash-verified

184 * Returns the tabs in the tablist.
185 */
186 getTabs(): HTMLElement[] {
187 return within(this.getTablist()).queryAllByRole('tab');
188 }
189
190 /**
191 * Returns the currently selected tab in the tablist if any.

Callers 7

findTabMethod · 0.95
keyboardNavigateToTabMethod · 0.95
getTabpanelsMethod · 0.95
getSelectedTabMethod · 0.95
Tabs.test.jsFile · 0.80
Tabs.test.jsFile · 0.80

Calls 1

getTablistMethod · 0.95

Tested by

no test coverage detected