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

Function handlePropertyChange

code/styling/public/app.js:4776–4783  ·  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

4774 * the value of the active element has changed.
4775 */
4776function handlePropertyChange(nativeEvent) {
4777 if (nativeEvent.propertyName !== 'value') {
4778 return;
4779 }
4780 if (getInstIfValueChanged(activeElementInst)) {
4781 manualDispatchChangeEvent(nativeEvent);
4782 }
4783}
4784
4785function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
4786 if (topLevelType === 'topFocus') {

Callers

nothing calls this directly

Calls 2

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected