updateTouch() — react Function Reference
Architecture documentation for the updateTouch() function in touchStore.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 9f9e8dd1_5d7d_89ba_2ff8_72a6e0b10ab0["updateTouch()"] 56f57e4a_fc42_037d_ee3b_9463227d15f3["touchStore.js"] 9f9e8dd1_5d7d_89ba_2ff8_72a6e0b10ab0 -->|defined in| 56f57e4a_fc42_037d_ee3b_9463227d15f3 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3["pointermove()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| 9f9e8dd1_5d7d_89ba_2ff8_72a6e0b10ab0 style 9f9e8dd1_5d7d_89ba_2ff8_72a6e0b10ab0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/dom-event-testing-library/touchStore.js lines 37–48
export function updateTouch(touch) {
const identifier = touch.identifier;
const target = touch.target;
if (activeTouches.get(target) != null) {
activeTouches.get(target).set(identifier, touch);
} else {
console.error(
'Touch with identifier %s does not exist. Cannot record touch move without a touch start.',
identifier,
);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does updateTouch() do?
updateTouch() is a function in the react codebase, defined in packages/dom-event-testing-library/touchStore.js.
Where is updateTouch() defined?
updateTouch() is defined in packages/dom-event-testing-library/touchStore.js at line 37.
What calls updateTouch()?
updateTouch() is called by 1 function(s): pointermove.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free