MCPcopy Index your code
hub / github.com/unlayer/react-email-editor / onLoad

Function onLoad

demo/src/example/index.tsx:86–90  ·  view source on GitHub ↗
(unlayer)

Source from the content-addressed store, hash-verified

84 };
85
86 const onLoad: EmailEditorProps['onLoad'] = (unlayer) => {
87 console.log('onLoad', unlayer);
88 unlayer.addEventListener('design:loaded', onDesignLoad);
89 unlayer.loadDesign(sample);
90 };
91
92 const onReady: EmailEditorProps['onReady'] = (unlayer) => {
93 console.log('onReady', unlayer);

Callers 1

EmailEditorInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected