Interface: KeyContext
Defined in: packages/sdvtables/src/html/controls.ts:127
Task 10: everything keyAction reads; handleKeydown gathers it from the engine and the DOM.
Properties
cols
readonlycols: readonlystring[]
Defined in: packages/sdvtables/src/html/controls.ts:140
the shown sortable columns in header order: the data-sdv-sort buttons
cursor
readonlycursor:TableCursor
Defined in: packages/sdvtables/src/html/controls.ts:136
the engine's cursor (table.state.cursor)
focused
readonlyfocused:number|null
Defined in: packages/sdvtables/src/html/controls.ts:129
the data-row of the body row the key landed in, or null (toolbar, header, pager)
hotkeys
readonlyhotkeys:boolean
Defined in: packages/sdvtables/src/html/controls.ts:144
spec.interactive.hotkeys !== false: the letter keys and / are on
onRow
readonlyonRow:boolean
Defined in: packages/sdvtables/src/html/controls.ts:134
the key landed on that body row itself, not on a link or button inside it (that control keeps its Enter, Space and left/right keys)
order
readonlyorder: readonlynumber[]
Defined in: packages/sdvtables/src/html/controls.ts:142
the page's body rows' data-row values in display order (groupBy reorders them)
sorted
readonlysorted:string|null
Defined in: packages/sdvtables/src/html/controls.ts:138
the sorted column (table.state.sort?.col), or null