Skip to content

@jsvision/ui / IndicatorTarget

Interface: IndicatorTarget ​

Defined in: ui/src/editor/editor-types.ts:11

What the editor needs from a line/column indicator; the Indicator view satisfies it.

Methods ​

setValue() ​

setValue(pos, modified): void

Defined in: ui/src/editor/editor-types.ts:13

Push the caret position (1-based line/col) and the modified flag to display.

Parameters ​

pos ​
col ​

number

line ​

number

modified ​

boolean

Returns ​

void