MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / onTouchEnded

Method onTouchEnded

tools/xsbug/behaviors.js:431–435  ·  view source on GitHub ↗
(code, id, x, y, ticks)

Source from the content-addressed store, hash-verified

429 onTouchCancelled(code, id, x, y, ticks) {
430 }
431 onTouchEnded(code, id, x, y, ticks) {
432 code.stop();
433 this.onCursorCancel(code);
434 this.onSelected(code);
435 }
436 onTouchMoved(code, id, x, y, ticks) {
437 if ((this.x != x) || (this.y != y))
438 this.onTouchSelect(code, x, y);

Callers

nothing calls this directly

Calls 3

onCursorCancelMethod · 0.95
onSelectedMethod · 0.95
stopMethod · 0.65

Tested by

no test coverage detected