Skip to content

eo-typewriterjs


eo-typewriterjs / TMoveValue

Type Alias: TMoveValue

ts
type TMoveValue = number | "start" | "end";

Defined in: core/commands/types/move-command.type.ts:13

Description

The operand for a move command.

  • "start": move cursor to the absolute start of the document
  • "end": move cursor to the absolute end of the document
  • number: relative offset - positive = right, negative = left, zero = no-op

Released under the MIT License.