Skip to content

editor / selectionAfterHandleClick

Function: selectionAfterHandleClick() ​

selectionAfterHandleClick(selection, vertex, keys): VertexSelection

Defined in: model/selection-after-handle-click.ts:20

Selection after a click on the handle of a vertex on the drawing: Shift or Ctrl (Cmd) adds or removes the vertex; a drawing has no range (docs/domain/interaction.md §2–3). A plain click selects it alone (Product Owner, F03.AC5). Only a click without Shift moves the start of the next range (note 0006).

Parameters ​

selection ​

VertexSelection

selection before the click

vertex ​

number

number of the vertex of the handle, from 0

keys ​

ClickKeys

modifier keys held

Returns ​

VertexSelection

the new selection

Kind ​

domain

See ​

docs/domain/interaction.md#_3-node-editing