MCPcopy Create free account
hub / github.com/adobe/react-spectrum / addEventChild

Function addEventChild

packages/react-aria/test/interactions/useMove.test.js:243–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 let eventsChild = [];
242 let eventsParent = [];
243 let addEventChild = e => eventsChild.push(e);
244 let addEventParent = e => eventsParent.push(e);
245 let tree = render(
246 <Example onMoveStart={addEventParent} onMove={addEventParent} onMoveEnd={addEventParent}>

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected