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

Function handlePropertyChange

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

Source from the content-addressed store, hash-verified

5520 (activeElementInst$1 = activeElement$1 = null));
5521}
5522function handlePropertyChange(nativeEvent) {
5523 if (
5524 "value" === nativeEvent.propertyName &&
5525 getInstIfValueChanged(activeElementInst$1)
5526 ) {
5527 var dispatchQueue = [];
5528 createAndAccumulateChangeEvent(
5529 dispatchQueue,
5530 activeElementInst$1,
5531 nativeEvent,
5532 getEventTarget(nativeEvent)
5533 );
5534 batchedUpdates$1(runEventInBatch, dispatchQueue);
5535 }
5536}
5537function handleEventsForInputEventPolyfill(domEventName, target, targetInst) {
5538 "focusin" === domEventName
5539 ? (stopWatchingForValueChange(),

Callers

nothing calls this directly

Calls 4

getInstIfValueChangedFunction · 0.85
getEventTargetFunction · 0.85
batchedUpdates$1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…