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

Function up

packages/grapesjs-react/src/LayersProvider.tsx:40–45  ·  view source on GitHub ↗
({ container }: { container: HTMLElement })

Source from the content-addressed store, hash-verified

38 const event = Layers.events.custom;
39
40 const up = ({ container }: { container: HTMLElement }) => {
41 setPropState({
42 root: Layers.getRoot(),
43 Container: portalContainer(container)
44 });
45 };
46
47 editor.on(event, up);
48 Layers.__trgCustom({});

Callers

nothing calls this directly

Calls 1

portalContainerFunction · 0.90

Tested by

no test coverage detected