MCPcopy Create free account
hub / github.com/reactjs/react-rails / resetTextContent

Function resetTextContent

lib/assets/react-source/development/react.js:11250–11252  ·  view source on GitHub ↗
(domElement)

Source from the content-addressed store, hash-verified

11248 updateProperties(domElement, updatePayload, type, oldProps, newProps);
11249 }
11250 function resetTextContent(domElement) {
11251 setTextContent(domElement, '');
11252 }
11253 function commitTextUpdate(textInstance, oldText, newText) {
11254 textInstance.nodeValue = newText;
11255 }

Callers 2

commitPlacementFunction · 0.85
commitResetTextContentFunction · 0.85

Calls 1

setTextContentFunction · 0.85

Tested by

no test coverage detected