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

Method onTouchEnded

tools/xsbug/CodeView.js:412–415  ·  view source on GitHub ↗
(code, id, x, y, ticks)

Source from the content-addressed store, hash-verified

410 onTouchCancelled(code, id, x, y, ticks) {
411 }
412 onTouchEnded(code, id, x, y, ticks) {
413 code.stop();
414 this.onSelected(code);
415 }
416 onTouchMoved(code, id, x, y, ticks) {
417 if ((this.x != x) || (this.y != y))
418 this.onTouchSelect(code, x, y);

Callers

nothing calls this directly

Calls 2

onSelectedMethod · 0.95
stopMethod · 0.65

Tested by

no test coverage detected