pointermove() — react Function Reference
Architecture documentation for the pointermove() function in domEventSequences.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3["pointermove()"] d4066e75_dcea_2912_73ff_88e30b9530d2["domEventSequences.js"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|defined in| d4066e75_dcea_2912_73ff_88e30b9530d2 52be5c07_69f9_1af6_1c03_edc2c9c809c6["pointerhover()"] 52be5c07_69f9_1af6_1c03_edc2c9c809c6 -->|calls| 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 7d598ea4_d986_a7bb_877c_a08556e34f75["pointermove()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| 7d598ea4_d986_a7bb_877c_a08556e34f75 1819405c_be2c_2496_d31b_ddd53ba73ba9["getPointerType()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| 1819405c_be2c_2496_d31b_ddd53ba73ba9 010da236_784b_cbe9_c79d_2a93e35a2880["hasPointerEvent()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| 010da236_784b_cbe9_c79d_2a93e35a2880 d81da47e_db75_f12e_52b7_08b4bae82395["mousemove()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| d81da47e_db75_f12e_52b7_08b4bae82395 e34ccbc5_59a5_f36e_988d_f8b3d9276499["createTouch()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| e34ccbc5_59a5_f36e_988d_f8b3d9276499 9f9e8dd1_5d7d_89ba_2ff8_72a6e0b10ab0["updateTouch()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| 9f9e8dd1_5d7d_89ba_2ff8_72a6e0b10ab0 0dab3578_90b3_815b_5690_5f9eec1a66ca["createTouchEventPayload()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| 0dab3578_90b3_815b_5690_5f9eec1a66ca b754b880_6060_c667_3c53_1542c7c96b51["touchmove()"] 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 -->|calls| b754b880_6060_c667_3c53_1542c7c96b51 style 3bc8e903_1c8d_e20a_7fe0_4f403cb2c5d3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/dom-event-testing-library/domEventSequences.js lines 287–314
export function pointermove(target, defaultPayload) {
const dispatch = arg => target.dispatchEvent(arg);
const pointerType = getPointerType(defaultPayload);
const payload = {
pointerId: defaultPointerId,
pointerType,
...defaultPayload,
};
if (hasPointerEvent()) {
dispatch(
domEvents.pointermove({
pressure: pointerType === 'touch' ? 1 : 0.5,
...payload,
}),
);
} else {
if (pointerType === 'mouse') {
dispatch(domEvents.mousemove(payload));
} else {
const touch = createTouch(target, payload);
touchStore.updateTouch(touch);
const touchEventPayload = createTouchEventPayload(target, touch, payload);
dispatch(domEvents.touchmove(touchEventPayload));
}
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does pointermove() do?
pointermove() is a function in the react codebase, defined in packages/dom-event-testing-library/domEventSequences.js.
Where is pointermove() defined?
pointermove() is defined in packages/dom-event-testing-library/domEventSequences.js at line 287.
What does pointermove() call?
pointermove() calls 8 function(s): createTouch, createTouchEventPayload, getPointerType, hasPointerEvent, mousemove, pointermove, touchmove, updateTouch.
What calls pointermove()?
pointermove() is called by 1 function(s): pointerhover.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free