MCPcopy Create free account
hub / github.com/caseywebdev/react-list / getEventTarget

Function getEventTarget

docs/index.js:4879–4884  ·  view source on GitHub ↗
(nativeEvent)

Source from the content-addressed store, hash-verified

4877}
4878var currentReplayingEvent = null;
4879function getEventTarget(nativeEvent) {
4880 nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
4881 nativeEvent.correspondingUseElement &&
4882 (nativeEvent = nativeEvent.correspondingUseElement);
4883 return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;
4884}
4885var restoreTarget = null,
4886 restoreQueue = null;
4887function restoreStateOfTarget(target) {

Callers 3

handlePropertyChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…