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

Method getRows

packages/@react-aria/test-utils/src/tree.ts:271–273  ·  view source on GitHub ↗

* Returns the tree's rows if any.

()

Source from the content-addressed store, hash-verified

269 * Returns the tree's rows if any.
270 */
271 getRows(): HTMLElement[] {
272 return within(this.getTree()).queryAllByRole('row');
273 }
274
275 /**
276 * Returns the tree's selected rows if any.

Callers 8

findRowMethod · 0.95
keyboardNavigateToRowMethod · 0.95
getSelectedRowsMethod · 0.95
TableTests.jsFile · 0.45
ListView.test.jsFile · 0.45
TreeView.test.tsxFile · 0.45
TableView.test.tsxFile · 0.45

Calls 1

getTreeMethod · 0.95

Tested by

no test coverage detected