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

Function handlePropertyChange

code/composition/public/app.js:4914–4921  ·  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

4912 * the value of the active element has changed.
4913 */
4914function handlePropertyChange(nativeEvent) {
4915 if (nativeEvent.propertyName !== 'value') {
4916 return;
4917 }
4918 if (getInstIfValueChanged(activeElementInst)) {
4919 manualDispatchChangeEvent(nativeEvent);
4920 }
4921}
4922
4923function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
4924 if (topLevelType === 'topFocus') {

Callers

nothing calls this directly

Calls 2

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected