@mocanvas/editor · function
declare function refreshReactiveEnvironment(): voidRe-read the reactive environment from the DOM.
Exported so a host that mounts the editor into a second window — an Electron pop-out, a presentation display with a different gamut — can tell the atom to look again; the listeners below already cover the ordinary case.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.