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

Function unhideInstance

lib/assets/react-source/development/react.js:11322–11327  ·  view source on GitHub ↗
(instance, props)

Source from the content-addressed store, hash-verified

11320 textInstance.nodeValue = '';
11321 }
11322 function unhideInstance(instance, props) {
11323 instance = instance;
11324 var styleProp = props[STYLE$1];
11325 var display = styleProp !== undefined && styleProp !== null && styleProp.hasOwnProperty('display') ? styleProp.display : null;
11326 instance.style.display = dangerousStyleValue('display', display);
11327 }
11328 function unhideTextInstance(textInstance, text) {
11329 textInstance.nodeValue = text;
11330 } // -------------------

Callers 1

hideOrUnhideAllChildrenFunction · 0.85

Calls 1

dangerousStyleValueFunction · 0.70

Tested by

no test coverage detected