* Returns the cells within the table if any. Can be filtered against a specific row if provided * via `element`.
(opts: {element?: HTMLElement} = {})
| 583 | * via `element`. |
| 584 | */ |
| 585 | getCells(opts: {element?: HTMLElement} = {}): HTMLElement[] { |
| 586 | let {element = this.getTable()} = opts; |
| 587 | return within(element).queryAllByRole('gridcell'); |
| 588 | } |
| 589 | } |