Skip to content

[Uno.Wasm.Bootstrap] Call C# methods from JS and vice-verca #8548

Answered by jeromelaban
Vawlpe asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Vawlpe
Comment options

@jeromelaban
Comment options

@Vawlpe
Comment options

@jeromelaban
Comment options

@Vawlpe
Comment options

Answer selected by Vawlpe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants