MCPcopy Create free account
hub / github.com/breck7/scroll / touchstarted

Function touchstarted

external/.d3.js:2777–2789  ·  view source on GitHub ↗
(event, d)

Source from the content-addressed store, hash-verified

2775 }
2776
2777 function touchstarted(event, d) {
2778 if (!filter.call(this, event, d)) return;
2779 var touches = event.changedTouches,
2780 c = container.call(this, event, d),
2781 n = touches.length, i, gesture;
2782
2783 for (i = 0; i < n; ++i) {
2784 if (gesture = beforestart(this, c, event, d, touches[i].identifier, touches[i])) {
2785 nopropagation$2(event);
2786 gesture("start", event, touches[i]);
2787 }
2788 }
2789 }
2790
2791 function touchmoved(event) {
2792 var touches = event.changedTouches,

Callers

nothing calls this directly

Calls 8

beforestartFunction · 0.85
nopropagation$2Function · 0.85
gestureFunction · 0.85
nopropagationFunction · 0.85
pointerFunction · 0.85
interruptFunction · 0.85
invertMethod · 0.80
startMethod · 0.80

Tested by

no test coverage detected