eo-typewriterjs / TSelectCommand
Type Alias: TSelectCommand
ts
type TSelectCommand = TBaseCommand & object;Defined in: core/commands/types/select-command.type.ts:34
Type Declaration
Description
A command that selects a range of text relative to the cursor's current position, or selects an absolute document boundary range.
Operand semantics:
number: relative selection; positive = forward, negative = backward"start": select from cursor to document start"end": select from cursor to document end"whole": select the entire document
Selection is computed at reduce time using the runtime document state. Any subsequent type, delete, or move command clears the selection.
When interval is provided the timeline clock advances by that many milliseconds after the event is emitted. Omit interval to use the default of 50 ms.