MCPcopy Index your code
hub / github.com/react/react / getTargetTouches

Function getTargetTouches

packages/dom-event-testing-library/touchStore.js:73–78  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

71}
72
73export function getTargetTouches(target) {
74 if (activeTouches.get(target) != null) {
75 return Array.from(activeTouches.get(target).values());
76 }
77 return [];
78}
79
80export function clear() {
81 activeTouches.clear();

Callers 1

getTouchesFunction · 0.85

Calls 2

getMethod · 0.65
valuesMethod · 0.65

Tested by

no test coverage detected