|
|
|
|
|
by s_m_mcguire
3409 days ago
|
|
Not first class access, but you can call arbitrary JavaScript via FFI. An approach that worked fine for me was to use a simple object which holds your DOM handles via incrementing numeric IDs and pass them back to your Rust (or C++) code. I found the FFI overhead to be non-existent compared to the actual DOM work as well. |
|
How do you know when to release those handles so the GC can clean them up?