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

Function handlePropertyChange

code/communication/public/app.js:4811–4818  ·  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

4809 * the value of the active element has changed.
4810 */
4811function handlePropertyChange(nativeEvent) {
4812 if (nativeEvent.propertyName !== 'value') {
4813 return;
4814 }
4815 if (getInstIfValueChanged(activeElementInst)) {
4816 manualDispatchChangeEvent(nativeEvent);
4817 }
4818}
4819
4820function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
4821 if (topLevelType === 'topFocus') {

Callers

nothing calls this directly

Calls 2

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected