MCPcopy
hub / github.com/SnapDrop/snapdrop / _onTouchStart

Method _onTouchStart

client/scripts/ui.js:193–196  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

191 }
192
193 _onTouchStart(e) {
194 this._touchStart = Date.now();
195 this._touchTimer = setTimeout(_ => this._onTouchEnd(), 610);
196 }
197
198 _onTouchEnd(e) {
199 if (Date.now() - this._touchStart < 500) {

Callers 1

_bindListenersMethod · 0.95

Calls 1

_onTouchEndMethod · 0.95

Tested by

no test coverage detected