EventInterfaceType.movementY() — react Function Reference
Architecture documentation for the EventInterfaceType.movementY() function in SyntheticEvent.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD c8079452_a837_8dd4_fdff_de0956856a13["EventInterfaceType.movementY()"] 9c3d71d9_41af_c5e7_cd35_d25bbf6cf606["SyntheticEvent.js"] c8079452_a837_8dd4_fdff_de0956856a13 -->|defined in| 9c3d71d9_41af_c5e7_cd35_d25bbf6cf606 eb002b8e_4db2_a30b_24db_6710f5d417ca["updateMouseMovementPolyfillState()"] c8079452_a837_8dd4_fdff_de0956856a13 -->|calls| eb002b8e_4db2_a30b_24db_6710f5d417ca style c8079452_a837_8dd4_fdff_de0956856a13 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-dom-bindings/src/events/SyntheticEvent.js lines 222–230
movementY: function (event) {
if ('movementY' in event) {
return event.movementY;
}
// Don't need to call updateMouseMovementPolyfillState() here
// because it's guaranteed to have already run when movementX
// was copied.
return lastMovementY;
},
Domain
Subdomains
Source
Frequently Asked Questions
What does EventInterfaceType.movementY() do?
EventInterfaceType.movementY() is a function in the react codebase, defined in packages/react-dom-bindings/src/events/SyntheticEvent.js.
Where is EventInterfaceType.movementY() defined?
EventInterfaceType.movementY() is defined in packages/react-dom-bindings/src/events/SyntheticEvent.js at line 222.
What does EventInterfaceType.movementY() call?
EventInterfaceType.movementY() calls 1 function(s): updateMouseMovementPolyfillState.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free