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

Function initialize

code/controlled-uncontrolled/public/app.js:2113–2117  ·  view source on GitHub ↗
(nativeEventTarget)

Source from the content-addressed store, hash-verified

2111};
2112
2113function initialize(nativeEventTarget) {
2114 compositionState._root = nativeEventTarget;
2115 compositionState._startText = getText();
2116 return true;
2117}
2118
2119function reset() {
2120 compositionState._root = null;

Callers 1

extractCompositionEventFunction · 0.70

Calls 1

getTextFunction · 0.70

Tested by

no test coverage detected