Resolve a cell element by address within this widget.
(row: number, col: number)
| 872 | |
| 873 | /** Resolve a cell element by address within this widget. */ |
| 874 | private cellEl(row: number, col: number): HTMLElement | null { |
| 875 | return this.dom?.querySelector<HTMLElement>(`[data-row="${row}"][data-col="${col}"]`) ?? null |
| 876 | } |
| 877 | |
| 878 | /** Focus a cell, landing the block cursor at a source offset (or its last |
| 879 | * char). Used when h/l cross a cell boundary and by j/k. */ |