Can Marimo embed iframe be interacted with programmatically? Is there such feature planned? #3558
Unanswered
dearlordylord
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Codesandbox' Sandpack https://github.com/codesandbox/sandpack allows to programmatically interact with their iframe (postMessage interface)
The feature is used, e.g. in LibreChat https://github.com/danny-avila/LibreChat/blob/ed57bb4711fee9ae2d7c112d92c4aa3c17456fed/client/src/components/Artifacts/ArtifactPreview.tsx#L7 to compile and render React/Node code artefacts produced by LLM.
I wonder if I could programmatically send (Marimo) code to the Marimo notebook iframe too (and ideally listen to changes)?
Beta Was this translation helpful? Give feedback.
All reactions