MCPcopy Create free account
hub / github.com/microsoft/SandDance / handlePropertyChange

Function handlePropertyChange

docs/external/js/react-dom.development.js:9300–9308  ·  view source on GitHub ↗

* (For IE <=9) Handles a propertychange event, sending a `change` event if * the value of the active element has changed.

(nativeEvent)

Source from the content-addressed store, hash-verified

9298
9299
9300 function handlePropertyChange(nativeEvent) {
9301 if (nativeEvent.propertyName !== 'value') {
9302 return;
9303 }
9304
9305 if (getInstIfValueChanged(activeElementInst)) {
9306 manualDispatchChangeEvent(nativeEvent);
9307 }
9308 }
9309
9310 function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
9311 if (topLevelType === TOP_FOCUS) {

Callers

nothing calls this directly

Calls 2

getInstIfValueChangedFunction · 0.85

Tested by

no test coverage detected