Skip to main content
Version: 4.3

SelectionHandleEvents

React-style pointer and context-menu callbacks for a selection handle. Every callback receives the same SelectionHandleEventParams.

Properties

contextmenu?

readonly optional contextmenu?: (params) => void;

Fires on a right-click / context-menu gesture over the handle.

Parameters

ParameterType
paramsSelectionHandleEventParams

Returns

void


pointerdown?

readonly optional pointerdown?: (params) => void;

Fires when a pointer presses down on the handle button.

Parameters

ParameterType
paramsSelectionHandleEventParams

Returns

void


pointermove?

readonly optional pointermove?: (params) => void;

Fires while the pointer moves during a handle drag.

Parameters

ParameterType
paramsSelectionHandleEventParams

Returns

void


pointerup?

readonly optional pointerup?: (params) => void;

Fires when the pointer is released after pressing the handle.

Parameters

ParameterType
paramsSelectionHandleEventParams

Returns

void

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub