Skip to content

textmode.js / Textmodifier / mouseDragged

Method: mouseDragged() ​

ts
mouseDragged(callback): void;

Register the single-callback handler for mouse dragging.

Parameters ​

ParameterTypeDescription
callbackMouseEventHandlerHandler to run with mouse event data when the mouse is dragged.

Returns ​

void

Example ​