manualDispatchScrollEndEvent() — react Function Reference
Architecture documentation for the manualDispatchScrollEndEvent() function in ScrollEndEventPlugin.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 8f15f580_96e9_b161_b714_742b0ed77fe8["manualDispatchScrollEndEvent()"] f81462d0_b06e_fbf9_f1b8_93352f59d5eb["ScrollEndEventPlugin.js"] 8f15f580_96e9_b161_b714_742b0ed77fe8 -->|defined in| f81462d0_b06e_fbf9_f1b8_93352f59d5eb dfdf22bc_cfb7_f456_a598_96155cbc1f95["fireScrollEnd()"] dfdf22bc_cfb7_f456_a598_96155cbc1f95 -->|calls| 8f15f580_96e9_b161_b714_742b0ed77fe8 dd9eb6ac_296c_ca63_51dd_da82f645aaaa["accumulateTwoPhaseListeners()"] 8f15f580_96e9_b161_b714_742b0ed77fe8 -->|calls| dd9eb6ac_296c_ca63_51dd_da82f645aaaa f9e9db51_d79e_2bec_6b9a_825840efe3e5["batchedUpdates()"] 8f15f580_96e9_b161_b714_742b0ed77fe8 -->|calls| f9e9db51_d79e_2bec_6b9a_825840efe3e5 style 8f15f580_96e9_b161_b714_742b0ed77fe8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-dom-bindings/src/events/plugins/ScrollEndEventPlugin.js lines 57–75
function manualDispatchScrollEndEvent(
inst: Fiber,
nativeEvent: AnyNativeEvent,
target: EventTarget,
) {
const dispatchQueue: DispatchQueue = [];
const listeners = accumulateTwoPhaseListeners(inst, 'onScrollEnd');
if (listeners.length > 0) {
const event: ReactSyntheticEvent = new SyntheticUIEvent(
'onScrollEnd',
'scrollend',
null,
nativeEvent, // This will be the "scroll" event.
target,
);
dispatchQueue.push({event, listeners});
}
batchedUpdates(runEventInBatch, dispatchQueue);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does manualDispatchScrollEndEvent() do?
manualDispatchScrollEndEvent() is a function in the react codebase, defined in packages/react-dom-bindings/src/events/plugins/ScrollEndEventPlugin.js.
Where is manualDispatchScrollEndEvent() defined?
manualDispatchScrollEndEvent() is defined in packages/react-dom-bindings/src/events/plugins/ScrollEndEventPlugin.js at line 57.
What does manualDispatchScrollEndEvent() call?
manualDispatchScrollEndEvent() calls 2 function(s): accumulateTwoPhaseListeners, batchedUpdates.
What calls manualDispatchScrollEndEvent()?
manualDispatchScrollEndEvent() is called by 1 function(s): fireScrollEnd.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free