pointerenter() — react Function Reference
Architecture documentation for the pointerenter() function in domEventSequences.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 42bea25c_435a_67b1_d9a3_8c9e8e541288["pointerenter()"] d4066e75_dcea_2912_73ff_88e30b9530d2["domEventSequences.js"] 42bea25c_435a_67b1_d9a3_8c9e8e541288 -->|defined in| d4066e75_dcea_2912_73ff_88e30b9530d2 9d0dad3b_5733_de1f_1a31_75b5db0ccd25["pointerdown()"] 9d0dad3b_5733_de1f_1a31_75b5db0ccd25 -->|calls| 42bea25c_435a_67b1_d9a3_8c9e8e541288 3123264a_42c6_3b37_4786_c84b0358b094["pointerenter()"] 42bea25c_435a_67b1_d9a3_8c9e8e541288 -->|calls| 3123264a_42c6_3b37_4786_c84b0358b094 010da236_784b_cbe9_c79d_2a93e35a2880["hasPointerEvent()"] 42bea25c_435a_67b1_d9a3_8c9e8e541288 -->|calls| 010da236_784b_cbe9_c79d_2a93e35a2880 6e4d4ce4_d537_3e83_2a2c_81813865fdb9["pointerover()"] 42bea25c_435a_67b1_d9a3_8c9e8e541288 -->|calls| 6e4d4ce4_d537_3e83_2a2c_81813865fdb9 2462392a_7db0_8bfd_b658_c8930f752934["mouseover()"] 42bea25c_435a_67b1_d9a3_8c9e8e541288 -->|calls| 2462392a_7db0_8bfd_b658_c8930f752934 bcacd03e_c1f4_bc62_6e7c_d3e5fb4f5a6a["mouseenter()"] 42bea25c_435a_67b1_d9a3_8c9e8e541288 -->|calls| bcacd03e_c1f4_bc62_6e7c_d3e5fb4f5a6a style 42bea25c_435a_67b1_d9a3_8c9e8e541288 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/dom-event-testing-library/domEventSequences.js lines 241–255
export function pointerenter(target, defaultPayload) {
const dispatch = arg => target.dispatchEvent(arg);
const payload = {
pointerId: defaultPointerId,
...defaultPayload,
};
if (hasPointerEvent()) {
dispatch(domEvents.pointerover(payload));
dispatch(domEvents.pointerenter(payload));
}
dispatch(domEvents.mouseover(payload));
dispatch(domEvents.mouseenter(payload));
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does pointerenter() do?
pointerenter() is a function in the react codebase, defined in packages/dom-event-testing-library/domEventSequences.js.
Where is pointerenter() defined?
pointerenter() is defined in packages/dom-event-testing-library/domEventSequences.js at line 241.
What does pointerenter() call?
pointerenter() calls 5 function(s): hasPointerEvent, mouseenter, mouseover, pointerenter, pointerover.
What calls pointerenter()?
pointerenter() is called by 1 function(s): pointerdown.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free