trame iframe connection #685
-
Hi, I'm trying to create a project where I run a trame app which is basically just a full screen of lidar points which works on its own. Then, I have a separate react app that embeds the trame app as an iframe. This also so far works in combination. Currently in my react app (running on localhost:3000) I do this: and then I call some api endpoint via communicator.trigger("get_user_data"); On my trame python app (running on localhost:8080): I've added the communicator and I've also exposed the trame api endpoints Sorry if I am going about this wrong, perhaps I misunderstood something in the docs I was reading (https://github.com/Kitware/trame-iframe/tree/master/js-lib). I'd appreciate any feedback, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind, I didn't realize there was a trame-react library. Fixed |
Beta Was this translation helpful? Give feedback.
Never mind, I didn't realize there was a trame-react library. Fixed