Call JavaScript member functions from WebAssembly


#1

I manage to get a canvas object using document.getElementById("canvas").asCanvas, but I am planning to use webgl context. But most webgl functions are not available in the kotlinx.interop.wasm.dom package.
So I am expecting to be able to do something like jsValue.getProperty("commit").call(), but I looked through all the functions in kotlinx.wasm.jsinterop package, but there is no function that seems to do the same thing.
So how should I do this?