Trying to use JSImport / JSExport interop with BlazorWebView #30799
Unanswered
LyleStanton
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I am not using this feature, however CoPilot has a interested answer, stackoverflow, .NET documentation and stackoverflow (not sure if it is relevant). Does it help in anyway? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to use "newer" JSInterop in a MAUI app with BlazorWebView?
In my component class when I try to load the .js script via the JSHost.ImportAsync call, I get a warning that this function is only supported on: 'Browser'. Technically this is going to run in a browser, but it thinks I'm compiling for the Windows platform. Is there a way around this?
If I try to run the application, it will error on the ImportAsync call
Any help would be greatly apricated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions