Home / Function/ touchEvent() — react Function Reference

touchEvent() — react Function Reference

Architecture documentation for the touchEvent() function in ResponderEventPlugin-test.internal.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  bd43994e_638b_2693_4169_4299ae594e06["touchEvent()"]
  51a704bf_9ecd_8c0a_35b5_9021d42bc06c["ResponderEventPlugin-test.internal.js"]
  bd43994e_638b_2693_4169_4299ae594e06 -->|defined in| 51a704bf_9ecd_8c0a_35b5_9021d42bc06c
  9ee221d1_2b26_819b_9ad8_197d5a55101c["_touchConfig()"]
  9ee221d1_2b26_819b_9ad8_197d5a55101c -->|calls| bd43994e_638b_2693_4169_4299ae594e06
  style bd43994e_638b_2693_4169_4299ae594e06 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-native-renderer/src/__tests__/ResponderEventPlugin-test.internal.js lines 40–46

const touchEvent = function (nodeHandle, touches, changedTouches) {
  return {
    target: nodeHandle,
    changedTouches: changedTouches,
    touches: touches,
  };
};

Domain

Subdomains

Called By

Frequently Asked Questions

What does touchEvent() do?
touchEvent() is a function in the react codebase, defined in packages/react-native-renderer/src/__tests__/ResponderEventPlugin-test.internal.js.
Where is touchEvent() defined?
touchEvent() is defined in packages/react-native-renderer/src/__tests__/ResponderEventPlugin-test.internal.js at line 40.
What calls touchEvent()?
touchEvent() is called by 1 function(s): _touchConfig.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free