Skip to content

textmode.js / Textmodifier / mouseClicked

Method: mouseClicked() ​

ts
mouseClicked(callback): void;

Register the single-callback handler for mouse clicks.

Parameters ​

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

Returns ​

void

Example ​