Brig: A user interface toolkit for Node.js, which is based on Qt for rendering
github.com
github.com
It actually inspired me to write my own implementation with Svelte on top of QuickJS and Qt Widgets but the task of wrapping the entire Qt6 API in Rust proved to be intractable once I found out that most methods weren't marked Q_INVOKABLE and thus couldn't be called via reflection (requiring manual wrapping). Providing a `Document.createElement` API that created Qt Widgets with working attributes and event handling worked surprisingly well though! I wonder if using GPT4 to automate the code wrapping it'd be feasible now.
Edit: was told if you want to hide an element without removing it, setting the scale to 0 could work, but it's more common to use the visibility property, setting it to "false" or "invisible".