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

Function handlePropertyChange

code/dependency-injection/public/app.js:4869–4876  ·  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

4867 * the value of the active element has changed.
4868 */
4869function handlePropertyChange(nativeEvent) {
4870 if (nativeEvent.propertyName !== 'value') {
4871 return;
4872 }
4873 if (getInstIfValueChanged(activeElementInst)) {
4874 manualDispatchChangeEvent(nativeEvent);
4875 }
4876}
4877
4878function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
4879 if (topLevelType === 'topFocus') {

Callers

nothing calls this directly

Calls 2

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected