MCPcopy Create free account
hub / github.com/GrapesJS/react / setReady

Function setReady

packages/grapesjs-react/src/context/EditorOptions.tsx:58–60  ·  view source on GitHub ↗
(ready)

Source from the content-addressed store, hash-verified

56 setState(state => ({ ...state, customTraits }));
57 },
58 setReady(ready) {
59 setState(state => ({ ...state, ready }));
60 }
61 }));
62
63 return <EditorOptionsContext.Provider value={state}>{children}</EditorOptionsContext.Provider>;

Callers 2

onExampleChangeFunction · 0.85
onExampleChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected