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

Function pointers

external/.d3.js:2618–2625  ·  view source on GitHub ↗
(events, node)

Source from the content-addressed store, hash-verified

2616}
2617
2618function pointers(events, node) {
2619 if (events.target) { // i.e., instanceof Event, not TouchList or iterable
2620 events = sourceEvent(events);
2621 if (node === undefined) node = events.currentTarget;
2622 events = events.touches || [events];
2623 }
2624 return Array.from(events, event => pointer(event, node));
2625}
2626
2627function selectAll(selector) {
2628 return typeof selector === "string"

Callers

nothing calls this directly

Calls 3

sourceEventFunction · 0.85
pointerFunction · 0.85
fromMethod · 0.45

Tested by

no test coverage detected