[Uno.Wasm.Bootstrap] Call C# methods from JS and vice-verca #8548
-
Just a quick question, I only need UNO for the I'd theoretically want to pass a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If you're using the bootstrapper directly, the only way to handle this is through Javascript evals, that is if you want to use the Javascript API. You could also try to use the native WebGL API, using P/Invokes and specifically the ability to invoke emscripten symbols. Calling back is a bit more complex, but you can do it this way. |
Beta Was this translation helpful? Give feedback.
If you're using the bootstrapper directly, the only way to handle this is through Javascript evals, that is if you want to use the Javascript API.
You could also try to use the native WebGL API, using P/Invokes and specifically the ability to invoke emscripten symbols.
Calling back is a bit more complex, but you can do it this way.