Kitware / light-viz

Scientific Visualization application for tailored post-processing relying on a ParaViewWeb backend.
https://kitware.github.io/light-viz/
BSD 3-Clause "New" or "Revised" License
20 stars 7 forks source link

Get the container html element after start() #62

Closed jenikovsky closed 7 years ago

jenikovsky commented 7 years ago

Currently is tricky to hook light-viz app as a module to existing react app. The html element of class react-container must already exist in the time of loading of LightViz.js what is obviously not practical. Would it be possible to move const container = document.querySelector('.react-container'); of app.js to function start(conn) similarly to pvw Visualizer?