MCPcopy Create free account
hub / github.com/microsoft/SandDance / restoreControlledState$3

Function restoreControlledState$3

docs/external/js/react-dom.development.js:6748–6762  ·  view source on GitHub ↗
(domElement, tag, props)

Source from the content-addressed store, hash-verified

6746 }
6747 }
6748 function restoreControlledState$3(domElement, tag, props) {
6749 switch (tag) {
6750 case 'input':
6751 restoreControlledState(domElement, props);
6752 return;
6753
6754 case 'textarea':
6755 restoreControlledState$2(domElement, props);
6756 return;
6757
6758 case 'select':
6759 restoreControlledState$1(domElement, props);
6760 return;
6761 }
6762 }
6763
6764 function getActiveElement(doc) {
6765 doc = doc || (typeof document !== 'undefined' ? document : undefined);

Callers

nothing calls this directly

Calls 3

restoreControlledStateFunction · 0.85
restoreControlledState$2Function · 0.85
restoreControlledState$1Function · 0.85

Tested by

no test coverage detected