MCPcopy Create free account
hub / github.com/microsoft/SandDance / stopWatchingForValueChange

Function stopWatchingForValueChange

docs/external/js/react-dom.development.js:9285–9293  ·  view source on GitHub ↗

* (For IE <=9) Removes the event listeners from the currently-tracked element, * if any exists.

()

Source from the content-addressed store, hash-verified

9283
9284
9285 function stopWatchingForValueChange() {
9286 if (!activeElement) {
9287 return;
9288 }
9289
9290 activeElement.detachEvent('onpropertychange', handlePropertyChange);
9291 activeElement = null;
9292 activeElementInst = null;
9293 }
9294 /**
9295 * (For IE <=9) Handles a propertychange event, sending a `change` event if
9296 * the value of the active element has changed.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected