Registering JSRuntime in the browser version of AvaloniaUI #16323
IVANKIRICHENKO04
started this conversation in
General
Replies: 1 comment
-
If you want an universal interop JS model that works with any .NET WASM app (including Avalonia), use JSImport and JSExport - https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/import-export-interop?view=aspnetcore-8.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to import JS methods into .Net and vice versa, at the moment I managed to run a .net method from js, there was a problem with calling a js method from .net, how to correctly register JSRuntime when compiling an application, this is what I have implemented now
Beta Was this translation helpful? Give feedback.
All reactions