getTouches() — react Function Reference
Architecture documentation for the getTouches() function in touchStore.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD e820e617_c2f2_597a_8dd9_eafb2c1afa65["getTouches()"] 56f57e4a_fc42_037d_ee3b_9463227d15f3["touchStore.js"] e820e617_c2f2_597a_8dd9_eafb2c1afa65 -->|defined in| 56f57e4a_fc42_037d_ee3b_9463227d15f3 0dab3578_90b3_815b_5690_5f9eec1a66ca["createTouchEventPayload()"] 0dab3578_90b3_815b_5690_5f9eec1a66ca -->|calls| e820e617_c2f2_597a_8dd9_eafb2c1afa65 c60368a7_eb49_f54c_e28d_e69ee6980432["getTargetTouches()"] e820e617_c2f2_597a_8dd9_eafb2c1afa65 -->|calls| c60368a7_eb49_f54c_e28d_e69ee6980432 style e820e617_c2f2_597a_8dd9_eafb2c1afa65 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/dom-event-testing-library/touchStore.js lines 65–71
export function getTouches() {
const touches = [];
activeTouches.forEach((_, target) => {
touches.push(...getTargetTouches(target));
});
return touches;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getTouches() do?
getTouches() is a function in the react codebase, defined in packages/dom-event-testing-library/touchStore.js.
Where is getTouches() defined?
getTouches() is defined in packages/dom-event-testing-library/touchStore.js at line 65.
What does getTouches() call?
getTouches() calls 1 function(s): getTargetTouches.
What calls getTouches()?
getTouches() is called by 1 function(s): createTouchEventPayload.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free