Skip to content

Type Editor


Type Editor / @type-editor/tables / commands/go-to-next-cell / goToNextCell

Function: goToNextCell()

ts
function goToNextCell(direction): Command;

Defined in: tables/src/commands/go-to-next-cell.ts:19

Creates a command for selecting the next or previous cell in a table.

Parameters

ParameterTypeDescription
directionDirectionDirection to move: 1 for next cell, -1 for previous cell

Returns

Command

A command that navigates to the adjacent cell