How do I call renderer.GetActiveCamera() in JavaScript using VTK/WASM?

Thanks for the quick response. A related question I have involves event listeners, also in VTK/WASM. Is there a way to add an event listener on the frontend in VTK/WASM to detect when a user has zoomed in or out?

For example, in the main.js file, how would I detect when a user has zoomed in or out? What is the best way to do this in VTK/WASM?

Hopefully setting event listeners doesn’t also require recompiling the wasm JS bindings c++.