MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / handlePropertyChange

Function handlePropertyChange

code/third-party/public/app.js:4009–4016  ·  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

4007 * the value of the active element has changed.
4008 */
4009function handlePropertyChange(nativeEvent) {
4010 if (nativeEvent.propertyName !== 'value') {
4011 return;
4012 }
4013 if (getInstIfValueChanged(activeElementInst)) {
4014 manualDispatchChangeEvent(nativeEvent);
4015 }
4016}
4017
4018function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
4019 if (topLevelType === 'topFocus') {

Callers

nothing calls this directly

Calls 2

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected