textmode.js / Textmodifier / touchEnded
Method: touchEnded()
ts
touchEnded(callback): void;Register the single-callback handler for touch end events.
This fires after the finger leaves the canvas surface and the browser raises a touchend event. Use it to finalise state such as drawing strokes or completing gestures.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | TouchEventHandler | Handler to run when a touch ends. |
Returns
void