Skip to content

@eightkk/vue-weave / core / treeGridKeyAction

Function: treeGridKeyAction() ​

treeGridKeyAction(input, at, context): TreeGridKeyAction | undefined

Defined in: src/core/treeGrid.ts:612

The ARIA treegrid keys over cells. Arrows move one cell (the column order follows the visual direction with rtl); in the tree column, the arrow towards the cells expands a collapsed row and otherwise moves into the row, and the other arrow collapses an expanded row and otherwise moves to the parent row. Home and End go to the first and last cell of the line, with Ctrl (or Meta) to the first and last cell of the grid; PageUp and PageDown move by pageSize lines; Enter activates. Keys with Alt, and Shift with an arrow (a range extension), give undefined.

Parameters ​

input ​

TreeGridKeyInput

at ​

TreeGridCursor

context ​

TreeGridKeyContext

Returns ​

TreeGridKeyAction | undefined

Released under the MIT License.