MCPcopy
hub / github.com/facebook/react / dispatch

Function dispatch

packages/dom-event-testing-library/domEventSequences.js:115–115  ·  packages/dom-event-testing-library/domEventSequences.js::dispatch

Source from the content-addressed store, hash-verified

113 {pointerType = class="st">'mouse', modified} = {},
114) {
115 const dispatch = arg => target.dispatchEvent(arg);
116
117 const payload = {
118 pointerId: defaultPointerId,

Callers 7

contextmenuFunction · 0.70
pointerdownFunction · 0.70
pointerenterFunction · 0.70
pointerexitFunction · 0.70
pointerhoverFunction · 0.70
pointermoveFunction · 0.70
pointerupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected