MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / cellEl

Method cellEl

packages/app-core/src/lib/cm-table.ts:874–876  ·  view source on GitHub ↗

Resolve a cell element by address within this widget.

(row: number, col: number)

Source from the content-addressed store, hash-verified

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. */

Callers 1

focusCellAtOffsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected