3 ms·
If I'm not mistaken, once interface types are added, the DOM can be made accessible to WASM.
by ethanhsmith 5y ago
If I'm not mistaken, once interface types are added, the DOM can be made accessible to WASM.
- flohofwoe 5y agoWASM can already access the DOM by calling out into Javascript. AFAIK interface types wouldn't change that approach much, except that the mapping between numeric ids and Javascript object references doesn't need to be handled by the JS shim anymore. So the answer to the question "Can WASM access the DOM?" is both yes and no, always has been, and probably always will be ;)