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

Method doTouchEnded

tools/testmc/main.js:104–112  ·  view source on GitHub ↗
(id, x, y, ticks)

Source from the content-addressed store, hash-verified

102 });
103 }
104 doTouchEnded(id, x, y, ticks) {
105 return new Promise((resolve, reject) => {
106 Timer.set(() => {
107 this.context.onTouchEnded(id, x, y, ticks);
108 this.#promises.push(resolve);
109 this.doIdle();
110 });
111 });
112 }
113}
114
115

Callers 15

onTouchEnded.jsFile · 0.80
onTouchBegan.jsFile · 0.80
onTouchMoved.jsFile · 0.80
onTouchEnded.jsFile · 0.80
onTouchBegan.jsFile · 0.80
onTouchMoved.jsFile · 0.80
onTouchEnded.jsFile · 0.80
onTouchBegan.jsFile · 0.80
onTouchMoved.jsFile · 0.80

Calls 4

doIdleMethod · 0.95
setMethod · 0.65
onTouchEndedMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected